mirror of
https://github.com/apache/nuttx.git
synced 2026-10-14 01:30:14 +00:00
boards/arm/stm32f7: fix nucleo boards break for cmake
fix nucleo-f722ze and nucleo-f746zg/pysim break for cmake
This commit is contained in:
parent
ef56aabe19
commit
91b71867c5
2 changed files with 2 additions and 11 deletions
|
|
@ -34,10 +34,10 @@ endif()
|
|||
|
||||
if(CONFIG_STM32F7_CAN)
|
||||
if(CONFIG_STM32F7_CAN_CHARDRIVER)
|
||||
list(APPEND SRCS stm32_can.c)
|
||||
list(APPEND SRCS stm32_can_setup.c)
|
||||
endif()
|
||||
if(CONFIG_STM32F7_CAN_SOCKET)
|
||||
list(APPEND SRCS stm32_cansock.c)
|
||||
list(APPEND SRCS stm32_cansock_setup.c)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
|
|||
|
|
@ -66,15 +66,6 @@ if(CONFIG_SENSORS_QENCODER)
|
|||
list(APPEND SRCS stm32_qencoder.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_STM32F7_CAN)
|
||||
if(CONFIG_STM32F7_CAN_CHARDRIVER)
|
||||
list(APPEND SRCS stm32_can.c)
|
||||
endif()
|
||||
if(CONFIG_STM32F7_CAN_SOCKET)
|
||||
list(APPEND SRCS stm32_cansock.c)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CONFIG_USBDEV_COMPOSITE)
|
||||
list(APPEND SRCS stm32_composite.c)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue