IMO support in usermod games, add 3D IMO cube effect
- platformio: add USERMOD_MPU6050_IMU and ElectronicCats/MPU6050 @ 0.6.0 to esp32mdevums - USERMOD_MPU6050_IMU: update readme.md and usermod_mpu650_imu.h - usermod_v2_games: support for USERMOD_MPU6050_IMU, add mode_IMUTest and class Frame3D and mode_3DIMUCube, remove old gyro handling - usermods_list.cpp: add USERMOD_MPU6050_IMU
This commit is contained in:
105
platformio.ini
105
platformio.ini
@@ -12,7 +12,7 @@
|
||||
; default_envs = travis_esp8266, travis_esp32
|
||||
|
||||
# Release binaries
|
||||
default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, esp32s2_saola, esp32c3
|
||||
; default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, esp32s2_saola, esp32c3
|
||||
|
||||
# Build everything
|
||||
; default_envs = esp32dev, esp8285_4CH_MagicHome, codm-controller-0.6-rev2, codm-controller-0.6, esp32s2_saola, d1_mini_5CH_Shojo_PCB, d1_mini, sp501e, travis_esp8266, travis_esp32, nodemcuv2, esp32_eth, anavi_miracle_controller, esp07, esp01_1m_full, m5atom, h803wf, d1_mini_ota, heltec_wifi_kit_8, esp8285_H801, d1_mini_debug, wemos_shield_esp32, elekstube_ips
|
||||
@@ -32,6 +32,9 @@ default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, esp32s
|
||||
; default_envs = esp8285_4CH_MagicHome
|
||||
; 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
|
||||
; default_envs = esp32_eth
|
||||
@@ -222,7 +225,9 @@ default_partitions = tools/WLED_ESP32_4MB_1MB_FS.csv
|
||||
|
||||
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
|
||||
https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
|
||||
|
||||
@@ -437,6 +442,82 @@ build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp8266} -D LEDPIN=12 -D IRPIN=-1 -D RLYPIN=2
|
||||
lib_deps = ${esp8266.lib_deps}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# MoonModules configs
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
[env:esp32mdev]
|
||||
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 ABL_MILLIAMPS_DEFAULT=1500 ; 850 not enough for 1024 leds
|
||||
-D UWLED_USE_MY_CONFIG
|
||||
-D USERMOD_AUDIOREACTIVE
|
||||
-D UM_AUDIOREACTIVE_USE_NEW_FFT
|
||||
-D USERMOD_CUSTOMEFFECTS
|
||||
; -D WLED_DEBUG
|
||||
lib_deps = ${esp32.lib_deps}
|
||||
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 ; 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 WLED_MAX_USERMODS=9 ; default only 4-6
|
||||
-D UWLED_USE_MY_CONFIG ; what does this do?
|
||||
-D USERMOD_AUDIOREACTIVE
|
||||
-D UM_AUDIOREACTIVE_USE_NEW_FFT ; explain
|
||||
; -D USERMOD_DALLASTEMPERATURE
|
||||
; -D USE_ALT_DISPlAY ; new versions of USERMOD_FOUR_LINE_DISPLAY and USERMOD_ROTARY_ENCODER_UI
|
||||
; -D USERMOD_FOUR_LINE_DISPLAY
|
||||
; -D USERMOD_ROTARY_ENCODER_UI
|
||||
-D USERMOD_AUTO_SAVE
|
||||
-D USERMOD_CUSTOMEFFECTS ; WLEDSR usermod
|
||||
-D USERMOD_WEATHER ; WLEDSR usermod
|
||||
-D USERMOD_MPU6050_IMU ; gyro/accelero for USERMOD_GAMES (ONLY WORKS IF USERMOD_FOUR_LINE_DISPLAY NOT INCLUDED - I2C SHARING BUG)
|
||||
-D USERMOD_GAMES ; WLEDSR usermod
|
||||
; -D WLED_DEBUG
|
||||
lib_deps = ${esp32.lib_deps}
|
||||
; OneWire@~2.3.5 ; used for USERMOD_FOUR_LINE_DISPLAY, USERMOD_DALLASTEMPERATURE
|
||||
; olikraus/U8g2 @ ^2.28.8 ; used for USERMOD_FOUR_LINE_DISPLAY
|
||||
https://github.com/kosme/arduinoFFT#develop @ 1.9.2 ; used for USERMOD_AUDIOREACTIVE
|
||||
ElectronicCats/MPU6050 @ 0.6.0 ; used for USERMOD_MPU6050_IMU
|
||||
monitor_filters = esp32_exception_decoder ; used to show crash details
|
||||
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?)
|
||||
|
||||
[env:esp8266mdev]
|
||||
extends = env:d1_mini
|
||||
upload_speed = 460800 ;115200
|
||||
build_flags = ${common.build_flags_esp8266}
|
||||
-D WLED_DEBUG
|
||||
-D WLED_DISABLE_ALEXA
|
||||
-D WLED_DISABLE_BLYNK
|
||||
-D WLED_DISABLE_HUESYNC
|
||||
; -D WLED_DISABLE_2D
|
||||
; -D WLED_DISABLE_AUDIO
|
||||
; -D USERMOD_AUDIOREACTIVE
|
||||
-UWLED_USE_MY_CONFIG
|
||||
; monitor_filters = esp8266_exception_decoder
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# custom board configurations
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -444,21 +525,33 @@ lib_deps = ${esp8266.lib_deps}
|
||||
[env:wemos_shield_esp32]
|
||||
board = esp32dev
|
||||
platform = espressif32@3.2
|
||||
upload_speed = 460800
|
||||
upload_speed = 460800 ; or 921600
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_esp32}
|
||||
-D ABL_MILLIAMPS_DEFAULT=1500 ; 850 not enough for 1024 leds
|
||||
-D WLED_MAX_USERMODS=8
|
||||
-D LEDPIN=16
|
||||
-D RLYPIN=19
|
||||
-D BTNPIN=17
|
||||
-D IRPIN=18
|
||||
-D UWLED_USE_MY_CONFIG
|
||||
-D USERMOD_DALLASTEMPERATURE
|
||||
-D USERMOD_FOUR_LINE_DISPLAY
|
||||
-D TEMPERATURE_PIN=23
|
||||
-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_AUTO_SAVE
|
||||
-D USERMOD_WEATHER
|
||||
-D USERMOD_GAMES
|
||||
; -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
|
||||
board_build.partitions = ${esp32.default_partitions}
|
||||
; board_build.partitions = tools/WLED_ESP32_16MB.csv
|
||||
|
||||
[env:m5atom]
|
||||
board = esp32dev
|
||||
|
||||
Reference in New Issue
Block a user