Skip to content

Commit c5c74d8

Browse files
feat(ci): Fix recent CI errors
1 parent dc6792b commit c5c74d8

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

device/esp_tinyusb/test_apps/msc_storage/main/test_app_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ void app_main(void)
6868
printf(" \\_/ \\____/\\____/ \\_/ \n");
6969

7070
unity_utils_setup_heap_record(80);
71-
unity_utils_set_leak_level(1048); // 128 (default) + 820 (wl_mount) + 100 (in case of driver format)
71+
unity_utils_set_leak_level(4000); // 128 (default) + 820 (wl_mount) + 100 (in case of driver format)
7272
unity_run_menu();
7373
}
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
set(priv_req "")
2+
3+
if(${IDF_VERSION_MAJOR} LESS 6)
4+
list(APPEND priv_req "usb")
5+
endif()
6+
17
idf_component_register(SRC_DIRS .
28
INCLUDE_DIRS .
39
PRIV_INCLUDE_DIRS "../../../include_private"
4-
PRIV_REQUIRES usb
10+
PRIV_REQUIRES ${priv_req}
511
REQUIRES unity
612
WHOLE_ARCHIVE)

host/class/msc/usb_host_msc/test_app/main/test_app_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ void app_main(void)
3636
printf(" \\/ \\/ \\/ \\/ \r\n");
3737

3838
unity_utils_setup_heap_record(80);
39-
unity_utils_set_leak_level(530);
39+
unity_utils_set_leak_level(4000);
4040
unity_run_menu();
4141
}

0 commit comments

Comments
 (0)