mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
11 lines
225 B
CMake
11 lines
225 B
CMake
set(SAM_FAMILY samd51)
|
|
|
|
set(JLINK_DEVICE ATSAMD51J19)
|
|
set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld)
|
|
|
|
function(update_board TARGET)
|
|
target_compile_definitions(${TARGET} PUBLIC
|
|
__SAMD51J19A__
|
|
)
|
|
endfunction()
|