@@ -10,7 +10,7 @@ default_envs = WLED_tasmota_1M # define as many as you need
1010# ----------
1111# SAMPLE
1212# ----------
13- [env:WLED_tasmota_1M ]
13+ [env:WLED_generic8266_1M ]
1414extends = env:esp01_1m_full # when you want to extend the existing environment (define only updated options)
1515; board = esp01_1m # uncomment when ou need different board
1616; platform = ${common.platform_wled_default} # uncomment and change when you want particular platform
@@ -26,9 +26,9 @@ lib_deps = ${esp8266.lib_deps}
2626; adafruit/Adafruit BME280 Library@^2.2.2
2727; Wire
2828; robtillaart/SHT85@~0.3.3
29- ; gmag11/QuickESPNow ;@ 0.6.2
29+ ; ; gmag11/QuickESPNow @ ~0.7.0 # will also load QuickDebug
3030; https://github.com/blazoncek/QuickESPNow.git#optional-debug ;; exludes debug library
31- ; https://github.com/kosme/arduinoFFT#develop @ 2.0.1 ;; used for USERMOD_AUDIOREACTIVE
31+ ; ${esp32.AR_lib_deps} ;; used for USERMOD_AUDIOREACTIVE
3232build_unflags = ${common.build_unflags}
3333build_flags = ${common.build_flags} ${esp8266.build_flags}
3434;
@@ -51,6 +51,11 @@ build_flags = ${common.build_flags} ${esp8266.build_flags}
5151; -D WLED_DISABLE_ESPNOW
5252; -D WLED_DISABLE_BROWNOUT_DET
5353;
54+ ; enable optional built-in features
55+ ; -D WLED_ENABLE_PIXART
56+ ; -D WLED_ENABLE_USERMOD_PAGE # if created
57+ ; -D WLED_ENABLE_DMX
58+ ;
5459; PIN defines - uncomment and change, if needed:
5560; -D LEDPIN=2
5661; or use this for multiple outputs
@@ -64,6 +69,8 @@ build_flags = ${common.build_flags} ${esp8266.build_flags}
6469;
6570; Limit max buses
6671; -D WLED_MAX_BUSSES=2
72+ ; -D WLED_MAX_ANALOG_CHANNELS=3 # only 3 PWM HW pins available
73+ ; -D WLED_MAX_DIGITAL_CHANNELS=2 # only 2 HW accelerated pins available
6774;
6875; Configure default WiFi
6976; -D CLIENT_SSID='"MyNetwork"'
@@ -128,12 +135,12 @@ build_flags = ${common.build_flags} ${esp8266.build_flags}
128135;
129136; Use PIR sensor usermod and configure it to use GPIO4 and timer of 60s
130137; -D USERMOD_PIRSWITCH
131- ; -D PIR_SENSOR_PIN=4
138+ ; -D PIR_SENSOR_PIN=4 # use -1 to disable usermod
132139; -D PIR_SENSOR_OFF_SEC=60
140+ ; -D PIR_SENSOR_MAX_SENSORS=2 # max allowable sensors (uses OR logic for triggering)
133141;
134142; Use Audioreactive usermod and configure I2S microphone
135143; -D USERMOD_AUDIOREACTIVE
136- ; -D UM_AUDIOREACTIVE_USE_NEW_FFT
137144; -D AUDIOPIN=-1
138145; -D DMTYPE=1 # 0-analog/disabled, 1-I2S generic, 2-ES7243, 3-SPH0645, 4-I2S+mclk, 5-I2S PDM
139146; -D I2S_SDPIN=36
@@ -155,18 +162,22 @@ build_flags = ${common.build_flags} ${esp8266.build_flags}
155162; -D DEFAULT_LED_COUNT=30
156163; or this for multiple outputs
157164; -D PIXEL_COUNTS=30,30
158- ;
159- ; set milliampere limit when using ESP pin to power leds
165+ ;
166+ ; set the default LED type
167+ ; -D DEFAULT_LED_TYPE=22 # see const.h (TYPE_xxxx)
168+ ;
169+ ; set milliampere limit when using ESP power pin (or inadequate PSU) to power LEDs
160170; -D ABL_MILLIAMPS_DEFAULT=850
171+ ; -D LED_MILLIAMPS_DEFAULT=55
161172;
162173; enable IR by setting remote type
163- ; -D IRTYPE=0 ; 0 Remote disabled | 1 24-key RGB | 2 24-key with CT | 3 40-key blue | 4 40-key RGB | 5 21-key RGB | 6 6-key black | 7 9-key red | 8 JSON remote
174+ ; -D IRTYPE=0 # 0 Remote disabled | 1 24-key RGB | 2 24-key with CT | 3 40-key blue | 4 40-key RGB | 5 21-key RGB | 6 6-key black | 7 9-key red | 8 JSON remote
164175;
165176; set default color order of your led strip
166177; -D DEFAULT_LED_COLOR_ORDER=COL_ORDER_GRB
167178;
168179; use PSRAM on classic ESP32 rev.1 (rev.3 or above has no issues)
169- ; -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
180+ ; -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue # needed only for classic ESP32 rev.1
170181;
171182; configure I2C and SPI interface (for various hardware)
172183; -D I2CSDAPIN=33 # initialise interface
0 commit comments