From 59603e5ad0dcbb8befc555719dd0a6b023c65aa5 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 1 Mar 2021 12:42:42 +0100 Subject: [PATCH 1/4] Use Arduino ESP32 1.0.5 (= espressif32 @ 3.1.0) --- platformio_tasmota32.ini | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/platformio_tasmota32.ini b/platformio_tasmota32.ini index 8bbbe5d0d..caa655c4f 100644 --- a/platformio_tasmota32.ini +++ b/platformio_tasmota32.ini @@ -94,8 +94,7 @@ build_flags = ${esp_defaults.build_flags} [core32] -platform = espressif32 @ 3.0.0 -platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/arduino-esp32/releases/download/1.0.5-rc6/esp32-1.0.5-rc6.zip - platformio/tool-mklittlefs @ ~1.203.200522 +platform = espressif32 @ 3.1.0 +platform_packages = platformio/tool-mklittlefs @ ~1.203.200522 build_unflags = ${esp32_defaults.build_unflags} build_flags = ${esp32_defaults.build_flags} From 731b6337b3d71a1c984bf401b9c4b00c75b72b2a Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 1 Mar 2021 12:47:39 +0100 Subject: [PATCH 2/4] Use for ESP32 stage Git version --- platformio_override_sample.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformio_override_sample.ini b/platformio_override_sample.ini index 0209e7091..03ac27562 100644 --- a/platformio_override_sample.ini +++ b/platformio_override_sample.ini @@ -129,11 +129,11 @@ build_unflags = ${core32_stage.build_unflags} build_flags = ${core32_stage.build_flags} [core32_stage] -platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/arduino-esp32/releases/download/1.0.5-rc7/esp32-1.0.5-rc7.zip +platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git platformio/tool-mklittlefs @ ~1.203.200522 build_unflags = ${esp32_defaults.build_unflags} build_flags = ${esp32_defaults.build_flags} - ;-DESP32_STAGE=true + -DESP32_STAGE=true [library] shared_libdeps_dir = lib From 451dfb2573e3a61db382c3c77092c2e569a06e43 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 1 Mar 2021 12:48:38 +0100 Subject: [PATCH 3/4] Disable ESP32 stage as default core --- platformio_override_sample.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platformio_override_sample.ini b/platformio_override_sample.ini index 03ac27562..1f124264d 100644 --- a/platformio_override_sample.ini +++ b/platformio_override_sample.ini @@ -124,9 +124,9 @@ lib_extra_dirs = ${library.lib_extra_dirs} [core32] ; Activate Stage Core32 by removing ";" in next 3 lines, if you want to override the standard core32 -platform_packages = ${core32_stage.platform_packages} -build_unflags = ${core32_stage.build_unflags} -build_flags = ${core32_stage.build_flags} +;platform_packages = ${core32_stage.platform_packages} +;build_unflags = ${core32_stage.build_unflags} +;build_flags = ${core32_stage.build_flags} [core32_stage] platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git From 5a0d1c8165ba672642ca8a52cb42880cab69a65c Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 1 Mar 2021 12:49:55 +0100 Subject: [PATCH 4/4] Use ESP32 1.0.5 release --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 0de14bbf8..8db216e84 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -7,7 +7,7 @@ - [ ] Only relevant files were touched - [ ] Only one feature/fix was added per PR and the code change compiles without warnings - [ ] The code change is tested and works on Tasmota core ESP8266 V.2.7.4.9 - - [ ] The code change is tested and works on Tasmota core ESP32 V.1.0.5-rc6 + - [ ] The code change is tested and works with core ESP32 V.1.0.5 - [ ] I accept the [CLA](https://github.com/arendst/Tasmota/blob/development/CONTRIBUTING.md#contributor-license-agreement-cla). _NOTE: The code change must pass CI tests. **Your PR cannot be merged unless tests pass**_