Skip to content

CMake: build implemented for NXP S32K3 Family#18364

Merged
acassis merged 2 commits intoapache:masterfrom
simbit18:simbit18-s32k3xx
Feb 6, 2026
Merged

CMake: build implemented for NXP S32K3 Family#18364
acassis merged 2 commits intoapache:masterfrom
simbit18:simbit18-s32k3xx

Conversation

@simbit18
Copy link
Contributor

@simbit18 simbit18 commented Feb 6, 2026

Summary

  • added NXP S32K3 Family

  • CMake added boards NXP boards:
    mr-canhubk3 and s32k344evb

Impact

Impact on user: This PR adds NXP mr-canhubk3 and s32k344evb boards with CMake build

Impact on build: This PR Implement CMake build for the NXP S32K3 Family

Impact on hardware: NO

Impact on documentation: NO

Impact on security: NO

Impact on compatibility: NO

Testing

s32k344evb:nsh
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=s32k344evb: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:  s32k344evb
--   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.7s)
-- 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 (11.9s)
-- Generating done (2.1s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build

D:\nuttxtmp\nuttx>cmake --build build
[1142/1144] Linking CXX executable nuttx
Memory region         Used Size  Region Size  %age Used
     BOOT_HEADER:         256 B         4 KB      6.25%
           flash:       87228 B    3997695 B      2.18%
     sram0_stdby:          0 GB        32 KB      0.00%
            sram:        6848 B       272 KB      2.46%
            itcm:          0 GB        64 KB      0.00%
            dtcm:          0 GB       128 KB      0.00%
[1144/1144] Generating nuttx.bin
mr-canhubk3:nsh
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=mr-canhubk3: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:  mr-canhubk3
--   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.1s)
-- 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 (14.2s)
-- Generating done (2.2s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build

D:\nuttxtmp\nuttx>cmake --build build
[1148/1149] Linking CXX executable nuttx
Memory region         Used Size  Region Size  %age Used
     BOOT_HEADER:         256 B         4 KB      6.25%
           flash:       90352 B    3997695 B      2.26%
     sram0_stdby:          0 GB        32 KB      0.00%
            sram:        6888 B       272 KB      2.47%
            itcm:          0 GB        64 KB      0.00%
            dtcm:          0 GB       128 KB      0.00%
[1149/1149] Generating nuttx.bin

- added NXP S32K3 Family

Signed-off-by: simbit18 <simbit18@gmail.com>
@simbit18 simbit18 requested a review from raiden00pl as a code owner February 6, 2026 15:21
@github-actions github-actions bot added Arch: arm Issues related to ARM (32-bit) architecture Board: arm Size: M The size of the change in this PR is medium labels Feb 6, 2026
CMake added boards:

  - mr-canhubk3

 -  s32k344evb

Signed-off-by: simbit18 <simbit18@gmail.com>
@acassis acassis merged commit 99db09d into apache:master Feb 6, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture Board: arm Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants