This is an automated email from the ASF dual-hosted git repository.
acassis 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 34f52384d87 boards/arm/stm32f0l0g0: CMake fix build
b-l072z-lrwan1:nxlines_oled
34f52384d87 is described below
commit 34f52384d870a8ded11e611441c615992f7d57cf
Author: simbit18 <[email protected]>
AuthorDate: Thu Feb 19 16:45:19 2026 +0100
boards/arm/stm32f0l0g0: CMake fix build b-l072z-lrwan1:nxlines_oled
fix b-l072z-lrwan1:nxlines_oled
b-l072z-lrwan1/src/stm32_lcd_ssd1306.c:38:10: fatal error: stm32_ssd1306.h:
No such file or directory
38 | #include "stm32_ssd1306.h"
| ^~~~~~~~~~~~~~~~~
Signed-off-by: simbit18 <[email protected]>
---
boards/arm/stm32f0l0g0/common/CMakeLists.txt | 24 +++++++++++++++++++
boards/arm/stm32f0l0g0/common/src/CMakeLists.txt | 30 ++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/boards/arm/stm32f0l0g0/common/CMakeLists.txt
b/boards/arm/stm32f0l0g0/common/CMakeLists.txt
new file mode 100644
index 00000000000..4741419517f
--- /dev/null
+++ b/boards/arm/stm32f0l0g0/common/CMakeLists.txt
@@ -0,0 +1,24 @@
+#
##############################################################################
+# boards/arm/stm32f0l0g0/common/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)
+target_include_directories(board PRIVATE include)
diff --git a/boards/arm/stm32f0l0g0/common/src/CMakeLists.txt
b/boards/arm/stm32f0l0g0/common/src/CMakeLists.txt
new file mode 100644
index 00000000000..20eea72417b
--- /dev/null
+++ b/boards/arm/stm32f0l0g0/common/src/CMakeLists.txt
@@ -0,0 +1,30 @@
+#
##############################################################################
+# boards/arm/stm32f0l0g0/common/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.
+#
+#
##############################################################################
+
+if(CONFIG_ARCH_BOARD_COMMON)
+
+ if(CONFIG_LCD_SSD1306)
+ list(APPEND SRCS stm32_ssd1306.c)
+ endif()
+
+endif()
+target_sources(board PRIVATE ${SRCS})