1 set(STM32F7_USBCORE_DIR "${MAIN_LIB_DIR}/main/STM32F7/Middlewares/ST/STM32_USB_Device_Library/Core")
2 set(STM32F7_USBCORE_SRC
7 list(TRANSFORM STM32F7_USBCORE_SRC PREPEND "${STM32F7_USBCORE_DIR}/Src/")
9 set(STM32F7_USBCDC_DIR "${MAIN_LIB_DIR}/main/STM32F7/Middlewares/ST/STM32_USB_Device_Library/Class/CDC")
10 set(STM32F7_USBCDC_SRC
13 list(TRANSFORM STM32F7_USBCDC_SRC PREPEND "${STM32F7_USBCDC_DIR}/Src/")
15 set(STM32F7_USBHID_DIR "${MAIN_LIB_DIR}/main/STM32F7/Middlewares/ST/STM32_USB_Device_Library/Class/HID")
16 set(STM32F7_USBHID_SRC
19 list(TRANSFORM STM32F7_USBHID_SRC PREPEND "${STM32F7_USBHID_DIR}/Src/")
21 set(STM32F7_USBCDCHID_DIR "${MAIN_LIB_DIR}/main/STM32F7/Middlewares/ST/STM32_USB_Device_Library/Class/CDC_HID")
22 set(STM32F7_USBCDCHID_SRC
25 list(TRANSFORM STM32F7_USBCDCHID_SRC PREPEND "${STM32F7_USBCDCHID_DIR}/Src/")
27 set(STM32F7_USBMSC_DIR "${MAIN_LIB_DIR}/main/STM32F7/Middlewares/ST/STM32_USB_Device_Library/Class/MSC")
28 set(STM32F7_USBMSC_SRC
34 list(TRANSFORM STM32F7_USBMSC_SRC PREPEND "${STM32F7_USBMSC_DIR}/Src/")
36 set(STM32F7_USB_INCLUDE_DIRS
37 "${STM32F7_USBCORE_DIR}/Inc"
38 "${STM32F7_USBCDC_DIR}/Inc"
39 "${STM32F7_USBHID_DIR}/Inc"
40 "${STM32F7_USBCDCHID_DIR}/Inc"
41 "${STM32F7_USBMSC_DIR}/Inc"
44 list(APPEND STM32F7_USB_SRC ${STM32F7_USBCORE_SRC})
45 list(APPEND STM32F7_USB_SRC ${STM32F7_USBCDC_SRC})
46 list(APPEND STM32F7_USB_SRC ${STM32F7_USBHID_SRC})
47 list(APPEND STM32F7_USB_SRC ${STM32F7_USBCDCHID_SRC})
48 list(APPEND STM32F7_USB_SRC ${STM32F7_USBMSC_SRC})