simbit18 opened a new pull request, #17421:
URL: https://github.com/apache/nuttx/pull/17421
## Summary
CMake
- fix addition of HTS221 and LSM6DSL sensors
- arch/arm/src/stm32l4: Removed repeated addition of CONFIG_STM32L4_IWDG
## Impact
Impact on user: This PR fix addition HTS221 and LSM6DSL sensors with CMake
build
Impact on build: NO
Impact on hardware: NO
Impact on documentation: NO
Impact on security: NO
Impact on compatibility: NO
## Testing
Locally
```
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=nucleo-l476rg:nsh -GNinja
-- Found Python3:
C:/Users/bit/AppData/Local/Programs/Python/Python313/python.exe (found version
"3.13.3") found components: Interpreter
-- Processing includes:
D:/nuttxtmp/nuttx/boards/arm/stm32l4/nucleo-l476rg/configs/nsh/defconfig ->
D:/nuttxtmp/nuttx/build/.defconfig.processed
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Initializing NuttX
-- ENV{PROCESSOR_ARCHITECTURE} = AMD64
Select HOST_WINDOWS=y
Select WINDOWS_NATIVE=y
-- CMake: 3.31.5
-- Ninja: 1.12.1
-- Board: nucleo-l476rg
-- Config: nsh
-- Appdir: D:/nuttxtmp/apps
-- 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 (9.8s)
-- Generating done (2.1s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build
D:\nuttxtmp\nuttx>cmake --build build
[25/1158] Building C object
arch/CMakeFiles/arch.dir/arm/src/stm32l4/stm32l4_gpio.c.obj
D:/nuttxtmp/nuttx/arch/arm/src/stm32l4/stm32l4_gpio.c:46:11: note: '#pragma
message: CONFIG_STM32L4_USE_LEGACY_PINMAP will be deprecated migrate board.h
see tools/stm32_pinmap_tool.py'
46 | # pragma message "CONFIG_STM32L4_USE_LEGACY_PINMAP will be
deprecated migrate board.h see tools/stm32_pinmap_tool.py"
| ^~~~~~~
[1156/1158] Linking CXX executable nuttx
Memory region Used Size Region Size %age Used
flash: 223040 B 512 KB 42.54%
sram: 9556 B 96 KB 9.72%
[1158/1158] Generating nuttx.bin
```
--
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]