add hil support for dual host_info_to_cdc

replace itsybitsy m4 by metro m4 + max3421e
This commit is contained in:
hathach
2024-08-22 18:06:48 +07:00
parent 858ad66c93
commit 0db42aac71
4 changed files with 95 additions and 48 deletions

View File

@@ -3,6 +3,9 @@ set(SAM_FAMILY samd51)
set(JLINK_DEVICE ATSAMD51J19)
set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/${BOARD}.ld)
# force max3421e for testing with hardware-in-the-loop
set(MAX3421_HOST 1)
function(update_board TARGET)
target_compile_definitions(${TARGET} PUBLIC
__SAMD51J19A__