This is an automated email from the ASF dual-hosted git repository.

linguini pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 1fb533611d541d81d66c24f81a1b7e7d9ce3b4fd
Author: simbit18 <[email protected]>
AuthorDate: Fri Sep 26 14:42:36 2025 +0200

    arch/arm/src/rp2040/boot2: Improvements rp2040_boot_stage2.cmake
    
    Improvements in the linker file search
    
    Signed-off-by: simbit18 <[email protected]>
---
 arch/arm/src/rp2040/boot2/rp2040_boot_stage2.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/rp2040/boot2/rp2040_boot_stage2.cmake 
b/arch/arm/src/rp2040/boot2/rp2040_boot_stage2.cmake
index 5f18d1ae612..f7bf8d34d6c 100644
--- a/arch/arm/src/rp2040/boot2/rp2040_boot_stage2.cmake
+++ b/arch/arm/src/rp2040/boot2/rp2040_boot_stage2.cmake
@@ -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)
 

Reply via email to