Skip to content

Commit 413362d

Browse files
authored
Tasmota changes
* revert broken IPv6 from upstream espressif#7174 * IPv6 support * remove WPA2 Enterprise * rm `WiFiClientSecure` * "--dont-append-digest" * rm not needed librarys * safeboot in Tasmota project * Revert "WiFiSTA - allow using DHCP again after disconnecting static IP (espressif#8848)" (#297) * remove zigbee libs * joltwallet/littlefs 1.11.0
1 parent d912710 commit 413362d

23 files changed

+635
-738
lines changed

Diff for: CMakeLists.txt

+2-66
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,8 @@ set(CORE_SRCS
7676
set(LIBRARY_SRCS
7777
libraries/ArduinoOTA/src/ArduinoOTA.cpp
7878
libraries/AsyncUDP/src/AsyncUDP.cpp
79-
libraries/BluetoothSerial/src/BluetoothSerial.cpp
80-
libraries/BluetoothSerial/src/BTAddress.cpp
81-
libraries/BluetoothSerial/src/BTAdvertisedDeviceSet.cpp
82-
libraries/BluetoothSerial/src/BTScanResultsSet.cpp
8379
libraries/DNSServer/src/DNSServer.cpp
8480
libraries/EEPROM/src/EEPROM.cpp
85-
libraries/ESP_I2S/src/ESP_I2S.cpp
86-
libraries/ESP_SR/src/ESP_SR.cpp
87-
libraries/ESP_SR/src/esp32-hal-sr.c
8881
libraries/ESPmDNS/src/ESPmDNS.cpp
8982
libraries/Ethernet/src/ETH.cpp
9083
libraries/FFat/src/FFat.cpp
@@ -93,23 +86,12 @@ set(LIBRARY_SRCS
9386
libraries/HTTPClient/src/HTTPClient.cpp
9487
libraries/HTTPUpdate/src/HTTPUpdate.cpp
9588
libraries/LittleFS/src/LittleFS.cpp
96-
libraries/Insights/src/Insights.cpp
9789
libraries/NetBIOS/src/NetBIOS.cpp
9890
libraries/Preferences/src/Preferences.cpp
99-
libraries/RainMaker/src/RMaker.cpp
100-
libraries/RainMaker/src/RMakerNode.cpp
101-
libraries/RainMaker/src/RMakerParam.cpp
102-
libraries/RainMaker/src/RMakerDevice.cpp
103-
libraries/RainMaker/src/RMakerType.cpp
104-
libraries/RainMaker/src/RMakerQR.cpp
105-
libraries/RainMaker/src/RMakerUtils.cpp
106-
libraries/RainMaker/src/AppInsights.cpp
10791
libraries/SD_MMC/src/SD_MMC.cpp
10892
libraries/SD/src/SD.cpp
10993
libraries/SD/src/sd_diskio.cpp
11094
libraries/SD/src/sd_diskio_crc.c
111-
libraries/SimpleBLE/src/SimpleBLE.cpp
112-
libraries/SPIFFS/src/SPIFFS.cpp
11395
libraries/SPI/src/SPI.cpp
11496
libraries/Ticker/src/Ticker.cpp
11597
libraries/Update/src/Updater.cpp
@@ -126,8 +108,6 @@ set(LIBRARY_SRCS
126108
libraries/WebServer/src/WebServer.cpp
127109
libraries/WebServer/src/Parsing.cpp
128110
libraries/WebServer/src/detail/mimetable.cpp
129-
libraries/WiFiClientSecure/src/ssl_client.cpp
130-
libraries/WiFiClientSecure/src/WiFiClientSecure.cpp
131111
libraries/WiFi/src/WiFiAP.cpp
132112
libraries/WiFi/src/WiFiClient.cpp
133113
libraries/WiFi/src/WiFi.cpp
@@ -137,84 +117,40 @@ set(LIBRARY_SRCS
137117
libraries/WiFi/src/WiFiServer.cpp
138118
libraries/WiFi/src/WiFiSTA.cpp
139119
libraries/WiFi/src/WiFiUdp.cpp
140-
libraries/WiFiProv/src/WiFiProv.cpp
141120
libraries/Wire/src/Wire.cpp
142121
)
143122

144-
set(BLE_SRCS
145-
libraries/BLE/src/BLE2902.cpp
146-
libraries/BLE/src/BLE2904.cpp
147-
libraries/BLE/src/BLEAddress.cpp
148-
libraries/BLE/src/BLEAdvertisedDevice.cpp
149-
libraries/BLE/src/BLEAdvertising.cpp
150-
libraries/BLE/src/BLEBeacon.cpp
151-
libraries/BLE/src/BLECharacteristic.cpp
152-
libraries/BLE/src/BLECharacteristicMap.cpp
153-
libraries/BLE/src/BLEClient.cpp
154-
libraries/BLE/src/BLEDescriptor.cpp
155-
libraries/BLE/src/BLEDescriptorMap.cpp
156-
libraries/BLE/src/BLEDevice.cpp
157-
libraries/BLE/src/BLEEddystoneTLM.cpp
158-
libraries/BLE/src/BLEEddystoneURL.cpp
159-
libraries/BLE/src/BLEExceptions.cpp
160-
libraries/BLE/src/BLEHIDDevice.cpp
161-
libraries/BLE/src/BLERemoteCharacteristic.cpp
162-
libraries/BLE/src/BLERemoteDescriptor.cpp
163-
libraries/BLE/src/BLERemoteService.cpp
164-
libraries/BLE/src/BLEScan.cpp
165-
libraries/BLE/src/BLESecurity.cpp
166-
libraries/BLE/src/BLEServer.cpp
167-
libraries/BLE/src/BLEService.cpp
168-
libraries/BLE/src/BLEServiceMap.cpp
169-
libraries/BLE/src/BLEUtils.cpp
170-
libraries/BLE/src/BLEUUID.cpp
171-
libraries/BLE/src/BLEValue.cpp
172-
libraries/BLE/src/FreeRTOS.cpp
173-
libraries/BLE/src/GeneralUtils.cpp
174-
)
175-
176123
set(includedirs
177124
variants/${CONFIG_ARDUINO_VARIANT}/
178125
cores/esp32/
179126
libraries/ArduinoOTA/src
180127
libraries/AsyncUDP/src
181-
libraries/BLE/src
182-
libraries/BluetoothSerial/src
183128
libraries/DNSServer/src
184129
libraries/EEPROM/src
185-
libraries/ESP_I2S/src
186-
libraries/ESP_SR/src
187-
libraries/ESP32/src
188130
libraries/ESPmDNS/src
189131
libraries/Ethernet/src
190132
libraries/FFat/src
191133
libraries/FS/src
192134
libraries/HTTPClient/src
193135
libraries/HTTPUpdate/src
194136
libraries/LittleFS/src
195-
libraries/Insights/src
196137
libraries/NetBIOS/src
197138
libraries/Preferences/src
198-
libraries/RainMaker/src
199139
libraries/SD_MMC/src
200140
libraries/SD/src
201-
libraries/SimpleBLE/src
202-
libraries/SPIFFS/src
203141
libraries/SPI/src
204142
libraries/Ticker/src
205143
libraries/Update/src
206144
libraries/USB/src
207145
libraries/WebServer/src
208-
libraries/WiFiClientSecure/src
209146
libraries/WiFi/src
210-
libraries/WiFiProv/src
211147
libraries/Wire/src
212148
)
213149

214-
set(srcs ${CORE_SRCS} ${LIBRARY_SRCS} ${BLE_SRCS})
150+
set(srcs ${CORE_SRCS} ${LIBRARY_SRCS})
215151
set(priv_includes cores/esp32/libb64)
216152
set(requires spi_flash esp_partition mbedtls wifi_provisioning wpa_supplicant esp_adc esp_eth http_parser)
217-
set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support bt esp_hid)
153+
set(priv_requires fatfs nvs_flash app_update bootloader_support bt esp_hid)
218154

219155
idf_component_register(INCLUDE_DIRS ${includedirs} PRIV_INCLUDE_DIRS ${priv_includes} SRCS ${srcs} REQUIRES ${requires} PRIV_REQUIRES ${priv_requires})
220156

Diff for: README.md

+7-60
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,6 @@
1-
# Arduino core for the ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 and ESP32-H2
1+
# Tasmota Platformio Arduino for ESP32, ESP32-S2, ESP32-S3, ESP32-C2, ESP32-C3, ESP32-C6 and ESP32-H2
22

3-
![Build Status](https://github.com/espressif/arduino-esp32/workflows/ESP32%20Arduino%20CI/badge.svg) [![Documentation Status](https://readthedocs.com/projects/espressif-arduino-esp32/badge/?version=latest)](https://docs.espressif.com/projects/arduino-esp32/en/latest/?badge=latest)
4-
[![External Libraries Test](https://github.com/espressif/arduino-esp32/actions/workflows/lib.yml/badge.svg?branch=master&event=schedule)](https://github.com/espressif/arduino-esp32/actions/workflows/lib.yml?link=http://https://github.com/espressif/arduino-esp32/blob/master/LIBRARIES_TEST.md)
5-
6-
### Need help or have a question? Join the chat at [Gitter](https://gitter.im/espressif/arduino-esp32) or [open a new Discussion](https://github.com/espressif/arduino-esp32/discussions)
7-
8-
## Contents
9-
10-
- [Development Status](#development-status)
11-
- [Development Planning](#development-planning)
12-
- [Documentation](#documentation)
13-
- [Supported Chips](#supported-chips)
14-
- [Decoding exceptions](#decoding-exceptions)
15-
- [Issue/Bug report template](#issuebug-report-template)
16-
- [Contributing](#contributing)
17-
18-
### Development Status
19-
20-
Latest Stable Release [![Release Version](https://img.shields.io/github/release/espressif/arduino-esp32.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/) [![Release Date](https://img.shields.io/github/release-date/espressif/arduino-esp32.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/) [![Downloads](https://img.shields.io/github/downloads/espressif/arduino-esp32/latest/total.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/latest/)
21-
22-
Latest Development Release [![Release Version](https://img.shields.io/github/release/espressif/arduino-esp32/all.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/) [![Release Date](https://img.shields.io/github/release-date-pre/espressif/arduino-esp32.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/) [![Downloads](https://img.shields.io/github/downloads-pre/espressif/arduino-esp32/latest/total.svg?style=plastic)](https://github.com/espressif/arduino-esp32/releases/)
23-
24-
### Development Planning
25-
26-
Our Development is fully tracked on this public **[Roadmap 🎉](https://github.com/orgs/espressif/projects/3)**
27-
28-
For even more information you can join our **[Monthly Community Meetings 🔔](https://github.com/espressif/arduino-esp32/discussions/categories/monthly-community-meetings).**
3+
### [![GitHub Releases](https://img.shields.io/github/downloads/tasmota/arduino-esp32/total?label=downloads)](https://github.com/tasmota/arduino-esp32/releases/latest)
294

305
### Documentation
316

@@ -37,47 +12,19 @@ You can use the [Arduino-ESP32 Online Documentation](https://docs.espressif.com/
3712

3813
---
3914

40-
* [Getting Started](https://docs.espressif.com/projects/arduino-esp32/en/latest/getting_started.html)
41-
* [Installing (Windows, Linux and macOS)](https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html)
42-
* [Libraries](https://docs.espressif.com/projects/arduino-esp32/en/latest/libraries.html)
43-
* [Arduino as an ESP-IDF component](https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html)
44-
* [FAQ](https://docs.espressif.com/projects/arduino-esp32/en/latest/faq.html)
45-
* [Troubleshooting](https://docs.espressif.com/projects/arduino-esp32/en/latest/troubleshooting.html)
46-
4715
### Supported Chips
4816

49-
Here are the ESP32 series supported by the Arduino-ESP32 project:
17+
Here are the ESP32 series supported by the Tasmota Arduino-ESP32 project:
5018

5119
| **SoC** | **Stable** | **Development** | **Datasheet** |
5220
|----------|:----------:|:---------------:|:-------------------------------------------------------------------------------------------------:|
53-
| ESP32 | Yes | Yes | [ESP32](https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf) |
21+
| ESP32 | Yes | Yes | [ESP32](https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf) |
22+
| ESP32solo1| Yes | Yes | [ESP32solo1](https://www.espressif.com/sites/default/files/documentation/esp32-solo-1_datasheet_en.pdf) |
5423
| ESP32-S2 | Yes | Yes | [ESP32-S2](https://www.espressif.com/sites/default/files/documentation/esp32-s2_datasheet_en.pdf) |
55-
| ESP32-C3 | Yes | Yes | [ESP32-C3](https://www.espressif.com/sites/default/files/documentation/esp32-c3_datasheet_en.pdf) |
5624
| ESP32-S3 | Yes | Yes | [ESP32-S3](https://www.espressif.com/sites/default/files/documentation/esp32-s3_datasheet_en.pdf) |
25+
| ESP32-C3 | Yes | Yes | [ESP32-C3](https://www.espressif.com/sites/default/files/documentation/esp32-c3_datasheet_en.pdf) |
26+
| ESP32-C2 | No | Yes | [ESP32-C2](https://www.espressif.com/sites/default/files/documentation/esp8684_datasheet_en.pdf) |
5727
| ESP32-C6 | No | Yes | [ESP32-C6](https://www.espressif.com/sites/default/files/documentation/esp32-c6_datasheet_en.pdf) |
5828
| ESP32-H2 | No | Yes | [ESP32-H2](https://www.espressif.com/sites/default/files/documentation/esp32-h2_datasheet_en.pdf) |
5929

6030
For more details visit the [supported chips](https://docs.espressif.com/projects/arduino-esp32/en/latest/getting_started.html#supported-soc-s) documentation page.
61-
62-
### Decoding exceptions
63-
64-
You can use [EspExceptionDecoder](https://github.com/me-no-dev/EspExceptionDecoder) to get meaningful call trace.
65-
66-
### Issue/Bug report template
67-
68-
Before reporting an issue, make sure you've searched for similar one that was already created. Also make sure to go through all the issues labelled as [Type: For reference](https://github.com/espressif/arduino-esp32/issues?q=is%3Aissue+label%3A%22Type%3A+For+reference%22+).
69-
70-
Finally, if you are sure no one else had the issue, follow the **Issue template** or **Feature request template** while reporting any [new Issue](https://github.com/espressif/arduino-esp32/issues/new/choose).
71-
72-
### External libraries compilation test
73-
74-
We have set-up CI testing for external libraries for ESP32 Arduino core. You can check test results in the file [LIBRARIES_TEST](https://github.com/espressif/arduino-esp32/blob/gh-pages/LIBRARIES_TEST.md).
75-
For more information and how to add your library to the test see [external library testing](https://docs.espressif.com/projects/arduino-esp32/en/latest/external_libraries_test.html) in the documentation.
76-
77-
### Contributing
78-
79-
We welcome contributions to the Arduino ESP32 project!
80-
81-
See [contributing](https://docs.espressif.com/projects/arduino-esp32/en/latest/contributing.html) in the documentation for more information on how to contribute to the project.
82-
83-
> We would like to have this repository in a polite and friendly atmosphere, so please be kind and respectful to others. For more details, look at [Code of Conduct](https://github.com/espressif/arduino-esp32/blob/master/CODE_OF_CONDUCT.md).

Diff for: cores/esp32/Esp.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,10 @@ String EspClass::getSketchMD5()
248248
md5.add(pb, readBytes);
249249
lengthLeft -= readBytes;
250250
offset += readBytes;
251+
252+
#if CONFIG_FREERTOS_UNICORE
253+
delay(1); // Fix solo WDT
254+
#endif
251255
}
252256
free(pb);
253257
md5.calculate();

0 commit comments

Comments
 (0)