Skip to content

Commit 439d4a0

Browse files
authored
Merge pull request #5357 from netmindz/idf_4_4_8
Upgrade platform to 4.4.8
2 parents 1f102ca + 6d1d494 commit 439d4a0

File tree

4 files changed

+50
-11
lines changed

4 files changed

+50
-11
lines changed

platformio.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,7 @@ AR_lib_deps = ;; for pre-usermod-library platformio_override compatibility
291291
;; please note that you can NOT update existing ESP32 installs with a "V4" build. Also updating by OTA will not work properly.
292292
;; You need to completely erase your device (esptool erase_flash) first, then install the "V4" build from VSCode+platformio.
293293

294-
;; select arduino-esp32 v2.0.9 (arduino-esp32 2.0.10 thru 2.0.14 are buggy so avoid them)
295-
platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.06.02/platform-espressif32.zip ;; Tasmota Arduino Core 2.0.9 with IPv6 support, based on IDF 4.4.4
294+
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.06.00/platform-espressif32.zip ;; Tasmota Arduino Core 2.0.18 with IPv6 support, based on IDF 4.4.8
296295
platform_packages =
297296
build_unflags = ${common.build_unflags}
298297
build_flags = -g

usermods/audioreactive/audio_source.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
* if you want to receive two channels, one is the actual data from microphone and another channel is suppose to receive 0, it's different data in two channels, you need to choose I2S_CHANNEL_FMT_RIGHT_LEFT in this case.
7272
*/
7373

74-
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0)) && (ESP_IDF_VERSION <= ESP_IDF_VERSION_VAL(4, 4, 6))
74+
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0)) && (ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(4, 5, 0))
7575
// espressif bug: only_left has no sound, left and right are swapped
7676
// https://github.com/espressif/esp-idf/issues/9635 I2S mic not working since 4.4 (IDFGH-8138)
7777
// https://github.com/espressif/esp-idf/issues/8538 I2S channel selection issue? (IDFGH-6918)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# pixels_dice_tray Usermod - BLE Requirement Notice
2+
3+
## Important: This Usermod Requires Special Configuration
4+
5+
The `pixels_dice_tray` usermod requires **ESP32 BLE (Bluetooth Low Energy)** support, which is not available in all WLED build configurations.
6+
7+
### Why is library.json disabled?
8+
9+
The `library.json` file has been renamed to `library.json.disabled` to prevent this usermod from being automatically included in builds that use `custom_usermods = *` (like the `usermods` environment in platformio.ini).
10+
11+
The Tasmota Arduino ESP32 platform used by WLED does not include Arduino BLE library by default, which causes compilation failures when this usermod is auto-included.
12+
13+
### How to Use This Usermod
14+
15+
This usermod **requires a custom build configuration**. You cannot simply enable it with `custom_usermods = *`.
16+
17+
1. **Copy the sample configuration:**
18+
```bash
19+
cp platformio_override.ini.sample ../../../platformio_override.ini
20+
```
21+
22+
2. **Edit `platformio_override.ini`** to match your ESP32 board configuration
23+
24+
3. **Build with the custom environment:**
25+
```bash
26+
pio run -e t_qt_pro_8MB_dice
27+
# or
28+
pio run -e esp32s3dev_8MB_qspi_dice
29+
```
30+
31+
### Platform Requirements
32+
33+
- ESP32-S3 or compatible ESP32 board with BLE support
34+
- Custom platformio environment (see `platformio_override.ini.sample`)
35+
- Cannot be used with ESP8266 or ESP32-S2
36+
37+
### Re-enabling for Custom Builds
38+
39+
If you want to use this usermod in a custom build:
40+
41+
1. Rename `library.json.disabled` back to `library.json`
42+
2. Manually add it to your custom environment's `custom_usermods` list
43+
3. Ensure your platform includes BLE support
44+
45+
### References
46+
47+
- See `README.md` for full usermod documentation
48+
- See `platformio_override.ini.sample` for build configuration examples

usermods/pixels_dice_tray/library.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)