summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-08-22 18:06:48 +0700
committerhathach <[email protected]>2024-08-22 18:14:14 +0700
commit0db42aac71a6fb2a821a034ee29d2587638d309a (patch)
tree357d87c890219f56555c8ef0122f1d11f3adcf11 /hw
parent858ad66c9316250876dad533e47513b7def915d1 (diff)
add hil support for dual host_info_to_cdc
replace itsybitsy m4 by metro m4 + max3421e
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/samd5x_e5x/boards/metro_m4_express/board.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/bsp/samd5x_e5x/boards/metro_m4_express/board.cmake b/hw/bsp/samd5x_e5x/boards/metro_m4_express/board.cmake
index 86d12ca24..ebc32b1f7 100644
--- a/hw/bsp/samd5x_e5x/boards/metro_m4_express/board.cmake
+++ b/hw/bsp/samd5x_e5x/boards/metro_m4_express/board.cmake
@@ -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__