mirror of
https://github.com/apache/nuttx.git
synced 2026-09-14 06:30:31 +00:00
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:
parent
bb66e96023
commit
b3caa6717f
1 changed files with 5 additions and 1 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue