File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 41
41
"help" : " bootloader size" ,
42
42
"value" : " (32*1024)" ,
43
43
"macro_name" : " MBED_BOOTLOADER_SIZE"
44
+ },
45
+ "startup-delay" : {
46
+ "help" : " Startup delay before initializing the storage hardware. (In milliseconds)" ,
47
+ "value" : 0
44
48
}
45
49
},
46
50
"macros" : [
Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ int main(void)
61
61
mbed_trace_print_function_set (boot_debug);
62
62
#endif // MBED_CONF_MBED_TRACE_ENABLE
63
63
64
+ #if MBED_CONF_MBED_BOOTLOADER_STARTUP_DELAY
65
+ ThisThread::sleep_for (MBED_CONF_MBED_BOOTLOADER_STARTUP_DELAY);
66
+ #endif // MBED_CONF_MBED_BOOTLOADER_STARTUP_DELAY
67
+
64
68
/* Initialize PAL */
65
69
arm_uc_error_t ucp_result = MBED_CLOUD_CLIENT_UPDATE_STORAGE.Initialize (arm_ucp_event_handler);
66
70
if (ucp_result.error != ERR_NONE) {
You can’t perform that action at this time.
0 commit comments