pio env:esp8266pro_16MB_M

This commit is contained in:
Frank
2023-02-23 21:30:55 +01:00
parent 6f4eeea7dc
commit c294ea0e09

View File

@@ -66,6 +66,7 @@ default_envs =
esp32_16MB_V4_M ;; experimental
esp32_16MB_V4_M_debug ;; experimental
esp8266pro_16MB_S
esp8266pro_16MB_M
esp01_1MB_S
; Go to MoonModules environments for environments
@@ -1065,6 +1066,40 @@ monitor_filters = esp8266_exception_decoder
; RAM: [====== ] 59.3% (used 48616 bytes from 81920 bytes)
; Flash: [======== ] 77.0% (used 804236 bytes from 1044464 bytes)
[env:esp8266pro_16MB_M]
extends = env:d1_mini
board = d1_mini_pro ;; "D1 mini pro": ESP8266EX, 160MHz, 80KB RAM, 16MB Flash
board_build.f_cpu = 160000000L ;; we want 160Mhz (default = 80Mhz)
;board_build.f_flash = 80000000L ;; for 80Mhz flash speed, in case your chip can handle it (default = 40Mhz)
board_build.flash_mode = qio ;; quad IO - fastest speed, in case your chip can handle it.
;;board_build.flash_mode = dout ;; use if your esp8266 becomes unstable with "qio"
board_build.ldscript = ${common.ldscript_16m14m} ;; 16MB flash, use 14MB for LittleFS
upload_speed = 460800 ;115200
build_flags = ${common.build_flags_esp8266}
-D WLED_RELEASE_NAME=esp8266pro_16MB_M
-D WLED_MAX_USERMODS=5 ; default only 4-6
-D WLED_DISABLE_ALEXA
-D WLED_DISABLE_HUESYNC
-D WLED_DISABLE_LOXONE
; -D USERMOD_AUDIOREACTIVE
; -D USERMOD_CUSTOMEFFECTS ; to be done
-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 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
ElectronicCats/MPU6050 @ 0.6.0 ; used for USERMOD_MPU6050_IMU
; RAM: [====== ] 62.4% (used 51092 bytes from 81920 bytes)
; Flash: [========= ] 85.5% (used 893056 bytes from 1044464 bytes)
[env:esp01_1MB_S]
board = esp01_1m
platform = ${common.platform_wled_default}
@@ -1076,6 +1111,8 @@ build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA
-D WLED_DISABLE_ALEXA
-D WLED_DISABLE_HUESYNC
lib_deps = ${esp8266.lib_deps}
; RAM: [====== ] 59.5% (used 48748 bytes from 81920 bytes)
; Flash: [========= ] 90.7% (used 809992 bytes from 892912 bytes)
# ------------------------------------------------------------------------------