Add 4LD to esp8266_4MB_max and D0-D8,RX,TX to pin dropdowns

pio.ini: Add 4LD to esp8266_4MB_max
Settings_um and xml.cpp: add D0-D8,RX,TX to pin dropdowns
This commit is contained in:
Ewoud
2023-01-18 12:04:01 +01:00
parent 2d9b3fd284
commit 5d028b3d3f
4 changed files with 237 additions and 196 deletions

View File

@@ -819,7 +819,7 @@ build_flags = ${common.build_flags_esp8266}
; RAM: [====== ] 59.3% (used 48608 bytes from 81920 bytes)
; Flash: [======== ] 77.0% (used 804176 bytes from 1044464 bytes)
[env:esp8266_4MB_max] ;WLEDMM: WIP
[env:esp8266_4MB_max]
extends = env:d1_mini
upload_speed = 460800 ;115200
board_build.f_cpu = 160000000L ;; we want 160Mhz (default = 80Mhz)
@@ -829,26 +829,56 @@ build_flags = ${common.build_flags_esp8266}
-D WLED_DISABLE_ALEXA
-D WLED_DISABLE_BLYNK
-D WLED_DISABLE_HUESYNC
-D WLED_DISABLE_LOXONE
; -D USERMOD_AUDIOREACTIVE
; -D USERMOD_CUSTOMEFFECTS ; to be done
; -UWLED_USE_MY_CONFIG
-D USERMOD_PIRSWITCH
-D USERMOD_DALLASTEMPERATURE ;; disabled because it hangs during usermod setup on -S3 (autodetect broken?)
-D USERMOD_MULTI_RELAY
; -D USE_ALT_DISPLAY ; new versions of USERMOD_FOUR_LINE_DISPLAY and USERMOD_ROTARY_ENCODER_UI
; -D USERMOD_FOUR_LINE_DISPLAY
-D USE_ALT_DISPLAY ; new versions of USERMOD_FOUR_LINE_DISPLAY and USERMOD_ROTARY_ENCODER_UI
-D USERMOD_FOUR_LINE_DISPLAY
-D USERMOD_MPU6050_IMU ; gyro/accelero for USERMOD_GAMES (ONLY WORKS IF USERMOD_FOUR_LINE_DISPLAY NOT INCLUDED - I2C SHARING BUG)
-D USERMOD_GAMES ; WLEDMM usermod
-D WLED_DEBUG
; monitor_filters = esp8266_exception_decoder
lib_deps = ${esp8266.lib_deps}
OneWire@~2.3.5 ; used for USERMOD_FOUR_LINE_DISPLAY and USERMOD_DALLASTEMPERATURE
; olikraus/U8g2 @ ^2.28.8 ; used for USERMOD_FOUR_LINE_DISPLAY
; olikraus/U8g2@ ^2.34.5 ; used for USERMOD_FOUR_LINE_DISPLAY -> need newer version with bugfixes for arduino-esp32 v2.0.4 (Wire inititialization)
olikraus/U8g2 @ ^2.28.8 ; used for USERMOD_FOUR_LINE_DISPLAY
ElectronicCats/MPU6050 @ 0.6.0 ; used for USERMOD_MPU6050_IMU
; RAM: [====== ] 61.5% (used 50344 bytes from 81920 bytes)
; Flash: [======== ] 81.8% (used 854444 bytes from 1044464 bytes)
; Blaz env (for reference purposes)
[env:d1_mini_temp]
extends = env:d1_mini
board_build.filesystem = littlefs
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP8266
-D WLED_DISABLE_ALEXA
-D WLED_DISABLE_BLYNK
-D WLED_DISABLE_HUESYNC
-D WLED_DISABLE_LOXONE
-D WLED_DISABLE_AUDIO ;WLEDMM not used anywhere
-D WLED_ENABLE_SIMPLE_UI
-D USERMOD_FOUR_LINE_DISPLAY
-D USE_ALT_DISPlAY
-D USERMOD_DALLASTEMPERATURE
-D TEMPERATURE_PIN=13 # (D7)
-D LEDPIN=2 # (D4)
-D RLYPIN=12 # (D6)
-D BTNPIN=0 # (D3)
-D IRPIN=14 # (D5)
-D USERMOD_MULTI_RELAY
-D MULTI_RELAY_MAX_RELAYS=2
-D USERMOD_PIRSWITCH
-D PIR_SENSOR_PIN=16
-D PIR_SENSOR_OFF_SEC=60
-UWLED_USE_MY_CONFIG
lib_deps = ${esp8266.lib_deps}
paulstoffregen/OneWire@~2.3.7 ;WLEDMM Softhack, we need this as well (instead of 2.3.5)?
olikraus/U8g2 # @~2.33.15
Wire ; WLEDMM needed?
[env:esp8266pro_16MB_min]
extends = env:d1_mini
board = d1_mini_pro ;; "D1 mini pro": ESP8266EX, 160MHz, 80KB RAM, 16MB Flash