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


The following commit(s) were added to refs/heads/master by this push:
     new 732d811ea9 added cmakelists to tm4c123g-launchpad
732d811ea9 is described below

commit 732d811ea9b88c4935a87b116778b95a9397eb27
Author: Angelo Rison K <135008239+roskut...@users.noreply.github.com>
AuthorDate: Mon Apr 14 13:15:53 2025 +0000

    added cmakelists to tm4c123g-launchpad
---
 boards/arm/tiva/tm4c123g-launchpad/CMakeLists.txt  | 23 ++++++++
 .../arm/tiva/tm4c123g-launchpad/src/CMakeLists.txt | 64 ++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/boards/arm/tiva/tm4c123g-launchpad/CMakeLists.txt 
b/boards/arm/tiva/tm4c123g-launchpad/CMakeLists.txt
new file mode 100644
index 0000000000..222f426707
--- /dev/null
+++ b/boards/arm/tiva/tm4c123g-launchpad/CMakeLists.txt
@@ -0,0 +1,23 @@
+# 
##############################################################################
+# boards/arm/tiva/tm4c123g-launchpad/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/tiva/tm4c123g-launchpad/src/CMakeLists.txt 
b/boards/arm/tiva/tm4c123g-launchpad/src/CMakeLists.txt
new file mode 100644
index 0000000000..c2ec0e12ba
--- /dev/null
+++ b/boards/arm/tiva/tm4c123g-launchpad/src/CMakeLists.txt
@@ -0,0 +1,64 @@
+# 
##############################################################################
+# boards/arm/tiva/tm4c123g-launchpad/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 tm4c_boot.c tm4c_bringup.c)
+
+if(CONFIG_ARCH_LEDS)
+  list(APPEND SRCS tm4c_autoleds.c)
+else()
+  list(APPEND SRCS tm4c_userleds.c)
+endif()
+
+if(CONFIG_ARCH_BUTTONS)
+  list(APPEND SRCS tm4c_buttons.c)
+endif()
+
+if(CONFIG_BOARDCTL)
+  list(APPEND SRCS tm4c_appinit.c)
+endif()
+
+if(CONFIG_TIVA_ADC)
+  list(APPEND SRCS tm4c_adc.c)
+endif()
+
+if(CONFIG_TIVA_AT24)
+  list(APPEND SRCS tm4c_at24.c)
+endif()
+
+if(CONFIG_TIVA_CAN)
+  list(APPEND SRCS tm4c_can.c)
+  if(CONFIG_TIVA_MCP2515)
+    list(APPEND SRCS tm4c_mcp2515.c)
+  endif()
+endif()
+
+if(CONFIG_TIVA_SSI)
+  list(APPEND SRCS tm4c_ssi.c)
+endif()
+
+if(CONFIG_TIVA_TIMER)
+  list(APPEND SRCS tm4c_timer.c)
+endif()
+
+target_sources(board PRIVATE ${SRCS})
+
+set_property(GLOBAL PROPERTY LD_SCRIPT "${NUTTX_BOARD_DIR}/scripts/ld.script")

Reply via email to