simbit18 opened a new pull request, #18144:
URL: https://github.com/apache/nuttx/pull/18144
## Summary
- added NXP S32K1 Family
- CMake added boards NXP boards:
s32k118evb, s32k144evb, s32k146evb, s32k148evb and ucans32k146
## Impact
Impact on user: This PR adds NXP s32k118evb, s32k144evb, s32k146evb,
s32k148evb and ucans32k146 boards with CMake build
Impact on build: This PR Implement CMake build for the NXP S32K1 Family
Impact on hardware: NO
Impact on documentation: NO
Impact on security: NO
Impact on compatibility: NO
## Testing
**s32k118evb**
```
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=s32k118evb:nsh -GNinja
-- Found Python3:
C:/Users/bit/AppData/Local/Programs/Python/Python313/python.exe (found version
"3.13.3") found components: Interpreter
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Initializing NuttX
Loaded configuration 'D:/nuttxtmp/nuttx/build/.config.compressed'
Minimal configuration saved to 'D:/nuttxtmp/nuttx/build/defconfig.tmp'
-- ENV{PROCESSOR_ARCHITECTURE} = AMD64
Select HOST_WINDOWS=y
Select WINDOWS_NATIVE=y
-- CMake: 3.31.5
-- Ninja: 1.12.1
-- Board: s32k118evb
-- Config: nsh
-- Appdir: D:/nuttxtmp/apps
-- Building for: Ninja
-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/mingw/mingw64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- NuttX Host Tools
-- CMake C compiler: GNU
-- CMake system name: Windows
-- CMake host system processor: AMD64
TOOLS_DIR path is "D:/nuttxtmp/nuttx"
HOST = WINDOWS NATIVE
-- Configuring done (0.8s)
-- Generating done (0.0s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build/bin_host
-- 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.5s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build
D:\nuttxtmp\nuttx>cmake --build build
[848/850] Linking C executable nuttx
Memory region Used Size Region Size %age Used
vflash: 192 B 1 KB 18.75%
pflash: 16 B 16 B 100.00%
dflash: 33532 B 261104 B 12.84%
sram: 1440 B 23 KB 6.11%
[850/850] Generating nuttx.bin
```
**s32k144evb**
```
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=s32k144evb:nsh -GNinja
-- Found Python3:
C:/Users/bit/AppData/Local/Programs/Python/Python313/python.exe (found version
"3.13.3") found components: Interpreter
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Initializing NuttX
Loaded configuration 'D:/nuttxtmp/nuttx/build/.config.compressed'
Minimal configuration saved to 'D:/nuttxtmp/nuttx/build/defconfig.tmp'
-- ENV{PROCESSOR_ARCHITECTURE} = AMD64
Select HOST_WINDOWS=y
Select WINDOWS_NATIVE=y
-- CMake: 3.31.5
-- Ninja: 1.12.1
-- Board: s32k144evb
-- Config: nsh
-- Appdir: D:/nuttxtmp/apps
-- Building for: Ninja
-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/mingw/mingw64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- NuttX Host Tools
-- CMake C compiler: GNU
-- CMake system name: Windows
-- CMake host system processor: AMD64
TOOLS_DIR path is "D:/nuttxtmp/nuttx"
HOST = WINDOWS NATIVE
-- Configuring done (0.8s)
-- Generating done (0.0s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build/bin_host
-- 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 (13.2s)
-- Generating done (2.8s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build
D:\nuttxtmp\nuttx>cmake --build build
[1129/1131] Linking CXX executable nuttx
Memory region Used Size Region Size %age Used
vflash: 652 B 1 KB 63.67%
pflash: 16 B 16 B 100.00%
dflash: 87340 B 523248 B 16.69%
sram: 6148 B 60 KB 10.01%
[1131/1131] Generating nuttx.bin
```
**s32k146evb**
```
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=s32k146evb:nsh -GNinja
-- Found Python3:
C:/Users/bit/AppData/Local/Programs/Python/Python313/python.exe (found version
"3.13.3") found components: Interpreter
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Initializing NuttX
Loaded configuration 'D:/nuttxtmp/nuttx/build/.config.compressed'
Minimal configuration saved to 'D:/nuttxtmp/nuttx/build/defconfig.tmp'
-- ENV{PROCESSOR_ARCHITECTURE} = AMD64
Select HOST_WINDOWS=y
Select WINDOWS_NATIVE=y
-- CMake: 3.31.5
-- Ninja: 1.12.1
-- Board: s32k146evb
-- Config: nsh
-- Appdir: D:/nuttxtmp/apps
-- Building for: Ninja
-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/mingw/mingw64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- NuttX Host Tools
-- CMake C compiler: GNU
-- CMake system name: Windows
-- CMake host system processor: AMD64
TOOLS_DIR path is "D:/nuttxtmp/nuttx"
HOST = WINDOWS NATIVE
-- Configuring done (1.3s)
-- Generating done (0.0s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build/bin_host
-- 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 (15.6s)
-- Generating done (2.2s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build
D:\nuttxtmp\nuttx>cmake --build build
[1132/1134] Linking CXX executable nuttx
Memory region Used Size Region Size %age Used
vflash: 652 B 1 KB 63.67%
pflash: 16 B 16 B 100.00%
dflash: 87172 B 1047536 B 8.32%
sram: 6152 B 124 KB 4.85%
[1134/1134] Generating nuttx.srec
```
**s32k148evb**
```
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=s32k148evb:nsh -GNinja
-- Found Python3:
C:/Users/bit/AppData/Local/Programs/Python/Python313/python.exe (found version
"3.13.3") found components: Interpreter
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Initializing NuttX
Loaded configuration 'D:/nuttxtmp/nuttx/build/.config.compressed'
Minimal configuration saved to 'D:/nuttxtmp/nuttx/build/defconfig.tmp'
-- ENV{PROCESSOR_ARCHITECTURE} = AMD64
Select HOST_WINDOWS=y
Select WINDOWS_NATIVE=y
-- CMake: 3.31.5
-- Ninja: 1.12.1
-- Board: s32k148evb
-- Config: nsh
-- Appdir: D:/nuttxtmp/apps
-- Building for: Ninja
-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/mingw/mingw64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- NuttX Host Tools
-- CMake C compiler: GNU
-- CMake system name: Windows
-- CMake host system processor: AMD64
TOOLS_DIR path is "D:/nuttxtmp/nuttx"
HOST = WINDOWS NATIVE
-- Configuring done (0.8s)
-- Generating done (0.0s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build/bin_host
-- 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 (13.1s)
-- Generating done (2.4s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build
D:\nuttxtmp\nuttx>cmake --build build
[1132/1134] Linking CXX executable nuttx
Memory region Used Size Region Size %age Used
vflash: 652 B 1 KB 63.67%
pflash: 16 B 16 B 100.00%
dflash: 87192 B 2096112 B 4.16%
sram: 6152 B 252 KB 2.38%
[1134/1134] Generating nuttx.bin
```
**ucans32k146**
```
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=ucans32k146:nsh -GNinja
-- Found Python3:
C:/Users/bit/AppData/Local/Programs/Python/Python313/python.exe (found version
"3.13.3") found components: Interpreter
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Initializing NuttX
Loaded configuration 'D:/nuttxtmp/nuttx/build/.config.compressed'
Minimal configuration saved to 'D:/nuttxtmp/nuttx/build/defconfig.tmp'
-- ENV{PROCESSOR_ARCHITECTURE} = AMD64
Select HOST_WINDOWS=y
Select WINDOWS_NATIVE=y
-- CMake: 3.31.5
-- Ninja: 1.12.1
-- Board: ucans32k146
-- Config: nsh
-- Appdir: D:/nuttxtmp/apps
-- Building for: Ninja
-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/mingw/mingw64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- NuttX Host Tools
-- CMake C compiler: GNU
-- CMake system name: Windows
-- CMake host system processor: AMD64
TOOLS_DIR path is "D:/nuttxtmp/nuttx"
HOST = WINDOWS NATIVE
-- Configuring done (0.9s)
-- Generating done (0.0s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build/bin_host
-- 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 (13.2s)
-- Generating done (2.4s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build
D:\nuttxtmp\nuttx>cmake --build build
[1132/1133] Linking CXX executable nuttx
Memory region Used Size Region Size %age Used
vflash: 652 B 1 KB 63.67%
pflash: 16 B 16 B 100.00%
dflash: 87172 B 1047536 B 8.32%
sram: 6152 B 124 KB 4.85%
[1133/1133] Generating nuttx.bin
```
--
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]