summaryrefslogtreecommitdiff
path: root/hw/bsp/samd5x_e5x/boards/pybadge/board.cmake
blob: 86d12ca24f7502c4f86514050c209a69a8f300d2 (plain)
1
2
3
4
5
6
7
8
9
10
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()