mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
16 lines
497 B
CMake
16 lines
497 B
CMake
#set(MCU_VARIANT MIMXRT1011)
|
|
set(JLINK_DEVICE STM32G0B1RE)
|
|
|
|
set(LD_FILE_GCC ${CMAKE_CURRENT_LIST_DIR}/STM32G0B1RETx_FLASH.ld)
|
|
set(LD_FILE_IAR ${ST_CMSIS}/Source/Templates/iar/linker/stm32g0b1xx_flash.icf)
|
|
|
|
set(STARTUP_FILE_GCC ${ST_CMSIS}/Source/Templates/gcc/startup_stm32g0b1xx.s)
|
|
set(STARTUP_FILE_IAR ${ST_CMSIS}/Source/Templates/iar/startup_stm32g0b1xx.s)
|
|
|
|
function(update_board TARGET)
|
|
target_compile_definitions(${TARGET} PUBLIC
|
|
STM32G0B1xx
|
|
#HSE_VALUE=8000000U
|
|
)
|
|
endfunction()
|