Skip to content

CMake: build implemented for Microchip's SAM D5x/E5x Family#18411

Merged
acassis merged 2 commits intoapache:masterfrom
simbit18:simbit18-samd5e5
Feb 19, 2026
Merged

CMake: build implemented for Microchip's SAM D5x/E5x Family#18411
acassis merged 2 commits intoapache:masterfrom
simbit18:simbit18-samd5e5

Conversation

@simbit18
Copy link
Contributor

@simbit18 simbit18 commented Feb 19, 2026

Summary

  • added Microchip's SAM D5x/E5x Family

  • CMake added Microchip's boards:

    metro-m4
    same54-xplained-pro

Impact

Impact on user: This PR adds Microchip's
metro-m4 and same54-xplained-pro boards with CMake build

Impact on build: This PR Implement CMake build for the Microchip's SAM D5x/E5x Family

Impact on hardware: NO

Impact on documentation: NO

Impact on security: NO

Impact on compatibility: NO

Testing

metro-m4:nsh

D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=metro-m4: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:  metro-m4
--   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
[1109/1110] Linking CXX executable nuttx
Memory region         Used Size  Region Size  %age Used
           flash:       69132 B       512 KB     13.19%
            sram:        5632 B       192 KB      2.86%
[1110/1110] Generating nuttx.bin
same54-xplained-pro:nsh
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=same54-xplained-pro: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:  same54-xplained-pro
--   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.4s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build

D:\nuttxtmp\nuttx>cmake --build build
[1109/1110] Linking CXX executable nuttx
Memory region         Used Size  Region Size  %age Used
           flash:       69376 B         1 MB      6.62%
            sram:        6288 B       256 KB      2.40%
[1110/1110] Generating nuttx.bin

…/E5x Family

- added Microchip's SAM D5x/E5x Family

Signed-off-by: simbit18 <simbit18@gmail.com>
CMake added boards:

 - metro-m4

 - same54-xplained-pro

Signed-off-by: simbit18 <simbit18@gmail.com>
@simbit18 simbit18 requested a review from raiden00pl as a code owner February 19, 2026 14:23
@github-actions github-actions bot added Area: Build system Arch: arm Issues related to ARM (32-bit) architecture Size: M The size of the change in this PR is medium Board: arm labels Feb 19, 2026
Copy link
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @simbit18 :-)

@acassis acassis merged commit 11cd472 into apache:master Feb 19, 2026
40 checks passed
@simbit18 simbit18 deleted the simbit18-samd5e5 branch February 19, 2026 23:10
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 Area: Build system 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.

6 participants