cederom commented on PR #16876:
URL: https://github.com/apache/nuttx/pull/16876#issuecomment-3208104235

   Yup, builds and works fine now on pico-sdk 2.2.0 and real hardware, built 
git master already :-)
   
   ```
   % git -C $PICO_SDK_PATH branch
   * (HEAD detached at 2.2.0)
     master
   hexagon% ./tools/configure.sh -B  raspberrypi-pico:usbnsh
     Copy files
     Select CONFIG_HOST_BSD=y
     Refreshing...
   CP: arch/dummy/Kconfig to /tmp/nuttx/nuttx/arch/dummy/dummy_kconfig
   CP: boards/dummy/Kconfig to /tmp/nuttx/nuttx/boards/dummy/dummy_kconfig
   LN: platform/board to /tmp/nuttx/nuttx-apps/platform/dummy
   LN: include/arch to arch/arm/include
   LN: include/arch/board to 
/tmp/nuttx/nuttx/boards/arm/rp2040/raspberrypi-pico/include
   LN: drivers/platform to /tmp/nuttx/nuttx/drivers/dummy
   LN: include/arch/chip to /tmp/nuttx/nuttx/arch/arm/include/rp2040
   LN: arch/arm/src/chip to /tmp/nuttx/nuttx/arch/arm/src/rp2040
   LN: arch/arm/src/board to 
/tmp/nuttx/nuttx/boards/arm/rp2040/raspberrypi-pico/../common
   LN: arch/arm/src/board/board to 
/tmp/nuttx/nuttx/boards/arm/rp2040/raspberrypi-pico/src
   mkkconfig in /tmp/nuttx/nuttx-apps/audioutils
   mkkconfig in /tmp/nuttx/nuttx-apps/benchmarks
   mkkconfig in /tmp/nuttx/nuttx-apps/boot
   mkkconfig in /tmp/nuttx/nuttx-apps/canutils
   mkkconfig in /tmp/nuttx/nuttx-apps/crypto
   mkkconfig in /tmp/nuttx/nuttx-apps/database
   mkkconfig in /tmp/nuttx/nuttx-apps/examples/mcuboot
   mkkconfig in /tmp/nuttx/nuttx-apps/examples/module
   mkkconfig in /tmp/nuttx/nuttx-apps/examples/rust
   mkkconfig in /tmp/nuttx/nuttx-apps/examples/sotest
   mkkconfig in /tmp/nuttx/nuttx-apps/examples
   mkkconfig in /tmp/nuttx/nuttx-apps/fsutils
   mkkconfig in /tmp/nuttx/nuttx-apps/games
   mkkconfig in /tmp/nuttx/nuttx-apps/graphics
   mkkconfig in /tmp/nuttx/nuttx-apps/industry
   mkkconfig in /tmp/nuttx/nuttx-apps/inertial
   mkkconfig in /tmp/nuttx/nuttx-apps/interpreters/luamodules
   mkkconfig in /tmp/nuttx/nuttx-apps/interpreters
   mkkconfig in /tmp/nuttx/nuttx-apps/logging
   mkkconfig in /tmp/nuttx/nuttx-apps/lte
   mkkconfig in /tmp/nuttx/nuttx-apps/math
   mkkconfig in /tmp/nuttx/nuttx-apps/mlearning
   mkkconfig in /tmp/nuttx/nuttx-apps/netutils
   mkkconfig in /tmp/nuttx/nuttx-apps/sdr
   mkkconfig in /tmp/nuttx/nuttx-apps/system
   mkkconfig in /tmp/nuttx/nuttx-apps/tee
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/arch
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/cxx
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/drivers
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/fs
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/libc
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/mm
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/sched
   mkkconfig in /tmp/nuttx/nuttx-apps/testing
   mkkconfig in /tmp/nuttx/nuttx-apps/videoutils
   mkkconfig in /tmp/nuttx/nuttx-apps/wireless/bluetooth
   mkkconfig in /tmp/nuttx/nuttx-apps/wireless/ieee802154
   mkkconfig in /tmp/nuttx/nuttx-apps/wireless
   mkkconfig in /tmp/nuttx/nuttx-apps
   #
   # configuration written to .config
   #
   hexagon% /usr/bin/time -h gmake -j
   Create version.h
   LN: platform/board to /tmp/nuttx/nuttx-apps/platform/dummy
   Register: hello
   Register: dd
   Register: nsh
   Register: sh
   Register: getprime
   Register: ostest
   
/usr/local/gcc-arm-embedded-14.2.rel1/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld:
 warning: rp2040_boot_stage2.elf has a LOAD segment with RWX permissions
   CPP:  
/tmp/nuttx/nuttx/boards/arm/rp2040/raspberrypi-pico/scripts/raspberrypi-pico-flash.ld->
 /tmp/nuttx/nuttx/boards/arm/rp2040/raspberrypi-pico/scripts/raspbLD: nuttx
   Memory region         Used Size  Region Size  %age Used
              flash:        156 KB         2 MB      7.62%
               sram:        8768 B       264 KB      3.24%
   Generating: nuttx.uf2
   Done.
           6,19s real              30,35s user             13,05s sys
   hexagon% picotool load nuttx.uf2
   Loading into Flash:   [==============================]  100%
   hexagon% picotool reboot
   The device was rebooted into application mode.
   hexagon% cu -l /dev/cuaU0 -s 115200
   Connected
   NuttShell (NSH) NuttX-12.10.0
   sh> uname -a
   NuttX 12.10.0 2713c5e9df Aug 20 2025 23:07:14 arm raspberrypi-pinsh>
   [EOT]
   ```
   
   Also on 2.1.0 that was required before :-)
   
   ```
   % git -C $PICO_SDK_PATH branch
   * (HEAD detached at 2.1.0)
     master
   hexagon% ./tools/configure.sh -B  raspberrypi-pico:usbnsh
     Copy files
     Select CONFIG_HOST_BSD=y
     Refreshing...
   CP: arch/dummy/Kconfig to /tmp/nuttx/nuttx/arch/dummy/dummy_kconfig
   CP: boards/dummy/Kconfig to /tmp/nuttx/nuttx/boards/dummy/dummy_kconfig
   LN: platform/board to /tmp/nuttx/nuttx-apps/platform/dummy
   LN: include/arch to arch/arm/include
   LN: include/arch/board to 
/tmp/nuttx/nuttx/boards/arm/rp2040/raspberrypi-pico/include
   LN: drivers/platform to /tmp/nuttx/nuttx/drivers/dummy
   LN: include/arch/chip to /tmp/nuttx/nuttx/arch/arm/include/rp2040
   LN: arch/arm/src/chip to /tmp/nuttx/nuttx/arch/arm/src/rp2040
   LN: arch/arm/src/board to 
/tmp/nuttx/nuttx/boards/arm/rp2040/raspberrypi-pico/../common
   LN: arch/arm/src/board/board to 
/tmp/nuttx/nuttx/boards/arm/rp2040/raspberrypi-pico/src
   mkkconfig in /tmp/nuttx/nuttx-apps/audioutils
   mkkconfig in /tmp/nuttx/nuttx-apps/benchmarks
   mkkconfig in /tmp/nuttx/nuttx-apps/boot
   mkkconfig in /tmp/nuttx/nuttx-apps/canutils
   mkkconfig in /tmp/nuttx/nuttx-apps/crypto
   mkkconfig in /tmp/nuttx/nuttx-apps/database
   mkkconfig in /tmp/nuttx/nuttx-apps/examples/mcuboot
   mkkconfig in /tmp/nuttx/nuttx-apps/examples/module
   mkkconfig in /tmp/nuttx/nuttx-apps/examples/rust
   mkkconfig in /tmp/nuttx/nuttx-apps/examples/sotest
   mkkconfig in /tmp/nuttx/nuttx-apps/examples
   mkkconfig in /tmp/nuttx/nuttx-apps/fsutils
   mkkconfig in /tmp/nuttx/nuttx-apps/games
   mkkconfig in /tmp/nuttx/nuttx-apps/graphics
   mkkconfig in /tmp/nuttx/nuttx-apps/industry
   mkkconfig in /tmp/nuttx/nuttx-apps/inertial
   mkkconfig in /tmp/nuttx/nuttx-apps/interpreters/luamodules
   mkkconfig in /tmp/nuttx/nuttx-apps/interpreters
   mkkconfig in /tmp/nuttx/nuttx-apps/logging
   mkkconfig in /tmp/nuttx/nuttx-apps/lte
   mkkconfig in /tmp/nuttx/nuttx-apps/math
   mkkconfig in /tmp/nuttx/nuttx-apps/mlearning
   mkkconfig in /tmp/nuttx/nuttx-apps/netutils
   mkkconfig in /tmp/nuttx/nuttx-apps/sdr
   mkkconfig in /tmp/nuttx/nuttx-apps/system
   mkkconfig in /tmp/nuttx/nuttx-apps/tee
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/arch
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/cxx
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/drivers
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/fs
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/libc
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/mm
   mkkconfig in /tmp/nuttx/nuttx-apps/testing/sched
   mkkconfig in /tmp/nuttx/nuttx-apps/testing
   mkkconfig in /tmp/nuttx/nuttx-apps/videoutils
   mkkconfig in /tmp/nuttx/nuttx-apps/wireless/bluetooth
   mkkconfig in /tmp/nuttx/nuttx-apps/wireless/ieee802154
   mkkconfig in /tmp/nuttx/nuttx-apps/wireless
   mkkconfig in /tmp/nuttx/nuttx-apps
   #
   # configuration written to .config
   #
   hexagon% /usr/bin/time -h gmake -j
   Create version.h
   LN: platform/board to /tmp/nuttx/nuttx-apps/platform/dummy
   Register: hello
   Register: dd
   Register: getprime
   Register: ostest
   Register: nsh
   Register: sh
   
/usr/local/gcc-arm-embedded-14.2.rel1/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld:
 warning: rp2040_boot_stage2.elf has a LOAD segment with RWX permissions
   CPP:  
/tmp/nuttx/nuttx/boards/arm/rp2040/raspberrypi-pico/scripts/raspberrypi-pico-flash.ld->
 /tmp/nuttx/nuttx/boards/arm/rp2040/raspberrypi-pico/scripts/raspbLD: nuttx
   Memory region         Used Size  Region Size  %age Used
              flash:        156 KB         2 MB      7.62%
               sram:        8768 B       264 KB      3.24%
   Generating: nuttx.uf2
   Done.
           5,65s real              29,77s user             12,82s sys
   hexagon% picotool load nuttx.uf2
   Loading into Flash:   [==============================]  100%
   hexagon% picotool reboot
   The device was rebooted into application mode.
   hexagon% cu -l /dev/cuaU0 -s 115200
   Connected
   NuttShell (NSH) NuttX-12.10.0
   nsh> uname -a
   NuttX 12.10.0 2713c5e9df Aug 20 2025 23:10:24 arm raspberrypi-pico
   nsh> ~
   [EOT]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to