platformio.ini: update esp32mdevums

- use https://github.com/softhack007/LITTLEFS-threadsafe.git#master
- refactor esp32mdevums: add comments (to be augmented as still questions)
This commit is contained in:
Ewowi
2022-09-23 13:00:45 +02:00
parent 5aa7b34b05
commit 0ed6f52c8c

View File

@@ -225,7 +225,9 @@ default_partitions = tools/WLED_ESP32_4MB_1MB_FS.csv
lib_deps = lib_deps =
${env.lib_deps} ${env.lib_deps}
https://github.com/lorol/LITTLEFS.git ; https://github.com/lorol/LITTLEFS.git
; WLEDSR specific: use patched version of lorol LittleFS
https://github.com/softhack007/LITTLEFS-threadsafe.git#master
makuna/NeoPixelBus @ 2.6.9 makuna/NeoPixelBus @ 2.6.9
https://github.com/pbolduc/AsyncTCP.git @ 1.2.0 https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
@@ -450,13 +452,14 @@ platform = ${esp32.platform}
upload_speed = 460800 ; or 921600 upload_speed = 460800 ; or 921600
platform_packages = ${esp32.platform_packages} platform_packages = ${esp32.platform_packages}
build_unflags = ${common.build_unflags} build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp32} build_flags = ${common.build_flags_esp32}
-D WLED_RELEASE_NAME=ESP32 #-D WLED_DISABLE_BLYNK #-D WLED_DISABLE_BROWNOUT_DET -D WLED_RELEASE_NAME=ESP32 #-D WLED_DISABLE_BLYNK #-D WLED_DISABLE_BROWNOUT_DET
-D ABL_MILLIAMPS_DEFAULT=1500 ; 850 not enough for 1024 leds -D ABL_MILLIAMPS_DEFAULT=1500 ; 850 not enough for 1024 leds
-D UWLED_USE_MY_CONFIG -D UWLED_USE_MY_CONFIG
-D USERMOD_CUSTOMEFFECTS
-D USERMOD_AUDIOREACTIVE -D USERMOD_AUDIOREACTIVE
-D UM_AUDIOREACTIVE_USE_NEW_FFT -D UM_AUDIOREACTIVE_USE_NEW_FFT
-D USERMOD_CUSTOMEFFECTS
; -D WLED_DEBUG ; -D WLED_DEBUG
lib_deps = ${esp32.lib_deps} lib_deps = ${esp32.lib_deps}
https://github.com/kosme/arduinoFFT#develop @ 1.9.2 https://github.com/kosme/arduinoFFT#develop @ 1.9.2
@@ -472,30 +475,32 @@ upload_speed = 460800 ; or 921600
platform_packages = ${esp32.platform_packages} platform_packages = ${esp32.platform_packages}
build_unflags = ${common.build_unflags} build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp32} build_flags = ${common.build_flags_esp32}
-D WLED_RELEASE_NAME=ESP32 #-D WLED_DISABLE_BLYNK #-D WLED_DISABLE_BROWNOUT_DET -D WLED_RELEASE_NAME=ESP32 ; what does this do?
#-D WLED_DISABLE_BLYNK #-D WLED_DISABLE_BROWNOUT_DET ; which settings and when?
-D ABL_MILLIAMPS_DEFAULT=1500 ; 850 not enough for 1024 leds -D ABL_MILLIAMPS_DEFAULT=1500 ; 850 not enough for 1024 leds
-D WLED_MAX_USERMODS=8 -D WLED_MAX_USERMODS=8 ; default only 4-6
-D UWLED_USE_MY_CONFIG -D UWLED_USE_MY_CONFIG ; what does this do?
-D USERMOD_CUSTOMEFFECTS
-D USERMOD_AUDIOREACTIVE -D USERMOD_AUDIOREACTIVE
-D UM_AUDIOREACTIVE_USE_NEW_FFT -D UM_AUDIOREACTIVE_USE_NEW_FFT ; explain
-D USERMOD_DALLASTEMPERATURE -D USERMOD_DALLASTEMPERATURE
-D USE_ALT_DISPlAY -D USE_ALT_DISPlAY ; new versions of USERMOD_FOUR_LINE_DISPLAY and USERMOD_ROTARY_ENCODER_UI
-D USERMOD_FOUR_LINE_DISPLAY -D USERMOD_FOUR_LINE_DISPLAY
-D USERMOD_ROTARY_ENCODER_UI -D USERMOD_ROTARY_ENCODER_UI
-D USERMOD_AUTO_SAVE -D USERMOD_AUTO_SAVE
-D USERMOD_WEATHER -D USERMOD_CUSTOMEFFECTS ; WLEDSR usermod
-D USERMOD_GAMES -D USERMOD_WEATHER ; WLEDSR usermod
-D USERMOD_GAMES ; WLEDSR usermod
; -D WLED_DEBUG ; -D WLED_DEBUG
lib_deps = ${esp32.lib_deps} lib_deps = ${esp32.lib_deps}
OneWire@~2.3.5 OneWire@~2.3.5 ; used for USERMOD_FOUR_LINE_DISPLAY and USERMOD_GAMES?
olikraus/U8g2 @ ^2.28.8 olikraus/U8g2 @ ^2.28.8 ; used for USERMOD_FOUR_LINE_DISPLAY
https://github.com/kosme/arduinoFFT#develop @ 1.9.2 https://github.com/kosme/arduinoFFT#develop @ 1.9.2 ; used for USERMOD_AUDIOREACTIVE
; monitor_filters = esp32_exception_decoder ; monitor_filters = esp32_exception_decoder ; used to show crash details
board_build.partitions = ${esp32.default_partitions} board_build.partitions = ${esp32.default_partitions}
; board_build.partitions = tools/WLED_ESP32_16MB.csv ; board_build.partitions = tools/WLED_ESP32_16MB.csv
board_build.f_flash = 80000000L ; board_build.partitions = tools/WLED_ESP32-wrover_4MB.csv
board_build.flash_mode = dio board_build.f_flash = 80000000L ; explain
board_build.flash_mode = dio ; explain (dio vs qio?)
[env:esp8266mdev] [env:esp8266mdev]
extends = env:d1_mini extends = env:d1_mini