mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 17:29:50 +03:00
added littleFS
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
; PlatformIO Project Configuration File for EMS-ESP
|
; PlatformIO Project Configuration File for EMS-ESP
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
; default_envs = esp8266
|
default_envs = esp8266
|
||||||
default_envs = esp32
|
; default_envs = esp32
|
||||||
|
|
||||||
# override any settings with your own local ones in pio_local.ini
|
# override any settings with your own local ones in pio_local.ini
|
||||||
extra_configs =
|
extra_configs =
|
||||||
@@ -41,38 +41,40 @@ extra_scripts =
|
|||||||
scripts/main_script.py
|
scripts/main_script.py
|
||||||
|
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
|
|
||||||
|
lib_ldf_mode = chain+
|
||||||
|
|
||||||
check_tool = cppcheck, clangtidy
|
check_tool = cppcheck, clangtidy
|
||||||
check_severity = high, medium
|
check_severity = high, medium
|
||||||
check_flags =
|
check_flags =
|
||||||
cppcheck: --std=c++11
|
cppcheck: --std=c++11 -v
|
||||||
clangtidy: --checks=-*,clang-analyzer-*,performance-*
|
clangtidy: --checks=-*,clang-analyzer-*,performance-*
|
||||||
|
|
||||||
; USB upload
|
; USB upload
|
||||||
upload_protocol = esptool
|
; upload_protocol = esptool
|
||||||
upload_port = COM6
|
; upload_port = COM6
|
||||||
; upload_port = /dev/cu.wchusbserial1420
|
; upload_port = /dev/cu.wchusbserial1420
|
||||||
|
|
||||||
; OTA upload
|
; OTA upload
|
||||||
; upload_protocol = espota
|
upload_protocol = espota
|
||||||
; upload_flags =
|
upload_flags =
|
||||||
; --port=8266
|
--port=8266
|
||||||
; --auth=ems-esp-neo
|
--auth=ems-esp-neo
|
||||||
; upload_port = ems-esp.local
|
upload_port = ems-esp.local
|
||||||
|
|
||||||
[env:esp8266]
|
[env:esp8266]
|
||||||
board = esp12e ; https://github.com/platformio/platform-espressif8266/tree/master/boards
|
board = esp12e ; https://github.com/platformio/platform-espressif8266/tree/master/boards
|
||||||
build_type = release
|
build_type = release
|
||||||
platform = espressif8266 ; https://github.com/platformio/platform-espressif8266/releases
|
platform = espressif8266 ; https://github.com/platformio/platform-espressif8266/releases
|
||||||
|
board_build.filesystem = littlefs
|
||||||
lib_deps = ${common.libs_core}
|
lib_deps = ${common.libs_core}
|
||||||
board_build.f_cpu = 160000000L ; 160MHz
|
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.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
|
; 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
|
; 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 =
|
lib_ignore =
|
||||||
AsyncTCP
|
AsyncTCP
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user