Skip to content

Commit e229a5a

Browse files
authored
Tasmota Platform 2025.05.40
- new Installer, everything needed is now installed from Github repos - no extra frameworks for solo1 and ITEAD - removed support for DFU uploader - updated OpenOCD and GDB
1 parent 6c2aa59 commit e229a5a

18 files changed

+559
-183
lines changed

.github/workflows/examples.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
os: [ubuntu-latest, windows-2022, macos-14]
15+
os: [ubuntu-latest, windows-latest, macos-15]
1616
example:
1717
- "examples/arduino-blink"
1818
- "examples/arduino-rmt-blink"
@@ -42,16 +42,14 @@ jobs:
4242
python-version: "3.13"
4343
- name: Install dependencies
4444
run: |
45-
python -m pip install --upgrade pip
46-
pip install wheel
47-
pip install -U https://github.com/Jason2866/platformio-core/archive/refs/tags/v6.1.16.tar.gz
45+
pip install -U https://github.com/Jason2866/platformio-core/archive/refs/tags/v6.1.18.zip
4846
pio pkg install --global --platform file://.
4947
- name: git clone Tasmota and add to examples
50-
if: "matrix.example == 'examples/tasmota' && matrix.os != 'windows-2022'"
48+
if: "matrix.example == 'examples/tasmota' && matrix.os != 'windows-latest'"
5149
run: |
52-
git clone -b development --recursive --depth 1 --shallow-submodule https://github.com/arendst/Tasmota.git examples/tasmota
50+
git clone -b development --depth 1 https://github.com/arendst/Tasmota.git examples/tasmota
5351
cp examples/tasmota_platformio_override.ini examples/tasmota/platformio_override.ini
5452
- name: Build examples
55-
if: "matrix.example != 'examples/tasmota' || matrix.os != 'windows-2022'"
53+
if: "matrix.example != 'examples/tasmota' || matrix.os != 'windows-latest'"
5654
run: |
5755
pio run -d ${{ matrix.example }}

