8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eb176c commit 8e4008bCopy full SHA for 8e4008b
cores/rp2040/RP2040Support.h
@@ -29,6 +29,9 @@
29
#include <pico/multicore.h>
30
#include <pico/rand.h>
31
#include <pico/util/queue.h>
32
+#include <pico.h>
33
+#include <pico/time.h>
34
+#include <pico/bootrom.h>
35
#include "CoreMutex.h"
36
#include "ccount.pio.h"
37
#include <malloc.h>
@@ -317,6 +320,13 @@ class RP2040 {
317
320
reboot();
318
321
}
319
322
323
+ inline void rebootToBootloader() {
324
+ reset_usb_boot(0, 0);
325
+ while (1) {
326
+ continue;
327
+ }
328
329
+
330
static void enableDoubleResetBootloader();
331
332
void wdt_begin(uint32_t delay_ms) {
0 commit comments