We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c37a753 + 528afcd commit 85fc498Copy full SHA for 85fc498
src/main.c
@@ -35,6 +35,7 @@
35
#if OPT_PROBE_DEBUG_OUT_RTT
36
#include "pico/stdio/driver.h"
37
#endif
38
+#include "pico/multicore.h"
39
40
#include <stdio.h>
41
#include <stdbool.h>
@@ -521,6 +522,12 @@ void usb_thread(void *ptr)
521
522
523
int main(void)
524
{
525
+#if configNUMBER_OF_CORES != 2
526
+ // this is actually just for debugging the probe firmware running with just one core (good for pyocd)
527
+ // allow to run TIMER0 even in debug pause which would otherwise be inhibited because TIMER0.DBGPAUSE=7
528
+ multicore_reset_core1();
529
+#endif
530
+
531
board_init();
532
tusb_init();
533
ini_init(); // for debugging this must be moved below cdc_debug_init()
0 commit comments