new environment for "d1 mini pro" ESP8266

D1 mini pro": ESP8266EX, 160MHz, 80KB RAM, 16MB Flash
This commit is contained in:
Frank
2023-01-11 14:21:34 +01:00
parent 94032af61d
commit b87d50fce4
2 changed files with 33 additions and 4 deletions

View File

@@ -151,6 +151,11 @@ ldscript_2m512k = eagle.flash.2m512.ld
ldscript_2m1m = eagle.flash.2m1m.ld
ldscript_4m1m = eagle.flash.4m1m.ld
;; WLEDMM: additional partion layouts for 8266 "pro" with 8MB or 16MB. On 8266 the max program size is always 1MB
ldscript_auto = eagle.flash.auto.ld
ldscript_8m6m = eagle.flash.8m6m.ld
ldscript_16m14m = eagle.flash.16m14m.ld
[scripts_defaults]
extra_scripts =
pre:pio-scripts/set_version.py
@@ -808,10 +813,34 @@ build_flags = ${common.build_flags_esp8266}
; -D WLED_DISABLE_2D
; -D USERMOD_AUDIOREACTIVE
; -D USERMOD_CUSTOMEFFECTS ; to be done
-UWLED_USE_MY_CONFIG
; -UWLED_USE_MY_CONFIG
; monitor_filters = esp8266_exception_decoder
; RAM: [====== ] 58.7% (used 48056 bytes from 81920 bytes)
; Flash: [======== ] 75.7% (used 790428 bytes from 1044464 bytes)
; RAM: [====== ] 59.3% (used 48608 bytes from 81920 bytes)
; Flash: [======== ] 77.0% (used 804176 bytes from 1044464 bytes)
[env:esp8266pro_16MB_min]
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_min
-D WLED_WATCHDOG_TIMEOUT=0
-D WLED_DISABLE_ALEXA
-D WLED_DISABLE_BLYNK
-D WLED_DISABLE_HUESYNC
; -D WLED_DISABLE_2D
; -D USERMOD_AUDIOREACTIVE
; -D USERMOD_CUSTOMEFFECTS ; to be done
; -UWLED_USE_MY_CONFIG
monitor_filters = esp8266_exception_decoder
; RAM: [====== ] 59.3% (used 48616 bytes from 81920 bytes)
; Flash: [======== ] 77.0% (used 804236 bytes from 1044464 bytes)
# ------------------------------------------------------------------------------
# MoonModules configs for IDF V4.4.x

View File

@@ -8,7 +8,7 @@
*/
// version code in format yymmddb (b = daily build)
#define VERSION 2301100
#define VERSION 2301110
//uncomment this if you have a "my_config.h" file you'd like to use
//#define WLED_USE_MY_CONFIG