Add OTA for Pico-SDK (RP2040)

This commit is contained in:
Sergio R. Caprile committed 2024-11-05 17:17:22 -03:00
1 parent 192f5e563c
commit 67d0f5f4ae
5 files changed
+362

No files matched your search

+8
View File
@@ -12,4 +12,12 @@
#include <pico/stdlib.h>
int mkdir(const char *, mode_t);
#if MG_OTA == MG_OTA_PICOSDK
#include <hardware/flash.h>
#if PICO_RP2040
#include <pico/bootrom.h>
#endif
#endif
#endif