Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

General • Re: How to make a universal firmware for all boards (LED issue)

$
0
0
Can anyone remember the incantation to exclude Binary Info from the build and UF2 ? I can't find it in the C/C++ SDK PDF.

Or how to remove the Binary Info Board Name, or set it to something other than what board the build is building for, what 'PICO_BOARD' is set to.

The C/C++ SDK PDF mentions ''PICO_NO_TARGET_NAME' but that's either something different or it doesn't work. I'm not clear what Target Name is. It's not in the Binary Info I'm seeing and I can see no SDK cmake function to set it -

Code:

Binary Information  20000124 : IDSTR 'RP' 5360B3AB [<-SDKVER] [20006C38->] "2.2.0"  20000130 : IDSTR 'RP' 02031C86 [<-PRGNAM] [20006C48->] "<-- PROGRAM NAME HERE -->"  2000013C : IDSTR 'RP' 9DA22254 [<-BLDDAT] [20006C64->] "Aug  4 2025"  20006C70 : IDSTR 'RP' 4275F0D3 [<-ATTRIB] [20006C0C->] "Release"  20006C7C : IDSTR 'RP' B6A07C19 [<-PRGDSC] [20006C14->] "<-- PROGRAM DESCRIPTION HERE -->"  20006C88 : IDSTR 'RP' B63CFFBB [<-PICOBD] [20006C40->] "pico2_w"  20006E04 : IDSTR 'RP' A1F4B453 [<-FEATUR] [20006DF0->] "USB stdin / stdout"
Having the 'PICOBD' item variable length is a PITA when checking UF2 are the same for various boards and I would rather not have to deal with that at the moment.
[/code]

Statistics: Posted by hippy — Mon Aug 04, 2025 6:32 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles