mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
10 lines
240 B
CMake
10 lines
240 B
CMake
|
set(JLINK_DEVICE ATSAMD21J18)
|
||
|
set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/samd21j18a_flash.ld)
|
||
|
|
||
|
function(update_board TARGET)
|
||
|
target_compile_definitions(${TARGET} PUBLIC
|
||
|
__SAMD21J18A__
|
||
|
CFG_EXAMPLE_VIDEO_READONLY
|
||
|
)
|
||
|
endfunction()
|