mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-08 10:57:51 +00:00
Add tbeam esp32s3 version support, replace AXP202X_Library with XPowersLIb
This commit is contained in:
@@ -23,9 +23,16 @@
|
||||
#endif
|
||||
|
||||
#if defined(ARCH_ESP32)
|
||||
#if CONFIG_IDF_TARGET_ESP32S3
|
||||
#include <LittleFS.h> //esp32s3 uses the framework's built-in LittleFS
|
||||
#define FSCom LittleFS
|
||||
#else
|
||||
// ESP32 version
|
||||
#include "LITTLEFS.h"
|
||||
#define FSCom LITTLEFS
|
||||
#endif
|
||||
|
||||
|
||||
#define FSBegin() FSCom.begin(true)
|
||||
#define FILE_O_WRITE "w"
|
||||
#define FILE_O_READ "r"
|
||||
|
||||
Reference in New Issue
Block a user