# THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. # BASED ON c:\BLACKBOARD\AAA_UNITS\AAA_HONORS\mmc_example function(add_st_target_properties TARGET_NAME) target_compile_definitions( ${TARGET_NAME} PRIVATE "$<$,$>:DEBUG>" "$<$,$>:DEBUG>" "$<$,$>:USE_HAL_DRIVER>" "$<$,$>:STM32L476xx>" "$<$>,$>:USE_HAL_DRIVER>" "$<$>,$>:STM32L476xx>" ) target_include_directories( ${TARGET_NAME} PRIVATE "$<$,$>:${PROJECT_SOURCE_DIR}/Core\\Inc>" "$<$,$>:${PROJECT_SOURCE_DIR}/USB_DEVICE\\App>" "$<$,$>:${PROJECT_SOURCE_DIR}/USB_DEVICE\\Target>" "$<$,$>:${PROJECT_SOURCE_DIR}/Drivers\\STM32L4xx_HAL_Driver\\Inc>" "$<$,$>:${PROJECT_SOURCE_DIR}/Drivers\\STM32L4xx_HAL_Driver\\Inc\\Legacy>" "$<$,$>:${PROJECT_SOURCE_DIR}/Middlewares\\ST\\STM32_USB_Device_Library\\Core\\Inc>" "$<$,$>:${PROJECT_SOURCE_DIR}/Middlewares\\ST\\STM32_USB_Device_Library\\Class\\MSC\\Inc>" "$<$,$>:${PROJECT_SOURCE_DIR}/Drivers\\CMSIS\\Device\\ST\\STM32L4xx\\Include>" "$<$,$>:${PROJECT_SOURCE_DIR}/Drivers\\CMSIS\\Include>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Core\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/USB_DEVICE\\App>" "$<$>,$>:${PROJECT_SOURCE_DIR}/USB_DEVICE\\Target>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Drivers\\STM32L4xx_HAL_Driver\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Drivers\\STM32L4xx_HAL_Driver\\Inc\\Legacy>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Middlewares\\ST\\STM32_USB_Device_Library\\Core\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Middlewares\\ST\\STM32_USB_Device_Library\\Class\\MSC\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Drivers\\CMSIS\\Device\\ST\\STM32L4xx\\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}/STM32L476RETX_FLASH.ld>" "$<$>:${PROJECT_SOURCE_DIR}/STM32L476RETX_FLASH.ld>" ) target_sources( ${TARGET_NAME} PRIVATE "Core\\Src\\main.c" "Core\\Src\\stm32l4xx_hal_msp.c" "Core\\Src\\stm32l4xx_hal_timebase_tim.c" "Core\\Src\\stm32l4xx_it.c" "Core\\Src\\syscalls.c" "Core\\Src\\sysmem.c" "Core\\Src\\system_stm32l4xx.c" "Core\\Startup\\startup_stm32l476retx.s" "Middlewares\\ST\\STM32_USB_Device_Library\\Class\\MSC\\Src\\usbd_msc_bot.c" "Middlewares\\ST\\STM32_USB_Device_Library\\Class\\MSC\\Src\\usbd_msc_data.c" "Middlewares\\ST\\STM32_USB_Device_Library\\Class\\MSC\\Src\\usbd_msc_scsi.c" "Middlewares\\ST\\STM32_USB_Device_Library\\Class\\MSC\\Src\\usbd_msc.c" "Middlewares\\ST\\STM32_USB_Device_Library\\Core\\Src\\usbd_core.c" "Middlewares\\ST\\STM32_USB_Device_Library\\Core\\Src\\usbd_ctlreq.c" "Middlewares\\ST\\STM32_USB_Device_Library\\Core\\Src\\usbd_ioreq.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_cortex.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_crc_ex.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_crc.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_dma_ex.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_dma.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_exti.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_flash_ex.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_flash_ramfunc.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_flash.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_gpio.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_i2c_ex.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_i2c.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_mmc_ex.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_mmc.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_pcd_ex.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_pcd.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_pwr_ex.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_pwr.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_rcc_ex.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_rcc.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_tim_ex.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_tim.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_ll_sdmmc.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_ll_usb.c" "USB_DEVICE\\App\\usb_device.c" "USB_DEVICE\\App\\usbd_desc.c" "USB_DEVICE\\App\\usbd_storage_if.c" "USB_DEVICE\\Target\\usbd_conf.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()