You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
346 B

  1. set(STM32_USBFS_DIR "${MAIN_LIB_DIR}/main/STM32_USB-FS-Device_Driver")
  2. set(STM32_USBFS_SRC
  3. usb_core.c
  4. usb_init.c
  5. usb_int.c
  6. usb_mem.c
  7. usb_regs.c
  8. usb_sil.c
  9. )
  10. list(TRANSFORM STM32_USBFS_SRC PREPEND "${STM32_USBFS_DIR}/src/")
  11. set(STM32F3_USB_INCLUDE_DIRS
  12. ${STM32_USBFS_DIR}/inc
  13. )
  14. set(STM32F3_USB_SRC ${STM32_USBFS_SRC})