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

   ## Summary
   
   CMake added board Raspberry Pi Pico 2
   
   fix
   
   ```
   src/rp23xx_common_bringup.c: In function 'rp23xx_common_bringup':
   Error: src/rp23xx_common_bringup.c:652:9: error: implicit declaration of 
function 'rprp23xx_dev_gpio_init' [-Werror=implicit-function-declaration]
     652 |   ret = rprp23xx_dev_gpio_init();
         |         ^~~~~~~~~~~~~~~~~~~~
   ```
   
   ## Impact
   
   Impact on user: This PR adds Raspberry Pi Pico 2 board with CMake build
   
   Impact on build: This PR Implement CMake build for the Raspberry Pi RP23xx
   
   Impact on hardware: NO
   
   Impact on documentation: NO
   
   Impact on security: NO
   
   Impact on compatibility: NO
   
   ## Testing
   
   Locally (Linux, and Windows Native)
   config -> nsh, usbnsh
   
   ```
   D:\nuttxpico\nuttx>cmake -B build -DBOARD_CONFIG=raspberrypi-pico-2: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:/nuttxpico/nuttx/boards/arm/rp23xx/raspberrypi-pico-2/configs/nsh/defconfig 
-> D:/nuttxpico/nuttx/build/.defconfig.processed
   -- Skipping OOTCpp project
   -- 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
   --   Config: nsh
   --   Appdir: D:/nuttxpico/apps
   -- The C compiler identification is GNU 13.2.1
   -- The CXX compiler identification is GNU 13.2.1
   -- The ASM compiler identification is GNU
   -- Found assembler: 
D:/nx20250410/tools/gcc-arm-none-eabi/bin/arm-none-eabi-gcc.exe
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Check for working C compiler: 
D:/nx20250410/tools/gcc-arm-none-eabi/bin/arm-none-eabi-gcc.exe - skipped
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Check for working CXX compiler: 
D:/nx20250410/tools/gcc-arm-none-eabi/bin/arm-none-eabi-g++.exe - skipped
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Skipping OOTCpp project
   -- Configuring done (8.5s)
   -- Generating done (2.0s)
   -- Build files have been written to: D:/nuttxpico/nuttx/build
   
   D:\nuttxpico\nuttx>cmake --build build
   [1133/1134] Linking C executable nuttx
   
D:/nx20250410/tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/bin/ld.exe:
 warning: nuttx has a LOAD segment with RWX permissions
   Memory region         Used Size  Region Size  %age Used
              FLASH:      146944 B         4 MB      3.50%
                RAM:       13268 B       512 KB      2.53%
          SCRATCH_X:          0 GB         4 KB      0.00%
          SCRATCH_Y:          0 GB         4 KB      0.00%
   [1134/1134] Running utility command for nuttx_post_build
   ```
   
![rp23xx_nsh](https://github.com/user-attachments/assets/c290158b-12a4-4fe7-b9f4-21bf272aa464)
   
   


-- 
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