mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
16 lines
377 B
CMake
16 lines
377 B
CMake
set(MCU_VARIANT K32L2B31A)
|
|
|
|
set(JLINK_DEVICE K32L2B31xxxxA)
|
|
set(PYOCD_TARGET K32L2B)
|
|
|
|
set(LD_FILE_GNU ${SDK_DIR}/devices/${MCU_VARIANT}/gcc/K32L2B31xxxxA_flash.ld)
|
|
|
|
function(update_board TARGET)
|
|
target_sources(${TARGET} PUBLIC
|
|
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/clock_config.c
|
|
)
|
|
target_compile_definitions(${TARGET} PUBLIC
|
|
CPU_K32L2B31VLH0A
|
|
)
|
|
endfunction()
|