Raspberry Pi Pico target (with sparkfun lora hat) does compile but needs further work.

Also contains a small fix to make PRIVATE_HW targets build again for nRF52 architectures
This commit is contained in:
Thomas Göttgens
2022-08-08 23:11:19 +02:00
parent 22a5cf04d3
commit 0c8fb6e27f
11 changed files with 179 additions and 6 deletions

View File

@@ -13,6 +13,15 @@
#define FILE_O_READ "r"
#endif
#if defined(ARCH_RP2040)
// RP2040
#include "LittleFS.h"
#define FSCom LittleFS
#define FSBegin() FSCom.begin()
#define FILE_O_WRITE "w"
#define FILE_O_READ "r"
#endif
#if defined(ARCH_ESP32)
// ESP32 version
#include "LITTLEFS.h"