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

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

commit 093f4d368874a19f2be0ce42ffa1224235decf2f
Author: Niccolò Maggioni <nicco.maggi...@gmail.com>
AuthorDate: Wed Aug 20 13:19:05 2025 +0200

    arch/arm/rp2040: Update include paths for pico-sdk 2.2.0
    
    Version 2.2.0 of the SDK unified some headers under a new path.
    Now both the old and the new paths are searched during compilation.
    
    Signed-off-by: Niccolò Maggioni <nicco.maggioni+nu...@gmail.com>
---
 arch/arm/src/rp2040/boot2/Make.defs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/src/rp2040/boot2/Make.defs 
b/arch/arm/src/rp2040/boot2/Make.defs
index 9787cf8901e..2e37d119ebd 100644
--- a/arch/arm/src/rp2040/boot2/Make.defs
+++ b/arch/arm/src/rp2040/boot2/Make.defs
@@ -39,7 +39,8 @@ BOOT2CFLAGS += 
-I$(PICO_SDK_PATH)/src/rp2040/hardware_regs/include
 BOOT2CFLAGS += -I$(PICO_SDK_PATH)/src/rp2_common/hardware_base/include
 BOOT2CFLAGS += -I$(PICO_SDK_PATH)/src/common/pico_base_headers/include
 BOOT2CFLAGS += -I$(PICO_SDK_PATH)/src/boards/include
-BOOT2CFLAGS += -I$(PICO_SDK_PATH)/src/rp2040/pico_platform/include
+BOOT2CFLAGS += -I$(PICO_SDK_PATH)/src/rp2040/pico_platform/include             
                        # pico-sdk <2.2.0
+BOOT2CFLAGS += -I$(PICO_SDK_PATH)/src/rp2_common/pico_platform_common/include  
        # pico-sdk >=2.2.0
 BOOT2CFLAGS += -I$(PICO_SDK_PATH)/src/rp2_common/pico_platform_compiler/include
 BOOT2CFLAGS += -I$(PICO_SDK_PATH)/src/rp2_common/pico_platform_sections/include
 BOOT2CFLAGS += -I$(PICO_SDK_PATH)/src/rp2_common/pico_platform_panic/include

Reply via email to