Full support for Athom WLED Music Controller

- athom_music_esp32_4MB_M bin
- show flashsize in info tab and /getflash
- support of their ir-remote (24-key music)

Not supported yet
- mac addres in AP name (need to experiment with WLED_AP_SSID_UNIQUE)
This commit is contained in:
Ewoud
2023-03-21 12:51:29 +01:00
parent 81fd9be03a
commit b271168f81
6 changed files with 2261 additions and 2225 deletions

View File

@@ -69,6 +69,7 @@ default_envs =
esp8266pro_16MB_M
esp01_1MB_S
esp32_16MB_M_eth
athom_music_esp32_4MB_M
; Go to MoonModules environments for environments
@@ -1535,6 +1536,24 @@ board = esp32_16MB
board_build.partitions = tools/WLED_ESP32_16MB.csv ;; WLED standard for 16MB flash: 2MB firmware, 12 MB filesystem
;board_build.partitions = tools/WLED_ESP32_16MB_9MB_FS.csv ;; WLED extended for 16MB flash: 3.2MB firmware, 9 MB filesystem
[env:athom_music_esp32_4MB_M]
extends = esp32_4MB_M_base
build_flags = ${esp32_4MB_M_base.build_flags} ${Shield_SPM1423.build_flags}
-D WLED_AP_SSID_UNIQUE
-D WLED_RELEASE_NAME=athom_music_esp32_4MB_M
-D ABL_MILLIAMPS_DEFAULT=14500 ; Wemos max 10A
-D WLED_DISABLE_MQTT -D WLED_DISABLE_LOXONE
-D BTNPIN=0 -D RLYPIN=2 -D IRPIN=25 -D IRTYPE=9 -D LEDPIN=18 -D
-D AUDIOPIN=-1
; -D TEMPERATURE_PIN=23
-D FLD_PIN_SCL=-1 -D FLD_PIN_SDA=-1 ; use global!
-D HW_PIN_SCL=22 -D HW_PIN_SDA=21
-D HW_PIN_CLOCKSPI=-1 -D HW_PIN_MOSISPI=-1 -D HW_PIN_MISOSPI=-1 ; WLEDMM: is now also default but just to show we didn't agree on wemos pins for spi yet
; -D ENCODER_DT_PIN=35 -D ENCODER_CLK_PIN=39 -D ENCODER_SW_PIN=5 ; WLEDMM spec by @SERG74: use 35 and 39 instead of 18 and 19 (conflicts)
; -D PIR_SENSOR_PIN=-1
; -D PWM_PIN=-1
; -D WLED_USE_MY_CONFIG
; ESP32 WLED pico board with builtin ICS-43432 microphpone
[env:esp32_pico_4MB_M]
extends = esp32_4MB_M_base