simbit18 opened a new pull request, #17155:
URL: https://github.com/apache/nuttx/pull/17155
## Summary
- Added CMake build for Pimoroni Pico Plus 2
- fix 'BOARD_HSTX_FREQ' undeclared
```
-c D:/nuttxpico/nuttx/arch/arm/src/rp23xx/rp23xx_clock.c
D:/nuttxpico/nuttx/arch/arm/src/rp23xx/rp23xx_clock.c: In function
'clocks_init':
D:/nuttxpico/nuttx/arch/arm/src/rp23xx/rp23xx_clock.c:297:26: error:
'BOARD_HSTX_FREQ' undeclared (first use in this function); did you mean
'BOARD_SYS_FREQ'?
297 | BOARD_HSTX_FREQ);
| ^~~~~~~~~~~~~~~
| BOARD_SYS_FREQ
```
## Impact
Impact on user: This PR adds the Pimoroni Pico Plus 2 board with CMake build.
Impact on build: NO
Impact on hardware: NO
Impact on documentation: NO
Impact on security: NO
Impact on compatibility: NO
## Testing
pimoroni-pico-2-plus:nsh
D:\nuttxpico\nuttx>cmake -B build -DBOARD_CONFIG=pimoroni-pico-2-plus: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/pimoroni-pico-2-plus/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: pimoroni-pico-2-plus
-- 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.3s)
-- Generating done (1.9s)
-- 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 16 MB 0.88%
RAM: 512 KB 512 KB 100.00%
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
--
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]