simbit18 opened a new pull request, #17226:
URL: https://github.com/apache/nuttx/pull/17226

   ## Summary
   
   - CMake added board Raspberry Pi Pico 2 RISC-V
    
   
   ## Impact
   
   Impact on user: This PR adds Raspberry Pi Pico 2 board (RISC-V) with CMake 
build
   
   Impact on build: This PR Implement CMake build for the Raspberry Pi RP23XX 
RISC-V
   
   Impact on hardware: NO
   
   Impact on documentation: NO
   
   Impact on security: NO
   
   Impact on compatibility: NO
   
   ## Testing
   
   Locally 
   config -> nsh
   
   
   ```
   D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=raspberrypi-pico-2-rv:nsh 
-GNinja
   -- Found Python3: 
C:/Users/bit/AppData/Local/Programs/Python/Python313/python.exe (found version 
"3.13.3") found components: Interpreter
   -- Processing includes: 
D:/nuttxtmp/nuttx/boards/risc-v/rp23xx-rv/raspberrypi-pico-2-rv/configs/nsh/defconfig
 -> D:/nuttxtmp/nuttx/build/.defconfig.processed
   -- nuttx_add_subdirectory: Skipping cxx-oot-build
   -- Initializing NuttX
   --   ENV{PROCESSOR_ARCHITECTURE} = AMD64
     Select HOST_WINDOWS=y
     Select WINDOWS_NATIVE=y
   --   CMake:  3.31.5
   --   Ninja:  1.12.1
   --   Board:  raspberrypi-pico-2-rv
   --   Config: nsh
   --   Appdir: D:/nuttxtmp/apps
   -- The C compiler identification is GNU 14.2.0
   -- The CXX compiler identification is GNU 14.2.0
   -- The ASM compiler identification is GNU
   -- Found assembler: 
D:/nx20250410/tools/riscv-none-elf-gcc/bin/riscv-none-elf-gcc.exe
   -- nuttx_add_subdirectory: Skipping cxx-oot-build
   -- Configuring done (7.8s)
   -- Generating done (2.2s)
   -- Build files have been written to: D:/nuttxtmp/nuttx/build
   
   D:\nuttxtmp\nuttx>cmake --build build
   [1121/1122] Linking C executable nuttx
   
D:/nx20250410/tools/riscv-none-elf-gcc/bin/../lib/gcc/riscv-none-elf/14.2.0/../../../../riscv-none-elf/bin/ld.exe:
 warning: nuttx has a LOAD segment with RWX permissions
   [1122/1122] Running utility command for nuttx_post_build
   ```
   
   
   ```
   nsh> uname -a
   NuttX 0.0.0 d8f7c28f-dirty Oct 22 2025 12:32:37 risc-v raspberrypi-pico-2-rv
   nsh> help
   help usage:  help [-v] [<cmd>]
   
       .           cp          exit        ls          reboot      truncate
       [           cmp         expr        mkdir       rm          uname
       ?           dirname     false       mkrd        rmdir       umount
       alias       date        fdinfo      mount       set         unset
       unalias     df          free        mv          sleep       uptime
       basename    dmesg       help        pidof       source      usleep
       break       echo        hexdump     printf      test        watch
       cat         env         kill        ps          time        xd
       cd          exec        pkill       pwd         true        wait
   
   Builtin Apps:
       dd          nsh         sh          ostest      getprime    hello
   nsh> free
         total       used       free    maxused    maxfree  nused  nfree name
        514956       9148     505808      47408     486736     27      3 Umem
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to