diff --git a/.idea/cmake.xml b/.idea/cmake.xml
index ec900b4a6d..f09e185b1b 100644
--- a/.idea/cmake.xml
+++ b/.idea/cmake.xml
@@ -66,14 +66,14 @@
-
+
-
+
@@ -106,11 +106,11 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/hw/bsp/ra/family.c b/hw/bsp/ra/family.c
index db8988a361..a8b4ebcc7d 100644
--- a/hw/bsp/ra/family.c
+++ b/hw/bsp/ra/family.c
@@ -147,6 +147,13 @@ uint32_t board_button_read(void) {
return lvl == BUTTON_STATE_ACTIVE;
}
+size_t board_get_unique_id(uint8_t id[], size_t max_len) {
+ max_len = tu_min32(max_len, sizeof(bsp_unique_id_t));
+ bsp_unique_id_t const *uid = R_BSP_UniqueIdGet();
+ memcpy(id, uid->unique_id_bytes, max_len);
+ return max_len;
+}
+
int board_uart_read(uint8_t *buf, int len) {
(void) buf;
(void) len;
@@ -169,7 +176,6 @@ void SysTick_Handler(void) {
uint32_t board_millis(void) {
return system_ticks;
}
-
#endif
//--------------------------------------------------------------------+
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py
index 8f0a8c93a5..1588416879 100644
--- a/test/hil/hil_test.py
+++ b/test/hil/hil_test.py
@@ -358,7 +358,7 @@ def main():
if 'tests' in item:
test_list = item['tests'] + ['board_test']
else:
- test_list = all_tests
+ test_list = list(all_tests)
# remove skip_tests
if 'tests_skip' in item:
diff --git a/test/hil/rpi.json b/test/hil/rpi.json
index 338ecae207..98d576db89 100644
--- a/test/hil/rpi.json
+++ b/test/hil/rpi.json
@@ -37,6 +37,15 @@
"flasher": "jlink",
"flasher_sn": "000611000000",
"flasher_args": "-device MIMXRT1011xxx5A"
+ },
+ {
+ "name": "ra4m1_ek",
+ "uid": "152E163038303131393346E46F26574B",
+ "tests_skip": ["cdc_msc", "cdc_msc_freertos"],
+ "comment": "MSC is slow to enumerated #2602",
+ "flasher": "jlink",
+ "flasher_sn": "000831174392",
+ "flasher_args": "-device R7FA4M1AB"
}
]
}