arch/arm/src/rp2040/boot2: Improvements rp2040_boot_stage2.cmake

Improvements in the linker file search

Signed-off-by: simbit18 <simbit18@gmail.com>
This commit is contained in:
simbit18
2025-09-26 14:42:36 +02:00
committed by Matteo Golin
parent 0a5336a9f1
commit 1fb533611d
@@ -36,7 +36,7 @@ function(pico_define_boot_stage2 NAME path_chip)
set(BOOT2SRC "${PICO_BOOT_STAGE2_DIR}/boot2_${CONFIG_RP2040_FLASH_CHIP}.S")
set(BOOT2CFLAGSLIST
"-T${NUTTX_BOARD_DIR}/scripts/raspberrypi-pico-flash.ld"
"-T${NUTTX_BOARD_DIR}/scripts/${NUTTX_BOARD}-flash.ld"
-DPICO_BOARD=\"pico\" -DPICO_BUILD=1 -DPICO_NO_HARDWARE=0
-DPICO_ON_DEVICE=1)