Files
tinyUSB/hw/bsp/samd21/boards/sparkfun_samd21_mini_usb/board.cmake

10 lines
232 B
CMake
Raw Normal View History

2024-02-27 17:04:14 +01:00
set(JLINK_DEVICE ATSAMD21G18)
set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld)
function(update_board TARGET)
target_compile_definitions(${TARGET} PUBLIC
__SAMD21G18A__
CFG_EXAMPLE_VIDEO_READONLY
)
endfunction()