simbit18 opened a new pull request, #18413:
URL: https://github.com/apache/nuttx/pull/18413
## Summary
- CMake fix build for 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"
| ^~~~~~~~~~~~~~~~~
```
## Impact
Impact on user: NO
Impact on build: This PR fix build for b-l072z-lrwan1:nxlines_oled
Impact on hardware: NO
Impact on documentation: NO
Impact on security: NO
Impact on compatibility: NO
## Testing
<details>
<summary>b-l072z-lrwan1:nxlines_oled</summary>
```
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=b-l072z-lrwan1:nxlines_oled
-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: b-l072z-lrwan1
-- Config: nxlines_oled
-- 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 (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
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler:
D:/nx20250410/tools/gcc-arm-none-eabi/bin/arm-none-eabi-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler:
D:/nx20250410/tools/gcc-arm-none-eabi/bin/arm-none-eabi-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Configuring done (13.6s)
-- Generating done (2.4s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build
D:\nuttxtmp\nuttx>cmake --build build
[35/1297] Building C object
arch/CMakeFiles/arch.dir/arm/src/stm32f0l0g0/stm32_i2c.c.o
D:/nuttxtmp/nuttx/arch/arm/src/stm32f0l0g0/stm32_i2c.c:255:2: warning:
#warning TODO: check I2C clock source and clock frequency. It must be HSI!
[-Wcpp]
255 | #warning TODO: check I2C clock source and clock frequency. It must
be HSI!
| ^~~~~~~
[1295/1297] Linking C executable nuttx
Memory region Used Size Region Size %age Used
flash: 92648 B 192 KB 47.12%
sram: 6688 B 20 KB 32.66%
[1297/1297] Generating nuttx.bin
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]