boards/arm/stm32f7: fix nucleo boards break for cmake

fix nucleo-f722ze and nucleo-f746zg/pysim break for cmake
This commit is contained in:
raiden00pl 2024-10-21 19:24:09 +02:00 • committed by Xiang Xiao
parent ef56aabe19
commit 91b71867c5
2 changed files with 2 additions and 11 deletions

View file

@ -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()

View file

@ -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()