added littleFS

This commit is contained in:
proddy
2020-07-16 22:41:24 +02:00
parent 8abf2a7154
commit 7bf93366c0

View File

@@ -1,8 +1,8 @@
; PlatformIO Project Configuration File for EMS-ESP
[platformio]
; default_envs = esp8266
default_envs = esp32
default_envs = esp8266
; default_envs = esp32
# override any settings with your own local ones in pio_local.ini
extra_configs =
@@ -41,38 +41,40 @@ extra_scripts =
scripts/main_script.py
framework = arduino
monitor_speed = 115200
upload_speed = 921600
lib_ldf_mode = chain+
check_tool = cppcheck, clangtidy
check_severity = high, medium
check_flags =
cppcheck: --std=c++11
cppcheck: --std=c++11 -v
clangtidy: --checks=-*,clang-analyzer-*,performance-*
; USB upload
upload_protocol = esptool
upload_port = COM6
; upload_protocol = esptool
; upload_port = COM6
; upload_port = /dev/cu.wchusbserial1420
; OTA upload
; upload_protocol = espota
; upload_flags =
; --port=8266
; --auth=ems-esp-neo
; upload_port = ems-esp.local
upload_protocol = espota
upload_flags =
--port=8266
--auth=ems-esp-neo
upload_port = ems-esp.local
[env:esp8266]
board = esp12e ; https://github.com/platformio/platform-espressif8266/tree/master/boards
build_type = release
platform = espressif8266 ; https://github.com/platformio/platform-espressif8266/releases
board_build.filesystem = littlefs
lib_deps = ${common.libs_core}
board_build.f_cpu = 160000000L ; 160MHz
; eagle.flash.4m1m.ld = 1019 KB sketch, 1000 KB SPIFFS. 4KB EEPROM, 4KB RFCAL, 12KB WIFI stack, 2052 KB OTA & buffer
; eagle.flash.4m2m.ld = 1019 KB sketch, 2024 KB SPIFFS. 4KB EEPROM, 4KB RFCAL, 12KB WIFI stack, 1028 KB OTA & buffer
; board_build.ldscript = eagle.flash.4m2m.ld
build_flags = ${common.build_flags} ${common.debug_flags} -D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
build_flags = ${common.build_flags} ${common.debug_flags}
lib_ignore =
AsyncTCP