File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -51,20 +51,24 @@ void loopTask(void *pvParameters)
51
51
// sets UART0 (default console) RX/TX pins as already configured in boot or as defined in variants/pins_arduino.h
52
52
Serial0.setPins (gpioNumberToDigitalPin (SOC_RX0), gpioNumberToDigitalPin (SOC_TX0));
53
53
#endif
54
+ #if defined __has_include && __has_include ("chip-debug-report.h")
54
55
#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_DEBUG
55
56
printBeforeSetupInfo ();
56
57
#else
57
58
if (shouldPrintChipDebugReport ()){
58
59
printBeforeSetupInfo ();
59
60
}
61
+ #endif
60
62
#endif
61
63
setup ();
64
+ #if defined __has_include && __has_include ("chip-debug-report.h")
62
65
#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_DEBUG
63
66
printAfterSetupInfo ();
64
67
#else
65
68
if (shouldPrintChipDebugReport ()){
66
69
printAfterSetupInfo ();
67
70
}
71
+ #endif
68
72
#endif
69
73
for (;;) {
70
74
#if CONFIG_FREERTOS_UNICORE
You can’t perform that action at this time.
0 commit comments