simbit18 opened a new pull request, #17415:
URL: https://github.com/apache/nuttx/pull/17415
## Summary
- added NXP Kinetis MCUs
- CMake added boards NXP Freedom-KL25Z, Freedom-KL26Z and PJRC Teensy-LC
## Impact
Impact on user: This PR adds NXP Freedom-KL25Z, Freedom-KL26Z and PJRC
Teensy-LC boards with CMake build
Impact on build: This PR Implement CMake build for the NXP KL Series Arm MCUs
Impact on hardware: NO
Impact on documentation: NO
Impact on security: NO
Impact on compatibility: NO
## Testing
Locally
**freedom-kl25z**
```
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=freedom-kl25z: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/kl/freedom-kl25z/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: freedom-kl25z
-- 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
-- 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
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Configuring done (13.5s)
-- Generating done (2.1s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build
D:\nuttxtmp\nuttx>cmake --build build
[924/926] Linking C executable nuttx
Memory region Used Size Region Size %age Used
vectflash: 192 B 192 B 100.00%
cfmprotect: 16 B 16 B 100.00%
progflash: 35548 B 130032 B 27.34%
datasram: 2876 B 16 KB 17.55%
[926/926] Generating nuttx.srec
```
**freedom-kl26z**
```
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=freedom-kl26z: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/kl/freedom-kl26z/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: freedom-kl26z
-- 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
-- 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
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Configuring done (10.6s)
-- Generating done (2.1s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build
D:\nuttxtmp\nuttx>cmake --build build
[924/926] Linking C executable nuttx
Memory region Used Size Region Size %age Used
vectflash: 192 B 192 B 100.00%
cfmprotect: 16 B 16 B 100.00%
progflash: 35548 B 130032 B 27.34%
datasram: 2876 B 16 KB 17.55%
[926/926] Generating nuttx.bin
```
**teensy-lc**
```
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=teensy-lc: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/kl/teensy-lc/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-lc
-- 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
-- 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
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Configuring done (10.9s)
-- Generating done (2.3s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build
D:\nuttxtmp\nuttx>cmake --build build
[888/889] Linking CXX executable nuttx
Memory region Used Size Region Size %age Used
vectflash: 192 B 192 B 100.00%
cfmprotect: 16 B 16 B 100.00%
progflash: 32436 B 62448 B 51.94%
datasram: 2704 B 8 KB 33.01%
[889/889] 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]