Move ARCH_RP2040 --> ARCH_PICOSDK

This commit is contained in:
Sergio R. Caprile committed 2024-11-08 14:34:33 -03:00
1 parent 7844d84798
commit 58327a1753
69 files changed
+15 -13

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#pragma once
#if MG_ARCH == MG_ARCH_PICOSDK
#include <errno.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <pico/stdlib.h>
#include <pico/rand.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