mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 18:56:10 +08:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user