Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ra4m1 ek for hil test #2726

Merged
merged 3 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .idea/cmake.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion hw/bsp/ra/family.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -169,7 +176,6 @@ void SysTick_Handler(void) {
uint32_t board_millis(void) {
return system_ticks;
}

#endif

//--------------------------------------------------------------------+
Expand Down
2 changes: 1 addition & 1 deletion test/hil/hil_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 9 additions & 0 deletions test/hil/rpi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
Loading