This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 4bfdfcbce8052d496d6bf9e0f2c3176d62a8578c
Author: simbit18 <[email protected]>
AuthorDate: Wed Mar 11 14:43:19 2026 +0100

    boards/arm/lpc54xx: CMake added LPCXpresso54628 board
    
     - CMake added LPCXpresso54628 board
    
    Signed-off-by: simbit18 <[email protected]>
---
 .../arm/lpc54xx/lpcxpresso-lpc54628/CMakeLists.txt | 23 +++++++++
 .../lpc54xx/lpcxpresso-lpc54628/src/CMakeLists.txt | 57 ++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/boards/arm/lpc54xx/lpcxpresso-lpc54628/CMakeLists.txt 
b/boards/arm/lpc54xx/lpcxpresso-lpc54628/CMakeLists.txt
new file mode 100644
index 00000000000..f5828af63b5
--- /dev/null
+++ b/boards/arm/lpc54xx/lpcxpresso-lpc54628/CMakeLists.txt
@@ -0,0 +1,23 @@
+# 
##############################################################################
+# boards/arm/lpc54xx/lpcxpresso-lpc54628/CMakeLists.txt
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more 
contributor
+# license agreements.  See the NOTICE file distributed with this work for
+# additional information regarding copyright ownership.  The ASF licenses this
+# file to you under the Apache License, Version 2.0 (the "License"); you may 
not
+# use this file except in compliance with the License.  You may obtain a copy 
of
+# the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations under
+# the License.
+#
+# 
##############################################################################
+
+add_subdirectory(src)
diff --git a/boards/arm/lpc54xx/lpcxpresso-lpc54628/src/CMakeLists.txt 
b/boards/arm/lpc54xx/lpcxpresso-lpc54628/src/CMakeLists.txt
new file mode 100644
index 00000000000..b932a0b0930
--- /dev/null
+++ b/boards/arm/lpc54xx/lpcxpresso-lpc54628/src/CMakeLists.txt
@@ -0,0 +1,57 @@
+# 
##############################################################################
+# boards/arm/lpc54xx/lpcxpresso-lpc54628/src/CMakeLists.txt
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more 
contributor
+# license agreements.  See the NOTICE file distributed with this work for
+# additional information regarding copyright ownership.  The ASF licenses this
+# file to you under the Apache License, Version 2.0 (the "License"); you may 
not
+# use this file except in compliance with the License.  You may obtain a copy 
of
+# the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations under
+# the License.
+#
+# 
##############################################################################
+
+set(SRCS lpc54_boot.c lpc54_bringup.c lpc54_userleds.c lpc54_lcd.c)
+
+if(CONFIG_ARCH_LEDS)
+  list(APPEND SRCS lpc54_autoleds.c)
+endif()
+
+if(CONFIG_ARCH_BUTTONS)
+  list(APPEND SRCS lpc54_buttons.c)
+endif()
+
+if(CONFIG_BOARDCTL)
+  list(APPEND SRCS lpc54_appinit.c)
+endif()
+
+if(CONFIG_LPC54_HAVE_I2C_MASTER)
+  list(APPEND SRCS lpc54_i2c.c)
+endif()
+
+if(CONFIG_SYSTEM_I2CTOOL)
+  list(APPEND SRCS lpc54_i2ctool.c)
+endif()
+
+if(CONFIG_INPUT_FT5X06)
+  list(APPEND SRCS lpc54_ft5x06.c)
+endif()
+
+if(CONFIG_LPC54_EMC)
+  if(CONFIG_LPC54_EMC_DYNAMIC)
+    list(APPEND SRCS lpc54_sdram.c)
+  endif()
+endif()
+
+target_sources(board PRIVATE ${SRCS})
+
+set_property(GLOBAL PROPERTY LD_SCRIPT "${NUTTX_BOARD_DIR}/scripts/flash.ld")

Reply via email to