You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
maybe I'm wrong, but I understood from chapter 6.4. Binary Type configuration in the documentation, putting set(PICO_DEFAULT_BINARY_TYPE no_flash) in my CMakeLists.txt would result in a binary that runs from flash.
But at least for me it results in a compiler error:
/home/thomas/.pico-sdk/toolchain/13_3_Rel1/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld: CMakeFiles/hello_serial.dir/home/thomas/.pico-sdk/sdk/2.1.0/src/rp2_common/pico_standard_binary_info/standard_binary_info.c.o:(.rodata.__bi_26+0x8): undefined reference to `__flash_binary_end'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
But: set(PICO_NO_FLASH 1) works, so no big problem. :)
I'm using the VSCode extension on a Fedora 41 Linux.
BR Thomas.
The text was updated successfully, but these errors were encountered:
Hi,
maybe I'm wrong, but I understood from chapter 6.4. Binary Type configuration in the documentation, putting
set(PICO_DEFAULT_BINARY_TYPE no_flash)
in my CMakeLists.txt would result in a binary that runs from flash.But at least for me it results in a compiler error:
But:
set(PICO_NO_FLASH 1)
works, so no big problem. :)I'm using the VSCode extension on a Fedora 41 Linux.
BR Thomas.
The text was updated successfully, but these errors were encountered: