sparkfun_samd21_mini_usb board support

This commit is contained in:
Deadman
2024-02-27 17:04:14 +01:00
parent a0e5626bc5
commit 0a2444e100
6 changed files with 233 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
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()