# THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. # BASED ON c:\Users\User\Documents\Git\HW_Ont_sem5 function(add_st_target_properties TARGET_NAME) target_compile_definitions( ${TARGET_NAME} PRIVATE "$<$,$>:DEBUG>" "$<$,$>:DEBUG>" "$<$,$>:USE_HAL_DRIVER>" "$<$,$>:STM32F407xx>" "$<$>,$>:USE_HAL_DRIVER>" "$<$>,$>:STM32F407xx>" ) target_include_directories( ${TARGET_NAME} PRIVATE "$<$,$>:${PROJECT_SOURCE_DIR}/USB_HOST\\App>" "$<$,$>:${PROJECT_SOURCE_DIR}/USB_HOST\\Target>" "$<$,$>:${PROJECT_SOURCE_DIR}/Core\\Inc>" "$<$,$>:${PROJECT_SOURCE_DIR}/Drivers\\STM32F4xx_HAL_Driver\\Inc>" "$<$,$>:${PROJECT_SOURCE_DIR}/Drivers\\STM32F4xx_HAL_Driver\\Inc\\Legacy>" "$<$,$>:${PROJECT_SOURCE_DIR}/Middlewares\\ST\\STM32_USB_Host_Library\\Core\\Inc>" "$<$,$>:${PROJECT_SOURCE_DIR}/Middlewares\\ST\\STM32_USB_Host_Library\\Class\\CDC\\Inc>" "$<$,$>:${PROJECT_SOURCE_DIR}/Drivers\\CMSIS\\Device\\ST\\STM32F4xx\\Include>" "$<$,$>:${PROJECT_SOURCE_DIR}/Drivers\\CMSIS\\Include>" "$<$>,$>:${PROJECT_SOURCE_DIR}/USB_HOST\\App>" "$<$>,$>:${PROJECT_SOURCE_DIR}/USB_HOST\\Target>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Core\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Drivers\\STM32F4xx_HAL_Driver\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Drivers\\STM32F4xx_HAL_Driver\\Inc\\Legacy>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Middlewares\\ST\\STM32_USB_Host_Library\\Core\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Middlewares\\ST\\STM32_USB_Host_Library\\Class\\CDC\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Drivers\\CMSIS\\Device\\ST\\STM32F4xx\\Include>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Drivers\\CMSIS\\Include>" ) target_compile_options( ${TARGET_NAME} PRIVATE "$<$,$>:-g3>" "$<$,$>:-g3>" "$<$,$>:-g3>" "$<$>,$>:-g0>" "$<$>,$>:-g0>" "$<$>,$>:-g0>" "$<$>,$>:-Os>" "$<$>,$>:-Os>" "$<$,$>:>" "$<$,$>:>" "$<$>,$>:>" "$<$>,$>:>" "$<$:-mcpu=cortex-m4>" "$<$:-mfpu=fpv4-sp-d16>" "$<$:-mfloat-abi=hard>" "$<$>:-mcpu=cortex-m4>" "$<$>:-mfpu=fpv4-sp-d16>" "$<$>:-mfloat-abi=hard>" ) target_link_libraries( ${TARGET_NAME} PRIVATE ) target_link_directories( ${TARGET_NAME} PRIVATE ) target_link_options( ${TARGET_NAME} PRIVATE "$<$:-mcpu=cortex-m4>" "$<$:-mfpu=fpv4-sp-d16>" "$<$:-mfloat-abi=hard>" "$<$>:-mcpu=cortex-m4>" "$<$>:-mfpu=fpv4-sp-d16>" "$<$>:-mfloat-abi=hard>" -T "$<$:${PROJECT_SOURCE_DIR}/STM32F407VGTX_FLASH.ld>" "$<$>:${PROJECT_SOURCE_DIR}/STM32F407VGTX_FLASH.ld>" ) target_sources( ${TARGET_NAME} PRIVATE "USB_HOST\\App\\usb_host.c" "USB_HOST\\Target\\usbh_conf.c" "USB_HOST\\Target\\usbh_platform.c" "Core\\Src\\main.c" "Core\\Src\\stm32f4xx_hal_msp.c" "Core\\Src\\stm32f4xx_it.c" "Core\\Src\\syscalls.c" "Core\\Src\\sysmem.c" "Core\\Src\\system_stm32f4xx.c" "Core\\Startup\\startup_stm32f407vgtx.s" "Middlewares\\ST\\STM32_USB_Host_Library\\Class\\CDC\\Src\\usbh_cdc.c" "Middlewares\\ST\\STM32_USB_Host_Library\\Core\\Src\\usbh_core.c" "Middlewares\\ST\\STM32_USB_Host_Library\\Core\\Src\\usbh_ctlreq.c" "Middlewares\\ST\\STM32_USB_Host_Library\\Core\\Src\\usbh_ioreq.c" "Middlewares\\ST\\STM32_USB_Host_Library\\Core\\Src\\usbh_pipes.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_cortex.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_dma_ex.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_dma.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_exti.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_flash_ex.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_flash_ramfunc.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_flash.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_gpio.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_hcd.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_i2c_ex.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_i2c.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_i2s_ex.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_i2s.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_pwr_ex.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_pwr.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_rcc_ex.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_rcc.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_spi.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_tim_ex.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal_tim.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_hal.c" "Drivers\\STM32F4xx_HAL_Driver\\Src\\stm32f4xx_ll_usb.c" ) add_custom_command( TARGET ${TARGET_NAME} POST_BUILD COMMAND ${CMAKE_SIZE} $ ) add_custom_command( TARGET ${TARGET_NAME} POST_BUILD COMMAND ${CMAKE_OBJCOPY} -O ihex $ ${TARGET_NAME}.hex ) add_custom_command( TARGET ${TARGET_NAME} POST_BUILD COMMAND ${CMAKE_OBJCOPY} -O binary $ ${TARGET_NAME}.bin ) endfunction()