Skip to content

CMake: build implemented for MAX326xx Series#18524

Merged
linguini1 merged 2 commits intoapache:masterfrom
simbit18:simbit18-max326xx
Mar 10, 2026
Merged

CMake: build implemented for MAX326xx Series#18524
linguini1 merged 2 commits intoapache:masterfrom
simbit18:simbit18-max326xx

Conversation

@simbit18
Copy link
Contributor

Summary

  • added MAX326xx Series

  • CMake added max32660-evsys board

Impact

Impact on user: This PR adds max32660-evsys board with CMake build

Impact on build: This PR Implement CMake build for the MAX326xx Series

Impact on hardware: NO

Impact on documentation: NO

Impact on security: NO

Impact on compatibility: NO

Testing

max32660-evsys:nsh
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=max32660-evsys: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:  max32660-evsys
--   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
   TOOLS_DIR path is "D:/nuttxtmp/nuttx"-- CMake host system processor: AMD64

   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.7s)
-- Generating done (2.4s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build

D:\nuttxtmp\nuttx>cmake --build build
[1129/1130] Linking C executable nuttx
Memory region         Used Size  Region Size  %age Used
           flash:       86336 B       256 KB     32.93%
            sram:        7564 B        96 KB      7.69%
[1130/1130] Generating nuttx.hex

- added MAX326xx Series

Signed-off-by: simbit18 <simbit18@gmail.com>
CMake added max32660-evsys board

Signed-off-by: simbit18 <simbit18@gmail.com>
@github-actions github-actions bot added Arch: arm Issues related to ARM (32-bit) architecture Size: M The size of the change in this PR is medium Board: arm labels Mar 10, 2026
Copy link
Contributor

@linguini1 linguini1 left a comment

Choose a reason for hiding this comment

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

Great work as always!

Is there an easy way to track which boards/apps are still missing CMake support? I would be interesting in helping this effort in the near future to progress enough towards what's in #18514

@simbit18
Copy link
Contributor Author

@linguini1 Simply check where the CMakeLists.txt file is not available in the arch and boards folders.

@linguini1
Copy link
Contributor

@linguini1 Simply check where the CMakeLists.txt file is not available in the arch and boards folders.

Haha sounds good, just asked on the off-chance that you had some find command/script you were using to list all the missing spots. Thanks!

@simbit18
Copy link
Contributor Author

simbit18 commented Mar 10, 2026

@linguini1 I haven't generated a search script yet because it's very easy to see where it's missing.

Try this script. I've just tested it on msys2.
find_missing_cmakelists.sh

Only use it in the arch and boards folders, otherwise it will pull everything out.
It needs improvement because it doesn't exclude include folders and other things, but it gives you an idea of how far we are from the top!

@linguini1 linguini1 merged commit 9fcbc65 into apache:master Mar 10, 2026
44 of 72 checks passed
@simbit18 simbit18 deleted the simbit18-max326xx branch March 11, 2026 13:06
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.

4 participants