Skip to content

Commit a2cf813

Browse files
committed
fix(runtime_config): Build for v6.1.0
1 parent 2863968 commit a2cf813

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
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(1100); // 128 (default) + 820 (wl_mount) + 152 (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)

0 commit comments

Comments
 (0)