diff --git a/platformio.ini b/platformio.ini index 5ab191eb..49a79534 100644 --- a/platformio.ini +++ b/platformio.ini @@ -456,11 +456,12 @@ build_unflags = ${common.build_unflags} build_flags = ${common.build_flags_esp32} -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 UWLED_USE_MY_CONFIG + -D WLED_USE_MY_CONFIG -D USERMOD_AUDIOREACTIVE -D UM_AUDIOREACTIVE_USE_NEW_FFT -D USERMOD_CUSTOMEFFECTS ; -D WLED_DEBUG + ; -D SR_DEBUG lib_deps = ${esp32.lib_deps} https://github.com/kosme/arduinoFFT#develop @ 1.9.2 ; monitor_filters = esp32_exception_decoder @@ -475,13 +476,14 @@ upload_speed = 460800 ; or 921600 platform_packages = ${esp32.platform_packages} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags_esp32} - -D WLED_RELEASE_NAME=ESP32 ; what does this do? - #-D WLED_DISABLE_BLYNK #-D WLED_DISABLE_BROWNOUT_DET ; which settings and when? + -D WLED_RELEASE_NAME=ESP32 ; This will be included in the firmware.bin filename + -D WLED_DISABLE_BLYNK ; BLYNK is only provided for backwards compatibility (no new users accepted) + ;-D WLED_DISABLE_BROWNOUT_DET ; enable if you get "brownout detected" errors at startup -D ABL_MILLIAMPS_DEFAULT=1500 ; 850 not enough for 1024 leds -D WLED_MAX_USERMODS=8 ; default only 4-6 - -D UWLED_USE_MY_CONFIG ; what does this do? + -D WLED_USE_MY_CONFIG ; include custom my_config.h -D USERMOD_AUDIOREACTIVE - -D UM_AUDIOREACTIVE_USE_NEW_FFT ; explain + -D UM_AUDIOREACTIVE_USE_NEW_FFT ; use latest (upstream) FFTLib, instead of older library midified by blazoncek. Slightly faster, more accurate, needs 2KB RAM extra -D USERMOD_DALLASTEMPERATURE -D USE_ALT_DISPlAY ; new versions of USERMOD_FOUR_LINE_DISPLAY and USERMOD_ROTARY_ENCODER_UI -D USERMOD_FOUR_LINE_DISPLAY @@ -490,7 +492,8 @@ build_flags = ${common.build_flags_esp32} -D USERMOD_CUSTOMEFFECTS ; WLEDSR usermod -D USERMOD_WEATHER ; WLEDSR usermod -D USERMOD_GAMES ; WLEDSR usermod - ; -D WLED_DEBUG + ; -D WLED_DEBUG ; lots of generic debug messages + ; -D SR_DEBUG ; some extra debug messages from audioreactive lib_deps = ${esp32.lib_deps} OneWire@~2.3.5 ; used for USERMOD_FOUR_LINE_DISPLAY and USERMOD_GAMES? olikraus/U8g2 @ ^2.28.8 ; used for USERMOD_FOUR_LINE_DISPLAY @@ -499,8 +502,8 @@ lib_deps = ${esp32.lib_deps} board_build.partitions = ${esp32.default_partitions} ; board_build.partitions = tools/WLED_ESP32_16MB.csv ; board_build.partitions = tools/WLED_ESP32-wrover_4MB.csv -board_build.f_flash = 80000000L ; explain -board_build.flash_mode = dio ; explain (dio vs qio?) +board_build.f_flash = 80000000L ; use full 80MHz speed for flash (default = 40Mhz) +board_build.flash_mode = dio ; (dio = dual i/o; more compatible than qio = quad i/o) [env:esp8266mdev] extends = env:d1_mini