Update plaformio.ini (fft, flashmode, esp32mdevums)
- add esp32mdevums - move to kosme/arduinoFFT and UM_AUDIOREACTIVE_USE_NEW_FFT - add f_flash = 80000000L and flash_mode = dio - update wemos_shield_esp32
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
; default_envs = esp8285_H801
|
||||
; default_envs = d1_mini_5CH_Shojo_PCB
|
||||
default_envs = esp32mdev
|
||||
; default_envs = esp32mdevums
|
||||
; default_envs = esp8266mdev
|
||||
; default_envs = wemos_shield_esp32
|
||||
; default_envs = m5atom
|
||||
@@ -439,7 +440,7 @@ build_flags = ${common.build_flags_esp8266} -D LEDPIN=12 -D IRPIN=-1 -D RLYPIN=2
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# custom board configurations
|
||||
# MoonModules configs
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
[env:esp32mdev]
|
||||
@@ -450,12 +451,46 @@ platform_packages = ${esp32.platform_packages}
|
||||
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 USERMOD_AUDIOREACTIVE
|
||||
-D UWLED_USE_MY_CONFIG
|
||||
-D USERMOD_CUSTOMEFFECTS
|
||||
-D USERMOD_AUDIOREACTIVE
|
||||
-D UM_AUDIOREACTIVE_USE_NEW_FFT
|
||||
; -D WLED_DEBUG
|
||||
lib_deps = ${esp32.lib_deps}
|
||||
https://github.com/blazoncek/arduinoFFT.git ; arduinoFFT @ 1.5.6
|
||||
https://github.com/kosme/arduinoFFT#develop @ 1.9.2
|
||||
; monitor_filters = esp32_exception_decoder
|
||||
board_build.partitions = ${esp32.default_partitions}
|
||||
board_build.f_flash = 80000000L
|
||||
board_build.flash_mode = dio
|
||||
|
||||
[env:esp32mdevums]
|
||||
board = esp32dev
|
||||
platform = ${esp32.platform}
|
||||
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 #-D WLED_DISABLE_BLYNK #-D WLED_DISABLE_BROWNOUT_DET
|
||||
-D UWLED_USE_MY_CONFIG
|
||||
-D USERMOD_CUSTOMEFFECTS
|
||||
-D USERMOD_AUDIOREACTIVE
|
||||
-D UM_AUDIOREACTIVE_USE_NEW_FFT
|
||||
|
||||
-D USERMOD_DALLASTEMPERATURE
|
||||
-D USE_ALT_DISPlAY
|
||||
-D USERMOD_FOUR_LINE_DISPLAY
|
||||
-D USERMOD_ROTARY_ENCODER_UI
|
||||
-D USERMOD_AUTO_SAVE
|
||||
; -D WLED_DEBUG
|
||||
|
||||
lib_deps = ${esp32.lib_deps}
|
||||
OneWire@~2.3.5
|
||||
olikraus/U8g2 @ ^2.28.8
|
||||
https://github.com/kosme/arduinoFFT#develop @ 1.9.2
|
||||
; monitor_filters = esp32_exception_decoder
|
||||
board_build.partitions = ${esp32.default_partitions}
|
||||
board_build.f_flash = 80000000L
|
||||
board_build.flash_mode = dio
|
||||
|
||||
[env:esp8266mdev]
|
||||
extends = env:d1_mini
|
||||
@@ -471,6 +506,10 @@ build_flags = ${common.build_flags_esp8266}
|
||||
-UWLED_USE_MY_CONFIG
|
||||
; monitor_filters = esp32_exception_decoder
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# custom board configurations
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
[env:wemos_shield_esp32]
|
||||
board = esp32dev
|
||||
platform = espressif32@3.2
|
||||
@@ -482,18 +521,19 @@ build_flags = ${common.build_flags_esp32}
|
||||
-D BTNPIN=17
|
||||
-D IRPIN=18
|
||||
-D UWLED_USE_MY_CONFIG
|
||||
-D USERMOD_CUSTOMEFFECTS
|
||||
-D USERMOD_AUDIOREACTIVE -D AUDIOPIN=-1 -D DMTYPE=1 -D I2S_SDPIN=32 -D I2S_WSPIN=15 -D I2S_CKPIN=14
|
||||
-D UM_AUDIOREACTIVE_USE_NEW_FFT
|
||||
-D USERMOD_DALLASTEMPERATURE -D TEMPERATURE_PIN=23
|
||||
-D USE_ALT_DISPlAY
|
||||
-D USERMOD_FOUR_LINE_DISPLAY -D FLD_PIN_SCL=22 -D FLD_PIN_SDA=21
|
||||
-D USERMOD_ROTARY_ENCODER_UI -D ENCODER_DT_PIN=18 -D ENCODER_CLK_PIN=5 -D ENCODER_SW_PIN=19
|
||||
-D USERMOD_AUDIOREACTIVE -D AUDIOPIN=-1 -D DMTYPE=1 -D I2S_SDPIN=32 -D I2S_WSPIN=15 -D I2S_CKPIN=14
|
||||
-D USERMOD_CUSTOMEFFECTS
|
||||
; -D WLED_DEBUG
|
||||
-D USERMOD_AUTO_SAVE
|
||||
lib_deps = ${esp32.lib_deps}
|
||||
OneWire@~2.3.5
|
||||
olikraus/U8g2 @ ^2.28.8
|
||||
https://github.com/blazoncek/arduinoFFT.git ; arduinoFFT @ 1.5.6
|
||||
https://github.com/kosme/arduinoFFT#develop @ 1.9.2
|
||||
board_build.partitions = ${esp32.default_partitions}
|
||||
; board_build.partitions = tools/SoundReactive_ESP32_16MB.csv ; ESP32 16MB
|
||||
|
||||
|
||||
Reference in New Issue
Block a user