Skip to content

CMake: build implemented for NXP LPC54000 Series#18528

Merged
xiaoxiang781216 merged 2 commits intoapache:masterfrom
simbit18:simbit18-lpc54xx
Mar 11, 2026
Merged

CMake: build implemented for NXP LPC54000 Series#18528
xiaoxiang781216 merged 2 commits intoapache:masterfrom
simbit18:simbit18-lpc54xx

Conversation

@simbit18
Copy link
Contributor

Summary

  • added NXP LPC54000 Series

  • CMake added LPCXpresso54628 board

Impact

Impact on user: This PR adds LPCXpresso54628 board with CMake build

Impact on build: This PR Implement CMake build for the NXP LPC54000 Series

Impact on hardware: NO

Impact on documentation: NO

Impact on security: NO

Impact on compatibility: NO

Testing

lpcxpresso-lpc54628:nsh

D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=lpcxpresso-lpc54628: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:  lpcxpresso-lpc54628
--   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 (16.4s)
-- Generating done (3.5s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build

D:\nuttxtmp\nuttx>cmake --build build
[1104/1176] Building C object boards/CMakeFiles/board.dir/arm/lpc54xx/lpcxpresso-lpc54628/src/lpc54_lcd.c.o
In file included from D:/nuttxtmp/nuttx/boards/arm/lpc54xx/lpcxpresso-lpc54628/src/lpc54_lcd.c:32:
D:/nuttxtmp/nuttx/arch/arm/src/lpc54xx/lpc54_lcd.h:92:6: warning: #warning "Assuming 24 BPP" [-Wcpp]
   92 | #    warning "Assuming 24 BPP"
      |      ^~~~~~~
[1175/1176] Linking C executable nuttx
Memory region         Used Size  Region Size  %age Used
         progmem:      121104 B       512 KB     23.10%
         datamem:        7660 B       160 KB      4.68%
[1176/1176] Generating nuttx.bin

 - CMake added LPCXpresso54628 board

Signed-off-by: simbit18 <simbit18@gmail.com>
- added NXP LPC54000 Series

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 11, 2026
@xiaoxiang781216 xiaoxiang781216 merged commit 3bea64d into apache:master Mar 11, 2026
25 checks passed
@simbit18 simbit18 deleted the simbit18-lpc54xx branch March 12, 2026 09:59
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