2022-05-19

2022-05-19

  • RJ
  • caspar
  • Jimmy lin
  • Mat
  • Neal
  • PL
  • cookie2 (remote)
  • BestSteve (remote)
  • dreamerc (remote)
  • hakkira (remote)
  • jeffgen0x4 (remote)

PL

  • #__VA_ARGS__

jimmy lin

  • 防疫保單, 圖片存資料庫, base64

RJ

  • dataurl base64
  • 有沒有什麼程式可判斷 c99,c11,c17 的?

caspar

  • esp8266, arduinoocpp

Mat

diff --git a/platformio.ini b/platformio.ini
index a04c091..a50f42f 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -3,7 +3,7 @@
 ; MIT License
 
 [platformio]
-default_envs = esp32-development-board
+default_envs = nodemcuv2
 
 [common]
 framework = arduino
@@ -16,10 +16,12 @@ monitor_speed = 115200
 platform = espressif8266@2.6.3
 board = nodemcuv2
 framework = ${common.framework}
-lib_deps = ${common.lib_deps}
+lib_deps =
+    ${common.lib_deps}
+    lorol/LittleFS_esp32@1.0.5
 monitor_speed = ${common.monitor_speed}
 build_flags =
-    -D AO_DBG_LEVEL=AO_DL_INFO ; flood the serial monitor with information about the internal state
+    -D AO_DBG_LEVEL=AO_DL_DEBUG ; flood the serial monitor with information about the internal state
     -DAO_TRAFFIC_OUT   ; print the OCPP communication to the serial monitor
     -D ARDUINOJSON_ENABLE_STD_STRING=1
 
diff --git a/src/ArduinoOcpp/Core/ConfigurationContainerFlash.cpp b/src/ArduinoOcpp/Core/ConfigurationContainerFlash.cpp
index d10adbf..e289135 100644
--- a/src/ArduinoOcpp/Core/ConfigurationContainerFlash.cpp
+++ b/src/ArduinoOcpp/Core/ConfigurationContainerFlash.cpp
@@ -12,7 +12,7 @@
 #endif
 
 #if USE_FS == LITTLEFS
-#include <LITTLEFS.h>
+#include <LittleFS.h>
 #elif USE_FS == SPIFFS
 #include <FS.h>
 #else