# THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. # BASED ON c:\BLACKBOARD\AAA_UNITS\AAA_HONORS\firmware 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}/Drivers\\STM32L4xx_HAL_Driver\\Inc>" "$<$,$>:${PROJECT_SOURCE_DIR}/Drivers\\STM32L4xx_HAL_Driver\\Inc\\Legacy>" "$<$,$>:${PROJECT_SOURCE_DIR}/Drivers\\CMSIS\\Device\\ST\\STM32L4xx\\Include>" "$<$,$>:${PROJECT_SOURCE_DIR}/Drivers\\CMSIS\\Include>" "$<$,$>:${PROJECT_SOURCE_DIR}/FATFS\\Target>" "$<$,$>:${PROJECT_SOURCE_DIR}/FATFS\\App>" "$<$,$>:${PROJECT_SOURCE_DIR}/Middlewares\\Third_Party\\FatFs\\src>" "$<$,$>:${PROJECT_SOURCE_DIR}/USB_COMPOSITE>" "$<$,$>:${PROJECT_SOURCE_DIR}/USB_COMPOSITE\\App>" "$<$,$>:${PROJECT_SOURCE_DIR}/USB_COMPOSITE\\Class\\CDC_ACM\\Inc>" "$<$,$>:${PROJECT_SOURCE_DIR}/USB_COMPOSITE\\Class\\COMPOSITE\\Inc>" "$<$,$>:${PROJECT_SOURCE_DIR}/USB_COMPOSITE\\Class\\MSC\\Inc>" "$<$,$>:${PROJECT_SOURCE_DIR}/USB_COMPOSITE\\Core\\Inc>" "$<$,$>:${PROJECT_SOURCE_DIR}/USB_COMPOSITE\\Target>" "$<$,$>:${PROJECT_SOURCE_DIR}/Middlewares\\Third_Party\\FreeRTOS\\Source\\include>" "$<$,$>:${PROJECT_SOURCE_DIR}/Middlewares\\Third_Party\\FreeRTOS\\Source\\CMSIS_RTOS>" "$<$,$>:${PROJECT_SOURCE_DIR}/Middlewares\\Third_Party\\FreeRTOS\\Source\\portable\\GCC\\ARM_CM4F>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Core\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Drivers\\STM32L4xx_HAL_Driver\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Drivers\\STM32L4xx_HAL_Driver\\Inc\\Legacy>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Drivers\\CMSIS\\Device\\ST\\STM32L4xx\\Include>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Drivers\\CMSIS\\Include>" "$<$>,$>:${PROJECT_SOURCE_DIR}/FATFS\\Target>" "$<$>,$>:${PROJECT_SOURCE_DIR}/FATFS\\App>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Middlewares\\Third_Party\\FatFs\\src>" "$<$>,$>:${PROJECT_SOURCE_DIR}/USB_COMPOSITE\\App>" "$<$>,$>:${PROJECT_SOURCE_DIR}/USB_COMPOSITE\\Class\\CDC_ACM\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/USB_COMPOSITE\\Class\\COMPOSITE\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/USB_COMPOSITE\\Class\\MSC\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/USB_COMPOSITE\\Core\\Inc>" "$<$>,$>:${PROJECT_SOURCE_DIR}/USB_COMPOSITE\\Target>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Middlewares\\Third_Party\\FreeRTOS\\Source\\include>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Middlewares\\Third_Party\\FreeRTOS\\Source\\CMSIS_RTOS>" "$<$>,$>:${PROJECT_SOURCE_DIR}/Middlewares\\Third_Party\\FreeRTOS\\Source\\portable\\GCC\\ARM_CM4F>" ) 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\\entrypoint.c" "Core\\Src\\freertos.c" "Core\\Src\\logging.c" "Core\\Src\\main.c" "Core\\Src\\ringbuffer.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" "FATFS\\App\\fatfs.c" "FATFS\\Target\\bsp_driver_mmc.c" "FATFS\\Target\\user_diskio.c" "USB_COMPOSITE\\App\\usb_device.c" "USB_COMPOSITE\\App\\usbd_cdc_acm_if.c" "USB_COMPOSITE\\App\\usbd_desc.c" "USB_COMPOSITE\\App\\usbd_msc_if.c" "USB_COMPOSITE\\Class\\CDC_ACM\\Src\\usbd_cdc_acm.c" "USB_COMPOSITE\\Class\\COMPOSITE\\Src\\usbd_composite.c" "USB_COMPOSITE\\Class\\MSC\\Src\\usbd_msc_bot.c" "USB_COMPOSITE\\Class\\MSC\\Src\\usbd_msc_data.c" "USB_COMPOSITE\\Class\\MSC\\Src\\usbd_msc_scsi.c" "USB_COMPOSITE\\Class\\MSC\\Src\\usbd_msc.c" "USB_COMPOSITE\\Core\\Src\\usbd_core.c" "USB_COMPOSITE\\Core\\Src\\usbd_ctlreq.c" "USB_COMPOSITE\\Core\\Src\\usbd_ioreq.c" "USB_COMPOSITE\\Target\\usbd_conf.c" "Middlewares\\Third_Party\\FatFs\\src\\diskio.c" "Middlewares\\Third_Party\\FatFs\\src\\ff_gen_drv.c" "Middlewares\\Third_Party\\FatFs\\src\\ff.c" "Middlewares\\Third_Party\\FatFs\\src\\option\\ccsbcs.c" "Middlewares\\Third_Party\\FatFs\\src\\option\\syscall.c" "Middlewares\\Third_Party\\FreeRTOS\\Source\\CMSIS_RTOS\\cmsis_os.c" "Middlewares\\Third_Party\\FreeRTOS\\Source\\croutine.c" "Middlewares\\Third_Party\\FreeRTOS\\Source\\event_groups.c" "Middlewares\\Third_Party\\FreeRTOS\\Source\\list.c" "Middlewares\\Third_Party\\FreeRTOS\\Source\\portable\\GCC\\ARM_CM4F\\port.c" "Middlewares\\Third_Party\\FreeRTOS\\Source\\portable\\MemMang\\heap_4.c" "Middlewares\\Third_Party\\FreeRTOS\\Source\\queue.c" "Middlewares\\Third_Party\\FreeRTOS\\Source\\stream_buffer.c" "Middlewares\\Third_Party\\FreeRTOS\\Source\\tasks.c" "Middlewares\\Third_Party\\FreeRTOS\\Source\\timers.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_can.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_spi_ex.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_spi.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_uart_ex.c" "Drivers\\STM32L4xx_HAL_Driver\\Src\\stm32l4xx_hal_uart.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" ) 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()