boards/arm/stm32l4/nucleo-l476rg: CMake fix addition of HTS221 and LSM6DSL

- fix addition of HTS221 and LSM6DSL sensors

Signed-off-by: simbit18 <simbit18@gmail.com>
This commit is contained in:
simbit18 2025-12-02 17:04:33 +01:00 committed by Lup Yuen Lee
parent bb66e96023
commit b3caa6717f

View file

@ -20,7 +20,7 @@
#
# ##############################################################################
set(SRCS stm32_boot.c stm32_spi.c stm32_bringup.c)
set(SRCS stm32_boot.c stm32_bringup.c stm32_spi.c)
if(CONFIG_ARCH_LEDS)
list(APPEND SRCS stm32_autoleds.c)
@ -64,6 +64,10 @@ if(CONFIG_SENSORS_QENCODER)
endif()
if(CONFIG_SENSORS_HTS221)
list(APPEND SRCS stm32_hts221.c)
endif()
if(CONFIG_SENSORS_LSM6DSL)
list(APPEND SRCS stm32_lsm6dsl.c)
endif()