README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[![Examples](https://github.com/tasmota/platform-espressif32/actions/workflows/examples.yml/badge.svg)](https://github.com/tasmota/platform-espressif32/actions/workflows/examples.yml)[![GitHub Releases](https://img.shields.io/github/downloads/tasmota/platform-espressif32/total?label=downloads)](https://github.com/tasmota/platform-espressif32/releases/latest)
77

8-
Espressif Systems is a privately held fabless semiconductor company. They provide wireless communications and Wi-Fi chips which are widely used in mobile devices and the Internet of Things applications.
8+
Espressif Systems is a privately held fabless semiconductor company. They provide wireless communications chips which are widely used.
99

1010
* [Home](http://platformio.org/platforms/espressif32) (home page in PlatformIO Platform Registry)
1111
* [Documentation](http://docs.platformio.org/page/platforms/espressif32.html) (advanced usage, packages, boards, frameworks, etc.)
@@ -15,14 +15,14 @@ Espressif Systems is a privately held fabless semiconductor company. They provid
1515
1. [Install PlatformIO](http://platformio.org)
1616
2. Create PlatformIO project and configure a platform option in [platformio.ini](http://docs.platformio.org/page/projectconf.html) file:
1717

18-
### Development build Arduino 3.2.0+ and IDF 5.4.0+ (build from development branches)
19-
Support for the ESP32/ESP32solo1, ESP32C2, ESP32C3, ESP32C6, ESP32S2, ESP32S3 and ESP32-H2
20-
18+
### Development build Arduino 3.2.0+ and IDF 5.4.1+ (build from development branches)
19+
Support for the ESP32/ESP32solo1, ESP32C2, ESP32C3, ESP32C6, ESP32S2, ESP32S3, ESP32-H2 and ESP32-P4
2120
```
2221
[platformio]
2322
platform = https://github.com/tasmota/platform-espressif32.git#Arduino/IDF54
2423
framework = arduino
2524
```
25+
2626
## Hybrid compile: Build customized Arduino IDF libraries
2727
Adding the new option `custom_sdkconfig` in an `[env]` will compile the Arduino libraries using the sdkconfig settings
2828
from the framework and adds the changes specified in `custom_sdkconfig`. After the compile run the Arduino project `[env]` is
@@ -34,21 +34,16 @@ Example: Switching off PPP modem support only for `[env:esp32-no-PPP]`
3434
board = esp32dev
3535
custom_sdkconfig = '# CONFIG_LWIP_PPP_SUPPORT is not set'
3636
```
37-
## ESP32 Arduino framework
38-
39-
Example:
37+
## ESP32 Arduino
4038
```
4139
[env:esp32]
4240
board = esp32dev
4341
```
4442

45-
## ESP32 Solo1 Arduino framework
46-
47-
add in your env
43+
## ESP32 Solo1 Arduino
4844
```
4945
[env:esp32solo1]
5046
board = esp32-solo1
51-
build_flags = -DFRAMEWORK_ARDUINO_SOLO1
5247
```
5348
The released frameworks can be downloaded [here](https://github.com/tasmota/arduino-esp32/releases)
5449

boards/arduino_nano_esp32.json

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,23 @@
11
{
22
"build": {
33
"arduino":{
4-
"ldscript": "esp32s3_out.ld",
5-
"partitions": "app3M_fat9M_fact512k_16MB.csv",
4+
"partitions": "app3M_fat9M_16MB.csv",
65
"memory_type": "qio_opi"
76
},
87
"core": "esp32",
98
"extra_flags": [
109
"-DARDUINO_NANO_ESP32",
11-
"-DBOARD_HAS_PIN_REMAP",
10+
"-DBOARD_USES_HW_GPIO_NUMBERS",
1211
"-DBOARD_HAS_PSRAM",
13-
"-DUSB_MANUFACTURER=\\\"Arduino\\\"",
14-
"-DUSB_PRODUCT=\\\"NanoESP32\\\"",
1512
"-DARDUINO_USB_CDC_ON_BOOT=1",
16-
"-DARDUINO_USB_DFU_ON_BOOT=1",
1713
"-DARDUINO_RUNNING_CORE=1",
1814
"-DARDUINO_EVENT_RUNNING_CORE=1"
1915
],
2016
"f_cpu": "240000000L",
2117
"f_flash": "80000000L",
2218
"flash_mode": "qio",
23-
"hwids": [
24-
[
25-
"0x2341",
26-
"0x0070"
27-
]
28-
],
2919
"mcu": "esp32s3",
30-
"variant": "arduino_nano_nora"
20+
"variant": "esp32s3"
3121
},
3222
"connectivity": [
3323
"bluetooth",
@@ -40,14 +30,13 @@
4030
"arduino",
4131
"espidf"
4232
],
43-
"name": "Arduino Nano ESP32",
33+
"name": "Arduino Nano ESP32-S3 no DFU",
4434
"upload": {
4535
"flash_size": "16MB",
4636
"maximum_ram_size": 327680,
4737
"maximum_size": 16777216,
4838
"require_upload_port": true,
49-
"speed": 460800,
50-
"protocol": "dfu"
39+
"speed": 460800
5140
},
5241
"url": "https://docs.arduino.cc/hardware/nano-esp32",
5342
"vendor": "Arduino"

boards/esp32-c5-devkitc-1.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"build": {
3+
"core": "esp32",
4+
"f_cpu": "240000000L",
5+
"f_flash": "80000000L",
6+
"flash_mode": "qio",
7+
"mcu": "esp32c5",
8+
"variant": "esp32c5"
9+
},
10+
"connectivity": [
11+
"bluetooth",
12+
"wifi"
13+
],
14+
"debug": {
15+
"openocd_target": "esp32c5.cfg"
16+
},
17+
"frameworks": [
18+
"arduino",
19+
"espidf"
20+
],
21+
"name": "Espressif ESP32-C5-DevKitC-1 4MB no PSRAM",
22+
"upload": {
23+
"flash_size": "4MB",
24+
"maximum_ram_size": 327680,
25+
"maximum_size": 4194304,
26+
"require_upload_port": true,
27+
"speed": 460800
28+
},
29+
"url": "https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32c5/esp32-c5-devkitc-1/user_guide.html",
30+
"vendor": "Espressif"
31+
}

boards/huidu_hd_wf1.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"build": {
3+
"core": "esp32",
4+
"extra_flags": [
5+
"-DARDUINO_HUIDU_HD_WF1",
6+
"-DARDUINO_USB_MODE=1",
7+
"-DARDUINO_RUNNING_CORE=1",
8+
"-DARDUINO_EVENT_RUNNING_CORE=1",
9+
"-DARDUINO_USB_CDC_ON_BOOT=1"
10+
],
11+
"f_cpu": "240000000L",
12+
"f_flash": "80000000L",
13+
"flash_mode": "dio",
14+
"mcu": "esp32s2",
15+
"variant": "esp32s2"
16+
},
17+
"connectivity": [
18+
"wifi"
19+
],
20+
"debug": {
21+
"openocd_target": "esp32s2.cfg"
22+
},
23+
"frameworks": [
24+
"arduino",
25+
"espidf"
26+
],
27+
"name": "Huidu HD-WF1",
28+
"upload": {
29+
"flash_size": "4MB",
30+
"maximum_ram_size": 327680,
31+
"maximum_size": 4194304,
32+
"require_upload_port": true,
33+
"speed": 460800
34+
},
35+
"url": "https://www.hdwell.com/Product/index46.html",
36+
"vendor": "Huidu Tech",
37+
"information_urls": [
38+
"https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/discussions/667"
39+
]
40+
}

boards/huidu_hd_wf2.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"partitions": "default_8MB.csv"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DARDUINO_HUIDU_HD_WF2",
9+
"-DARDUINO_USB_MODE=1",
10+
"-DARDUINO_RUNNING_CORE=1",
11+
"-DARDUINO_EVENT_RUNNING_CORE=1",
12+
"-DARDUINO_USB_CDC_ON_BOOT=1"
13+
],
14+
"f_cpu": "240000000L",
15+
"f_flash": "80000000L",
16+
"flash_mode": "dio",
17+
"hwids": [
18+
[
19+
"0x303A",
20+
"0x1001"
21+
]
22+
],
23+
"mcu": "esp32s3",
24+
"variant": "huidu_hd_wf2"
25+
},
26+
"connectivity": [
27+
"bluetooth",
28+
"wifi"
29+
],
30+
"debug": {
31+
"default_tool": "esp-builtin",
32+
"onboard_tools": [
33+
"esp-builtin"
34+
],
35+
"openocd_target": "esp32s3.cfg"
36+
},
37+
"frameworks": [
38+
"arduino",
39+
"espidf"
40+
],
41+
"name": "Huidu HD-WF2",
42+
"upload": {
43+
"flash_size": "8MB",
44+
"maximum_ram_size": 327680,
45+
"maximum_size": 8388608,
46+
"require_upload_port": true,
47+
"speed": 460800
48+
},
49+
"url": "https://www.hdwell.com/Product/index46.html",
50+
"vendor": "Huidu Tech",
51+
"information_urls": [
52+
"https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/discussions/667"
53+
]
54+
}

boards/huidu_hd_wf4.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"partitions": "default_8MB.csv"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DARDUINO_HUIDU_HD_WF4",
9+
"-DARDUINO_USB_MODE=1",
10+
"-DARDUINO_RUNNING_CORE=1",
11+
"-DARDUINO_EVENT_RUNNING_CORE=1",
12+
"-DARDUINO_USB_CDC_ON_BOOT=1"
13+
],
14+
"f_cpu": "240000000L",
15+
"f_flash": "80000000L",
16+
"flash_mode": "dio",
17+
"hwids": [
18+
[
19+
"0x303A",
20+
"0x1001"
21+
]
22+
],
23+
"mcu": "esp32s3",
24+
"variant": "huidu_hd_wf4"
25+
},
26+
"connectivity": [
27+
"bluetooth",
28+
"wifi"
29+
],
30+
"debug": {
31+
"default_tool": "esp-builtin",
32+
"onboard_tools": [
33+
"esp-builtin"
34+
],
35+
"openocd_target": "esp32s3.cfg"
36+
},
37+
"frameworks": [
38+
"arduino",
39+
"espidf"
40+
],
41+
"name": "Huidu HD-WF4",
42+
"upload": {
43+
"flash_size": "8MB",
44+
"maximum_ram_size": 327680,
45+
"maximum_size": 8388608,
46+
"require_upload_port": true,
47+
"speed": 460800
48+
},
49+
"url": "https://www.hdwell.com/Product/index46.html",
50+
"vendor": "Huidu Tech",
51+
"information_urls": [
52+
"https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/discussions/667"
53+
]
54+
}

builder/frameworks/_embed_files.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,14 @@ def transform_to_asm(target, source, env):
110110
" ".join(
111111
[
112112
"riscv32-esp-elf-objcopy"
113-
if mcu in ("esp32c2","esp32c3","esp32c6","esp32h2","esp32p4")
113+
if mcu in ("esp32c2","esp32c3","esp32c5","esp32c6","esp32h2","esp32p4")
114114
else "xtensa-%s-elf-objcopy" % mcu,
115115
"--input-target",
116116
"binary",
117117
"--output-target",
118-
"elf32-littleriscv" if mcu in ("esp32c2","esp32c3","esp32c6","esp32h2","esp32p4") else "elf32-xtensa-le",
118+
"elf32-littleriscv" if mcu in ("esp32c2","esp32c3","esp32c5","esp32c6","esp32h2","esp32p4") else "elf32-xtensa-le",
119119
"--binary-architecture",
120-
"riscv" if mcu in ("esp32c2","esp32c3","esp32c6","esp32h2","esp32p4") else "xtensa",
120+
"riscv" if mcu in ("esp32c2","esp32c3","esp32c5","esp32c6","esp32h2","esp32p4") else "xtensa",
121121
"--rename-section",
122122
".data=.rodata.embedded",
123123
"$SOURCE",

0 commit comments

Comments
 (0)