Skip to content

Commit 7d316e7

Browse files
authored
Tasmota changes (core 2.0.17) (#412)
* IPv6 compatible with Core3 official * Ethernet driver JL1101
1 parent f364155 commit 7d316e7

22 files changed

+684
-445
lines changed

.github/scripts/install-arduino-core-esp32.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [ ! -d "$ARDUINO_ESP32_PATH" ]; then
2020
ln -s $GITHUB_WORKSPACE esp32
2121
else
2222
echo "Cloning Core Repository..."
23-
git clone https://github.com/espressif/arduino-esp32.git esp32 > /dev/null 2>&1
23+
git clone https://github.com/tasmota/arduino-esp32.git esp32 > /dev/null 2>&1
2424
fi
2525

2626
#echo "Updating Submodules ..."

.github/scripts/install-platformio-esp32.sh

100755100644
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
export PLATFORMIO_ESP32_PATH="$HOME/.platformio/packages/framework-arduinoespressif32"
4-
PLATFORMIO_ESP32_URL="https://github.com/platformio/platform-espressif32.git"
4+
PLATFORMIO_ESP32_URL="https://github.com/tasmota/platform-espressif32.git"
55

66
TOOLCHAIN_VERSION="8.4.0+2021r2-patch5"
77
ESPTOOLPY_VERSION="~1.40400.0"
@@ -40,12 +40,12 @@ replace_script+="data['packages']['tool-esptoolpy']['version']='$ESPTOOLPY_VERSI
4040
replace_script+="fp.seek(0);fp.truncate();json.dump(data, fp, indent=2);fp.close()"
4141
python -c "$replace_script"
4242

43-
if [ "$GITHUB_REPOSITORY" == "espressif/arduino-esp32" ]; then
43+
if [ "$GITHUB_REPOSITORY" == "tasmota/arduino-esp32" ]; then
4444
echo "Linking Core..."
4545
ln -s $GITHUB_WORKSPACE "$PLATFORMIO_ESP32_PATH"
4646
else
4747
echo "Cloning Core Repository ..."
48-
git clone --recursive https://github.com/espressif/arduino-esp32.git "$PLATFORMIO_ESP32_PATH" > /dev/null 2>&1
48+
git clone --recursive https://github.com/tasmota/arduino-esp32.git "$PLATFORMIO_ESP32_PATH" > /dev/null 2>&1
4949
fi
5050

5151
echo "PlatformIO for ESP32 has been installed"

.github/workflows/push.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
jobs:
16-
17-
cmake-check:
18-
name: Check cmake file
19-
runs-on: ubuntu-latest
20-
steps:
21-
- uses: actions/checkout@v3
22-
- run: bash ./.github/scripts/check-cmakelists.sh
23-
2416
# Ubuntu
2517
build-arduino-linux:
2618
name: Arduino ${{ matrix.chunk }} on ubuntu-latest

CMakeLists.txt

Lines changed: 2 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -88,24 +88,13 @@ set(LIBRARY_SRCS
8888
libraries/HTTPClient/src/HTTPClient.cpp
8989
libraries/HTTPUpdate/src/HTTPUpdate.cpp
9090
libraries/LittleFS/src/LittleFS.cpp
91-
libraries/Insights/src/Insights.cpp
9291
libraries/I2S/src/I2S.cpp
9392
libraries/NetBIOS/src/NetBIOS.cpp
9493
libraries/Preferences/src/Preferences.cpp
95-
libraries/RainMaker/src/RMaker.cpp
96-
libraries/RainMaker/src/RMakerNode.cpp
97-
libraries/RainMaker/src/RMakerParam.cpp
98-
libraries/RainMaker/src/RMakerDevice.cpp
99-
libraries/RainMaker/src/RMakerType.cpp
100-
libraries/RainMaker/src/RMakerQR.cpp
101-
libraries/RainMaker/src/RMakerUtils.cpp
102-
libraries/RainMaker/src/AppInsights.cpp
10394
libraries/SD_MMC/src/SD_MMC.cpp
10495
libraries/SD/src/SD.cpp
10596
libraries/SD/src/sd_diskio.cpp
10697
libraries/SD/src/sd_diskio_crc.c
107-
libraries/SimpleBLE/src/SimpleBLE.cpp
108-
libraries/SPIFFS/src/SPIFFS.cpp
10998
libraries/SPI/src/SPI.cpp
11099
libraries/Ticker/src/Ticker.cpp
111100
libraries/Update/src/Updater.cpp
@@ -121,9 +110,6 @@ set(LIBRARY_SRCS
121110
libraries/WebServer/src/WebServer.cpp
122111
libraries/WebServer/src/Parsing.cpp
123112
libraries/WebServer/src/detail/mimetable.cpp
124-
libraries/WiFiClientSecure/src/ssl_client.cpp
125-
libraries/WiFiClientSecure/src/esp_crt_bundle.c
126-
libraries/WiFiClientSecure/src/WiFiClientSecure.cpp
127113
libraries/WiFi/src/WiFiAP.cpp
128114
libraries/WiFi/src/WiFiClient.cpp
129115
libraries/WiFi/src/WiFi.cpp
@@ -133,83 +119,42 @@ set(LIBRARY_SRCS
133119
libraries/WiFi/src/WiFiServer.cpp
134120
libraries/WiFi/src/WiFiSTA.cpp
135121
libraries/WiFi/src/WiFiUdp.cpp
136-
libraries/WiFiProv/src/WiFiProv.cpp
137122
libraries/Wire/src/Wire.cpp
138123
)
139124

140-
set(BLE_SRCS
141-
libraries/BLE/src/BLE2902.cpp
142-
libraries/BLE/src/BLE2904.cpp
143-
libraries/BLE/src/BLEAddress.cpp
144-
libraries/BLE/src/BLEAdvertisedDevice.cpp
145-
libraries/BLE/src/BLEAdvertising.cpp
146-
libraries/BLE/src/BLEBeacon.cpp
147-
libraries/BLE/src/BLECharacteristic.cpp
148-
libraries/BLE/src/BLECharacteristicMap.cpp
149-
libraries/BLE/src/BLEClient.cpp
150-
libraries/BLE/src/BLEDescriptor.cpp
151-
libraries/BLE/src/BLEDescriptorMap.cpp
152-
libraries/BLE/src/BLEDevice.cpp
153-
libraries/BLE/src/BLEEddystoneTLM.cpp
154-
libraries/BLE/src/BLEEddystoneURL.cpp
155-
libraries/BLE/src/BLEExceptions.cpp
156-
libraries/BLE/src/BLEHIDDevice.cpp
157-
libraries/BLE/src/BLERemoteCharacteristic.cpp
158-
libraries/BLE/src/BLERemoteDescriptor.cpp
159-
libraries/BLE/src/BLERemoteService.cpp
160-
libraries/BLE/src/BLEScan.cpp
161-
libraries/BLE/src/BLESecurity.cpp
162-
libraries/BLE/src/BLEServer.cpp
163-
libraries/BLE/src/BLEService.cpp
164-
libraries/BLE/src/BLEServiceMap.cpp
165-
libraries/BLE/src/BLEUtils.cpp
166-
libraries/BLE/src/BLEUUID.cpp
167-
libraries/BLE/src/BLEValue.cpp
168-
libraries/BLE/src/FreeRTOS.cpp
169-
libraries/BLE/src/GeneralUtils.cpp
170-
)
171-
172125
set(includedirs
173126
variants/${CONFIG_ARDUINO_VARIANT}/
174127
cores/esp32/
175128
libraries/ArduinoOTA/src
176129
libraries/AsyncUDP/src
177-
libraries/BLE/src
178130
libraries/BluetoothSerial/src
179131
libraries/DNSServer/src
180132
libraries/EEPROM/src
181-
libraries/ESP32/src
182133
libraries/ESPmDNS/src
183134
libraries/Ethernet/src
184135
libraries/FFat/src
185136
libraries/FS/src
186137
libraries/HTTPClient/src
187138
libraries/HTTPUpdate/src
188139
libraries/LittleFS/src
189-
libraries/Insights/src
190140
libraries/I2S/src
191141
libraries/NetBIOS/src
192142
libraries/Preferences/src
193-
libraries/RainMaker/src
194143
libraries/SD_MMC/src
195144
libraries/SD/src
196-
libraries/SimpleBLE/src
197-
libraries/SPIFFS/src
198145
libraries/SPI/src
199146
libraries/Ticker/src
200147
libraries/Update/src
201148
libraries/USB/src
202149
libraries/WebServer/src
203-
libraries/WiFiClientSecure/src
204150
libraries/WiFi/src
205-
libraries/WiFiProv/src
206151
libraries/Wire/src
207152
)
208153

209-
set(srcs ${CORE_SRCS} ${LIBRARY_SRCS} ${BLE_SRCS})
154+
set(srcs ${CORE_SRCS} ${LIBRARY_SRCS})
210155
set(priv_includes cores/esp32/libb64)
211156
set(requires spi_flash mbedtls mdns esp_adc_cal wifi_provisioning nghttp wpa_supplicant)
212-
set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support openssl bt esp_ipc esp_hid)
157+
set(priv_requires fatfs nvs_flash app_update bootloader_support openssl bt esp_ipc esp_hid)
213158

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

@@ -252,13 +197,6 @@ endfunction()
252197

253198
maybe_add_component(esp-dsp)
254199

255-
if(CONFIG_ESP_INSIGHTS_ENABLED)
256-
maybe_add_component(esp_insights)
257-
endif()
258-
if(CONFIG_ESP_RMAKER_WORK_QUEUE_TASK_STACK)
259-
maybe_add_component(esp_rainmaker)
260-
maybe_add_component(qrcode)
261-
endif()
262200
if(IDF_TARGET MATCHES "esp32s2|esp32s3" AND CONFIG_TINYUSB_ENABLED)
263201
maybe_add_component(arduino_tinyusb)
264202
endif()

README.md

Lines changed: 3 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,7 @@
1-
# Arduino core for the ESP32, ESP32-S2, ESP32-S3 and ESP32-C3
1+
# Tasmota Arduino core for the ESP32, ESP32-S2, ESP32-S3 and ESP32-C3
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)
53

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 take a look at [Sprint Meeting notes](https://github.com/espressif/arduino-esp32/discussions/categories/sprints-meeting-notes) or join [Monthly Community Meetings 🔔](https://github.com/espressif/arduino-esp32/discussions/categories/monthly-community-meetings)
4+
### [![GitHub Releases](https://img.shields.io/github/downloads/tasmota/arduino-esp32/total?label=downloads)](https://github.com/tasmota/arduino-esp32/releases/latest)
295

306
### Documentation
317

@@ -44,23 +20,4 @@ Visit the [supported chips](https://docs.espressif.com/projects/arduino-esp32/en
4420

4521
### Decoding exceptions
4622

47-
You can use [EspExceptionDecoder](https://github.com/me-no-dev/EspExceptionDecoder) to get meaningful call trace.
48-
49-
### Issue/Bug report template
50-
51-
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+).
52-
53-
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).
54-
55-
### External libraries compilation test
56-
57-
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).
58-
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.
59-
60-
### Contributing
61-
62-
We welcome contributions to the Arduino ESP32 project!
63-
64-
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.
65-
66-
> 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).
23+
You can use [EspExceptionDecoder](https://github.com/me-no-dev/EspExceptionDecoder) to get meaningful call trace.

0 commit comments

Comments
 (0)