simbit18 opened a new pull request, #17329:
URL: https://github.com/apache/nuttx/pull/17329
## Summary
CMake added boards:
- NXP KWIKSTIK-K40
- PJRC Teensy 3.x
## Impact
Impact on user: This PR adds NXP KWIKSTIK-K40 and PJRC Teensy 3.x boards
with CMake build
Impact on build: NO
Impact on hardware: NO
Impact on documentation: NO
Impact on security: NO
Impact on compatibility: NO
## Testing
Locally
**Teensy 3.x**
```
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=teensy-3.x: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/arm/kinetis/teensy-3.x/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: teensy-3.x
-- Config: nsh
-- Appdir: D:/nuttxtmp/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
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Configuring done (9.0s)
-- Generating done (2.1s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build
D:\nuttxtmp\nuttx>cmake --build build
[1089/1091] Linking C executable nuttx
Memory region Used Size Region Size %age Used
vectflash: 444 B 1 KB 43.36%
cfmprotect: 16 B 16 B 100.00%
progflash: 69664 B 126 KB 53.99%
datasram: 5748 B 16 KB 35.08%
[1091/1091] Generating nuttx.bin
```
**KWIKSTIK-K40**
```
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=kwikstik-k40:ostest -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/arm/kinetis/kwikstik-k40/configs/ostest/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: kwikstik-k40
-- Config: ostest
-- Appdir: D:/nuttxtmp/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
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Configuring done (9.1s)
-- Generating done (2.4s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build
D:\nuttxtmp\nuttx>cmake --build build
[1001/1047] Building C object
boards/CMakeFiles/board.dir/arm/kinetis/kwikstik-k40/src/k40_lcd.c.obj
D:/nuttxtmp/nuttx/boards/arm/kinetis/kwikstik-k40/src/k40_lcd.c: In function
'board_lcd_initialize':
D:/nuttxtmp/nuttx/boards/arm/kinetis/kwikstik-k40/src/k40_lcd.c:57:2:
warning: #warning "Missing logic" [-Wcpp]
57 | #warning "Missing logic"
| ^~~~~~~
D:/nuttxtmp/nuttx/boards/arm/kinetis/kwikstik-k40/src/k40_lcd.c: In function
'board_lcd_getdev':
D:/nuttxtmp/nuttx/boards/arm/kinetis/kwikstik-k40/src/k40_lcd.c:73:2:
warning: #warning "Missing logic" [-Wcpp]
73 | #warning "Missing logic"
| ^~~~~~~
D:/nuttxtmp/nuttx/boards/arm/kinetis/kwikstik-k40/src/k40_lcd.c: In function
'board_lcd_uninitialize':
D:/nuttxtmp/nuttx/boards/arm/kinetis/kwikstik-k40/src/k40_lcd.c:87:2:
warning: #warning "Missing logic" [-Wcpp]
87 | #warning "Missing logic"
| ^~~~~~~
[1046/1047] Linking C executable nuttx
Memory region Used Size Region Size %age Used
vectflash: 444 B 1 KB 43.36%
cfmprotect: 16 B 16 B 100.00%
progflash: 92196 B 254 KB 35.45%
datasram: 7460 B 64 KB 11.38%
[1047/1047] Generating nuttx.hex
```
--
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]