Skip to content

Commit 98195b4

Browse files
authored
Merge branch 'MoonModules:mdev' into Strip_Level_Color_Adjust
2 parents 72e8fca + 6b00d2f commit 98195b4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2491
-1177
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ body:
4848
attributes:
4949
label: What version/release of MM WLED?
5050
description: You can find this in by going to Config -> Security & Updates -> Scroll to Bottom. Copy and paste the entire line after "Server message"
51-
placeholder: "e.g. build 2401290, WLEDMM_0.14.1-b31.38_esp32_4MB_M.bin"
51+
placeholder: "e.g. build 2401290, WLEDMM_0.14.1-b32.40_esp32_4MB_M.bin"
5252
validations:
5353
required: true
5454
- type: dropdown

.github/workflows/wled-ci.yml

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ jobs:
88
name: Gather Environments
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Cache pip
13-
uses: actions/cache@v3
13+
uses: actions/cache@v4
1414
with:
1515
path: ~/.cache/pip
1616
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
1717
restore-keys: |
1818
${{ runner.os }}-pip-
19-
- uses: actions/setup-python@v4
19+
- uses: actions/setup-python@v5
2020
with:
2121
python-version: '3.9'
2222
- name: Install PlatformIO
@@ -38,21 +38,24 @@ jobs:
3838
matrix:
3939
environment: ${{ fromJSON(needs.get_default_envs.outputs.environments) }}
4040
steps:
41-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
4242
- name: Cache pip
43-
uses: actions/cache@v3
43+
uses: actions/cache@v4
4444
with:
4545
path: ~/.cache/pip
4646
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
4747
restore-keys: |
4848
${{ runner.os }}-pip-
4949
- name: Cache PlatformIO
50-
uses: actions/cache@v3
50+
uses: actions/cache@v4
5151
with:
5252
path: ~/.platformio
5353
key: ${{ runner.os }}-${{ matrix.environment}}-${{ hashFiles('platformio.ini') }}
54+
restore-keys: |
55+
${{ runner.os }}-${{ matrix.environment}}
56+
5457
- name: Set up Python
55-
uses: actions/setup-python@v4
58+
uses: actions/setup-python@v5
5659
with:
5760
python-version: '3.9'
5861
- name: Install PlatformIO
@@ -61,26 +64,28 @@ jobs:
6164
env:
6265
WLED_RELEASE: True
6366
run: pio run -e ${{ matrix.environment }}
64-
- uses: actions/upload-artifact@v2
67+
- name: Rename Bin
68+
run: mv -v .pio/build/${{ matrix.environment }}/firmware.bin firmware-${{ matrix.environment }}.bin
69+
- uses: actions/upload-artifact@v4
6570
with:
6671
name: firmware-${{ matrix.environment }}
67-
path: |
68-
build_output/firmware/*.bin
69-
build_output/firmware/*.gz
70-
- uses: actions/upload-artifact@v2
72+
path: firmware-${{ matrix.environment }}.bin
73+
- uses: actions/upload-artifact@v4
7174
if: startsWith(github.ref, 'refs/tags/')
7275
with:
73-
name: firmware-release
76+
name: firmware-release-${{ matrix.environment }}
7477
path: build_output/release/*.bin
7578
release:
7679
name: Create Release
7780
runs-on: ubuntu-latest
7881
needs: [get_default_envs, build]
7982
if: startsWith(github.ref, 'refs/tags/')
8083
steps:
81-
- uses: actions/download-artifact@v2
84+
- uses: actions/download-artifact@v4
8285
with:
83-
name: firmware-release
86+
name: firmware-release-*
87+
- name: List Artifacts
88+
run: find ./
8489
- name: Create draft release
8590
uses: softprops/action-gh-release@v1
8691
with:

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wled",
3-
"version": "0.14.1-b31.38",
3+
"version": "0.14.1-b32.41.dev",
44
"description": "Tools for WLED project",
55
"main": "tools/cdata.js",
66
"directories": {

platformio.ini

Lines changed: 145 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ default_envs =
7272
esp32_pico_4MB_M
7373
esp32_4MB_PSRAM_S
7474
; esp32_4MB_PSRAM_REV3_S ;; experimental, optimized for WROVER-E with "revision3" chip
75+
esp32S3_4MB_S
7576
esp32S3_8MB_S ;; experimental, optimized for speed
7677
esp32S3_8MB_M
7778
esp32S3_4MB_PSRAM_S ;; for lolin s3 mini, S3 zero, S3 super mini - optimized for speed
@@ -80,10 +81,11 @@ default_envs =
8081
;; esp32s2_tinyUF2_PSRAM_S ;; experimental - only for adafruit -S2 boards with tinyUF2 bootloader !!!
8182
esp32s2_PSRAM_M ;; experimental
8283
esp32c3dev_4MB_M ;; experimental
84+
esp32c3dev_2MB_M ;; experimental - 2MB Flash, no OTA
8385
esp32c3mini_dio_4MB_M ;; for boards that need "dio" flash mode (instead of qio)
8486
seeed_esp32c3_4MB_S ;; experimental
8587
esp32_4MB_V4_S ;; experimental
86-
esp32_16MB_V4_S ;; experimental, optimized for speed
88+
esp32_16MB_V4_S ;; experimental - optimized for speed
8789
esp32_16MB_V4_M ;; experimental
8890
esp32_16MB_V4_M_debug ;; experimental
8991
esp32_pico_4MB_V4_S ;; experimental - may work better in case you experience wifi connectivity problems
@@ -186,6 +188,7 @@ build_flags =
186188
-D DECODE_SONY=true
187189
-D DECODE_SAMSUNG=true
188190
-D DECODE_LG=true
191+
-D FASTLED_NO_FASTLED
189192
;-Dregister= # remove warnings in C++17 due to use of deprecated register keyword by the FastLED library ;; warning: this breaks framework code on ESP32-C3 and ESP32-S2
190193
-DWLED_USE_MY_CONFIG
191194
; -D USERMOD_SENSORSTOMQTT
@@ -239,6 +242,8 @@ upload_speed = 115200
239242
lib_compat_mode = strict
240243
lib_deps =
241244
fastled/FastLED @ 3.6.0
245+
;; fastled/FastLED @ 3.7.1
246+
;; https://github.com/softhack007/FastLED.git#ESP32-C6 ;; patched version needed for -C6
242247
IRremoteESP8266 @ 2.8.2
243248
;;makuna/NeoPixelBus @ 2.7.5 ;; WLEDMM will be added in board specific sections
244249
;;https://github.com/Aircoookie/ESPAsyncWebServer.git @ ~2.0.7
@@ -1029,9 +1034,16 @@ DMXin_lib_deps = https://github.com/someweisguy/esp_dmx.git#47db25d ;; for DMX_
10291034
DMXin_lib_ignore = esp_dmx ;; to remove the esp-dmx lib dependancy (saves a few bytes)
10301035

10311036
HUB75_build_flags =
1032-
-D WLED_ENABLE_HUB75MATRIX ;-D SPIRAM_FRAMEBUFFER ;; WLEDMM HUB75 support - requires ESP-IDF v4.4.x
1033-
-D NO_GFX ; Disable the use of Adafruit_GFX by the HUB75 driver
1034-
HUB75_lib_deps = https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA.git @ 3.0.10
1037+
-D WLED_ENABLE_HUB75MATRIX ;; - requires ESP-IDF v4.4.x
1038+
;-D SPIRAM_FRAMEBUFFER ;; ONLY SUPPORTED ON ESP32-S3 VARIANTS WITH OCTAL (not quad) SPIRAM/PSRAM
1039+
-D NO_GFX ;; Disable the use of Adafruit_GFX by the HUB75 driver
1040+
-D NO_FAST_FUNCTIONS ;; If you are not using AdafruitGFX than you probably do not need this either, save memory/code size
1041+
-D NO_CIE1931 ;; Do not use LED brightness compensation described in CIE 1931. We use FastLED dimming already
1042+
-D S3_LCD_DIV_NUM=20 ;; Attempt to fix wifi performance issue when panel active with S3 chips
1043+
;; HUB75_lib_deps = https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git @ 3.0.11 ;; breaks the build (2024-07-30)
1044+
;; HUB75_lib_deps = https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#1e4c80a26454aca7b8129bd5a966b0af329d2703 ;; 3.0.10 - something strange is going on here ...
1045+
;; HUB75_lib_deps = https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#1e4c80a26454aca7b8129bd5a966b0af329d2703 ;; 3.0.10 - something strange is going on here ...
1046+
HUB75_lib_deps = https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA.git#c4ecdcfeeb5aa668d92ddf3c3c74bc93316f6e10 ;; 3.0.11
10351047
HUB75_lib_ignore = ESP32 HUB75 LED MATRIX PANEL DMA Display ;; to remove the HUB75 lib dependancy (saves a few bytes)
10361048

10371049
NetDebug_build_flags =
@@ -1594,6 +1606,67 @@ lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
15941606
lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
15951607
; RAM: [=== ] 28.1% (used 91960 bytes from 327680 bytes)
15961608
; Flash: [==========] 97.8% (used 1537777 bytes from 1572864 bytes)
1609+
1610+
;; softhack007: my favourite HUB75 buildenv - fastest possible
1611+
[env:esp32_4MB_V4_HUB75_forum]
1612+
extends = esp32_4MB_V4_S_base
1613+
platform_packages = ${esp32_4MB_V4_S_base.platform_packages}
1614+
;; toolchain-xtensa-esp32@~11.2 ;; for trying out newer gcc @11.2.0+2022r1 ;; 25fps -> 30fps;; FastLED 3.7.1 required !!
1615+
1616+
build_unflags = ${esp32_4MB_V4_S_base.build_unflags}
1617+
${Speed_Flags.build_unflags} ;; to override -Os
1618+
;; -D WLED_ENABLE_DMX_INPUT
1619+
-DARDUINO_EVENT_RUNNING_CORE=1
1620+
;;-DCORE_DEBUG_LEVEL=0
1621+
;; -D NDEBUG
1622+
-D NO_CIE1931 ;; Do use LED brightness compensation described in CIE 1931
1623+
1624+
build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags}
1625+
;; -Wsuggest-attribute=const -Wsuggest-attribute=pure
1626+
;; -Wmissing-noreturn -Wmissing-return
1627+
;; -Wall -Wextra
1628+
-Wno-unused-value -Wno-format -Wno-type-limits
1629+
-D WLED_RELEASE_NAME=esp32_4MB_V4_HUB75
1630+
${Speed_Flags.build_flags} ;; -O2 -> optimize for speed instead of size
1631+
;; -D DEBUG
1632+
-D WLED_WATCHDOG_TIMEOUT=0 #-D WLED_DISABLE_BROWNOUT_DET
1633+
-D ARDUINO_USB_CDC_ON_BOOT=0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
1634+
-D WLEDMM_FASTPATH ; WLEDMM experimental option. Reduces audio lag (latency), and allows for faster LED framerates. May break compatibility with previous versions.
1635+
-D WLED_DISABLE_LOXONE
1636+
-D WLED_DISABLE_ALEXA
1637+
-D WLED_DISABLE_HUESYNC
1638+
-D WLED_DISABLE_MQTT
1639+
-D WLED_DISABLE_INFRARED
1640+
-D WLED_DISABLE_ADALIGHT
1641+
;; -D WLED_DEBUG
1642+
;; -D SR_DEBUG
1643+
-D WLED_BOOTUPDELAY=350
1644+
-D WLED_ENABLE_HUB75MATRIX -DESP32_FORUM_PINOUT
1645+
;; -D HUB75_NO_DOUBLEBUFFER ;; -D PIXEL_COLOUR_DEPTH_BITS=12
1646+
${common_mm.animartrix_build_flags}
1647+
;;-DARDUINO_EVENT_RUNNING_CORE=0 ;; assign Wifi to core0, to have more CPU on core#1 (arduino loop)
1648+
;;-DARDUINO_RUNNING_CORE=1 ;; should be default, but does not hurt
1649+
-DCONFIG_MBEDTLS_DYNAMIC_BUFFER=1 ;; optional - seems to move more buffers into PSRAM
1650+
;; -D CONFIG_ESP32_REV_MIN=3 ;; disables PSRAM bug workarounds in the core, reducing the code size and improving overall performance.
1651+
-D JSON_BUFFER_SIZE=18432 -D MIN_HEAP_SIZE=6144
1652+
-D MAX_SEGMENT_DATA=40960 ;; default 32767
1653+
-D WLEDMM_SAVE_FLASH
1654+
-D WLED_DISABLE_BROWNOUT_DET
1655+
;;-DCORE_DEBUG_LEVEL=1
1656+
;;-D WLED_DISABLE_PARTICLESYSTEM1D
1657+
;;-D WLED_DISABLE_PARTICLESYSTEM2D
1658+
;;-D WLED_DISABLE_PARTICLESYSTEM_BUFFER
1659+
1660+
lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
1661+
${common_mm.animartrix_lib_deps}
1662+
lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
1663+
;; ${common_mm.DMXin_lib_ignore}
1664+
1665+
board_build.partitions = ${esp32.big_partitions}
1666+
board_build.f_flash = 80000000L ; use full 80MHz speed for flash (default = 40Mhz)
1667+
board_build.flash_mode = qio ; (dio = dual i/o; more compatible than qio = quad i/o)
1668+
1669+
15971670
; compiled with ESP-IDF 4.4.1
15981671
[env:esp32_4MB_V4_M]
15991672
extends = esp32_4MB_V4_M_base
@@ -1780,6 +1853,32 @@ lib_deps = ${esp32_4MB_V4_M_base.esp32_lib_deps}
17801853
# ------------------------------------------------------------------------------
17811854
# esp32-S3 environments
17821855
# ------------------------------------------------------------------------------
1856+
[env:esp32S3_4MB_S] ;; Use for HD-WF2
1857+
extends = esp32_4MB_V4_M_base
1858+
board = esp32-s3-devkitc-1
1859+
build_unflags =
1860+
-D USERMOD_DALLASTEMPERATURE ;; disabled because it hangs during usermod setup on -S3 (autodetect broken?)
1861+
-D USE_ALT_DISPLAY ;; four line display seems to have problems with I2C - it hangs during usermod setup
1862+
-D USERMOD_FOUR_LINE_DISPLAY ;; see above
1863+
-D USERMOD_ROTARY_ENCODER_UI ;; see above
1864+
-D WLED_ENABLE_DMX ;; disabled because it does not work with ESP-IDF 4.4.x (buggy driver in SparkFunDMX)
1865+
1866+
build_flags = ${common.build_flags} ${esp32s3.build_flags} -Wno-misleading-indentation -Wno-format-truncation
1867+
${common_mm.build_flags_S}
1868+
${common_mm.HUB75_build_flags}
1869+
${common_mm.animartrix_build_flags}
1870+
-D WLED_RELEASE_NAME=esp32S3_4MB_S
1871+
-DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0 ;; for Serial-to-USB chip
1872+
;;-DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=1 ;; for Hardware-CDC USB mode
1873+
-D WLED_DISABLE_ADALIGHT ;; disables serial protocols - recommended for Hardware-CDC USB (Serial RX will receive junk commands when RX pin is unconnected, unless its pulled down by resistor)
1874+
-D WLED_WATCHDOG_TIMEOUT=0 -D CONFIG_ASYNC_TCP_USE_WDT=0
1875+
${common_mm.build_disable_sync_interfaces}
1876+
-D WLEDMM_FASTPATH ; WLEDMM experimental option. Reduces audio lag (latency), and allows for faster LED framerates. May break compatibility with previous versions.
1877+
; -D WLED_DEBUG
1878+
; -D SR_DEBUG
1879+
lib_deps = ${esp32s3.lib_deps} ${common_mm.lib_deps_S}
1880+
${common_mm.HUB75_lib_deps}
1881+
${common_mm.animartrix_lib_deps}
17831882

17841883

17851884
[env:esp32S3_8MB_M]
@@ -1794,6 +1893,8 @@ build_unflags =
17941893

17951894
build_flags = ${common.build_flags} ${esp32s3.build_flags} -Wno-misleading-indentation -Wno-format-truncation
17961895
${common_mm.build_flags_S} ${common_mm.build_flags_M}
1896+
${common_mm.HUB75_build_flags}
1897+
${common_mm.animartrix_build_flags}
17971898
; -DBOARD_HAS_PSRAM -D WLED_USE_PSRAM_JSON -D WLED_USE_PSRAM ;; un-comment in case your board supports PSRAM
17981899
-D WLED_RELEASE_NAME=esp32S3_8MB_M
17991900
-DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0 ;; for Serial-to-USB chip
@@ -1821,6 +1922,9 @@ build_flags = ${common.build_flags} ${esp32s3.build_flags} -Wno-misleading-inden
18211922
; -D SR_DEBUG
18221923
; -D MIC_LOGGER
18231924
lib_deps = ${esp32s3.lib_deps} ${common_mm.lib_deps_S} ${common_mm.lib_deps_V4_M}
1925+
${common_mm.HUB75_lib_deps}
1926+
${common_mm.animartrix_lib_deps}
1927+
18241928
;lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
18251929
board_build.partitions = tools/WLED_ESP32_8MB.csv
18261930
board_build.flash_mode = qio
@@ -2101,7 +2205,6 @@ monitor_filters = esp32_exception_decoder
21012205
; RAM: [== ] 21.8% (used 71304 bytes from 327680 bytes)
21022206
; Flash: [======== ] 84.0% (used 1596970 bytes from 1900544 bytes)
21032207

2104-
21052208
# ------------------------------------------------------------------------------
21062209
# esp32-C3 environments
21072210
# ------------------------------------------------------------------------------
@@ -2180,6 +2283,33 @@ build_flags = ${env:esp32c3dev_4MB_M.build_flags}
21802283
; RAM: [=== ] 25.8% (used 84700 bytes from 327680 bytes)
21812284
; Flash: [==========] 98.7% (used 1552582 bytes from 1572864 bytes)
21822285

2286+
[env:esp32c3dev_2MB_M]
2287+
extends = env:esp32c3dev_4MB_M
2288+
board = lolin_c3_mini
2289+
;;; replace WLED_RELEASE_NAME, disable CDC_ON_BOOT
2290+
build_unflags = ${env:esp32c3dev_4MB_M.build_unflags}
2291+
-DARDUINO_USB_CDC_ON_BOOT=1
2292+
-D WLED_RELEASE_NAME=esp32c3dev_4MB_M
2293+
2294+
;;; 2MB Flash, no OTA
2295+
board_build.partitions = tools/WLED_ESP32_2MB_noOTA.csv
2296+
board_build.flash_mode = dio
2297+
board_upload.flash_size = 2MB
2298+
board_upload.maximum_size = 2097152
2299+
2300+
build_flags = ${env:esp32c3dev_4MB_M.build_flags}
2301+
-D WLED_WATCHDOG_TIMEOUT=0
2302+
-D WLED_DISABLE_OTA
2303+
; -DARDUINO_USB_CDC_ON_BOOT=1 ;; for virtual CDC USB
2304+
-DARDUINO_USB_CDC_ON_BOOT=0 ;; for serial-to-USB chip
2305+
-D WLED_RELEASE_NAME=esp32c3dev_2MB_M
2306+
-D WLED_DISABLE_BROWNOUT_DET ;; the board only has a 500mA LDO, better to disable brownout detection
2307+
-D WLED_DISABLE_ADALIGHT ;; to disable serial protocols for boards with CDC USB (Serial RX will receive junk commands, unless its pulled down by resistor)
2308+
-D HW_PIN_SDA=0 -D HW_PIN_SCL=1 ;; avoid pin conflicts
2309+
2310+
; RAM: [=== ] 25.3% (used 82828 bytes from 327680 bytes)
2311+
; Flash: [==========] 97.9% (used 1540138 bytes from 1572864 bytes)
2312+
21832313
;; MM environment for "seeed xiao -C3" boards
21842314
[env:seeed_esp32c3_4MB_S]
21852315
extends = env:esp32c3dev_4MB_M
@@ -2362,12 +2492,17 @@ board_build.partitions = tools/WLED_ESP32_16MB.csv ;; WLED standard for
23622492
;https://www.athom.tech/blank-1/wled-esp32-music-addressable-led-strip-controller
23632493
[env:athom_music_esp32_4MB_M]
23642494
extends = esp32_4MB_M_base
2495+
build_unflags = ${common.build_unflags}
2496+
-D USERMOD_ARTIFX ;; disabled to save some program space in flash
2497+
-D USERMOD_DALLASTEMPERATURE ;; disabled - flash space is too tight for this
2498+
-D USERMOD_ROTARY_ENCODER_UI ;; see above
23652499
build_flags = ${esp32_4MB_M_base.build_flags}
23662500
${Athom_PDMmic.build_flags}
23672501
-D WLED_AP_SSID_UNIQUE
23682502
-D WLED_RELEASE_NAME=athom_music_esp32_4MB_M
23692503
-D ABL_MILLIAMPS_DEFAULT=14500 ; max 15A
2370-
-D WLED_DISABLE_MQTT -D WLED_DISABLE_LOXONE
2504+
; -D WLED_DISABLE_MQTT
2505+
-D WLED_DISABLE_LOXONE
23712506
-D WLED_DISABLE_ADALIGHT ;to get 4ld working
23722507
-D BTNPIN=0 -D RLYPIN=2 -D IRPIN=25 -D IRTYPE=9 -D LEDPIN=18
23732508
-D AUDIOPIN=-1
@@ -2379,8 +2514,9 @@ build_flags = ${esp32_4MB_M_base.build_flags}
23792514
; -D PIR_SENSOR_PIN=-1
23802515
; -D PWM_PIN=-1
23812516
; -D WLED_USE_MY_CONFIG
2382-
; RAM: [=== ] 25.9% (used 84948 bytes from 327680 bytes)
2383-
; Flash: [==========] 95.9% (used 1509113 bytes from 1572864 bytes)
2517+
-D WLEDMM_SAVE_FLASH
2518+
; RAM: [=== ] 26.3% (used 86204 bytes from 327680 bytes)
2519+
; Flash: [========= ] 93.6% (used 1471681 bytes from 1572864 bytes)
23842520

23852521
;https://shop.myhome-control.de/Elektronik/
23862522
[env:abc_wled_controller_v43_S]
@@ -2491,6 +2627,7 @@ build_unflags = ${env:esp32S3_8MB_M.build_unflags} ;; use the same as "normal"
24912627
build_flags = ${common.build_flags} ${esp32s3.build_flags} -Wno-misleading-indentation -Wno-format-truncation
24922628
${common_mm.build_flags_S}
24932629
-D WLED_RELEASE_NAME=matrixportal_esp32s3
2630+
-D SERVERNAME='"WLED-MatrixPortalS3"'
24942631
; Serial debug enabled -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=1 ;; for Hardware-CDC USB mode
24952632
-D ARDUINO_USB_CDC_ON_BOOT=0
24962633
-D WLED_DISABLE_ADALIGHT ;; disables serial protocols - recommended for Hardware-CDC USB (Serial RX will receive junk commands when RX pin is unconnected, unless its pulled down by resistor)

usermods/BH1750_v2/usermod_bh1750.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Usermod_BH1750 : public Usermod
7676
bool sensorFound = false;
7777

7878
// Home Assistant and MQTT
79-
String mqttLuminanceTopic = FPSTR("");
79+
String mqttLuminanceTopic;
8080
bool mqttInitialized = false;
8181
bool HomeAssistantDiscovery = true; // Publish Home Assistant Discovery messages
8282

0 commit comments

Comments
 (0)