Skip to content

Commit

Permalink
Tasmota Core 2.0.11
Browse files Browse the repository at this point in the history
Tasmota Core 2.0.11
  • Loading branch information
Jason2866 committed Jul 24, 2023
2 parents ed26c42 + 6a070a0 commit a682bd9
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ Espressif Systems is a privately held fabless semiconductor company. They provid
2. Create PlatformIO project and configure a platform option in [platformio.ini](http://docs.platformio.org/page/projectconf.html) file:

### Stable Release supporting Arduino and IDF 4.4.5
based on Arduino Core 2.0.10 and can be used with Platformio for the ESP32/ESP32solo1, ESP32C3, ESP32S2 and ESP32S3
based on Arduino Core 2.0.11 and can be used with Platformio for the ESP32/ESP32solo1, ESP32C3, ESP32S2 and ESP32S3
```
[platformio]
platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.06.04/platform-espressif32.zip
platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.07.00/platform-espressif32.zip
framework = arduino
```
to use the ESP32 Solo1 Arduino framework add in your env
Expand Down
1 change: 1 addition & 0 deletions builder/frameworks/espidf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1549,6 +1549,7 @@ def _skip_prj_source_files(node):
+ get_project_lib_includes(env)
)

project_env.ProcessFlags(env.get("SRC_BUILD_FLAGS"))
env.Append(
PIOBUILDFILES=compile_source_files(
target_configs.get(project_target_name),
Expand Down
1 change: 0 additions & 1 deletion builder/frameworks/ulp.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def compile_ulp_binary():
os.path.join(ULP_BUILD_DIR, "ulp_main.h"),
os.path.join(ULP_BUILD_DIR, "ulp_main.ld"),
os.path.join(ULP_BUILD_DIR, "ulp_main.bin"),
os.path.join(ULP_BUILD_DIR, "esp32.ulp.ld"),
],
None,
ulp_env.VerboseAction(" ".join(cmd), "Generating ULP project files $TARGETS"),
Expand Down
6 changes: 6 additions & 0 deletions builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,12 @@ def __fetch_fs_size(target, source, env):
"Erase Flash",
)

#
# Override memory inspection behavior
#

env.SConscript("sizedata.py", exports="env")

#
# Default targets
#
Expand Down
26 changes: 26 additions & 0 deletions builder/sizedata.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import re

Import("env")


def pioSizeIsRamSectionCustom(env, section):
if section and re.search(
r"\.dram0\.data|\.dram0\.bss|\.noinit", section.get("name", "")
):
return True

return False


def pioSizeIsFlashectionCustom(env, section):
if section and re.search(
r"\.iram0\.text|\.iram0\.vectors|\.dram0\.data|\.flash\.text|\.flash\.rodata|\.flash\.appdesc",
section.get("name", ""),
):
return True

return False


env.AddMethod(pioSizeIsRamSectionCustom, "pioSizeIsRamSection")
env.AddMethod(pioSizeIsFlashectionCustom, "pioSizeIsFlashSection")
10 changes: 5 additions & 5 deletions platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"RISC-V"
],
"engines": {
"platformio": ">=6.1.6"
"platformio": ">=6.1.9"
},
"repository": {
"type": "git",
"url": "https://github.com/tasmota/platform-espressif32.git"
},
"version": "2023.06.04",
"version": "2023.07.00",
"frameworks": {
"arduino": {
"script": "builder/frameworks/arduino.py"
Expand All @@ -33,19 +33,19 @@
"type": "framework",
"optional": true,
"owner": "tasmota",
"version": "https://github.com/tasmota/arduino-esp32/releases/download/2.0.10.20230614/framework-arduinoespressif32.zip"
"version": "https://github.com/tasmota/arduino-esp32/releases/download/2.0.11/framework-arduinoespressif32.zip"
},
"framework-arduino-solo1": {
"type": "framework",
"optional": true,
"owner": "tasmota",
"version": "https://github.com/tasmota/arduino-esp32/releases/download/2.0.10.20230614/framework-arduinoespressif32-solo1.zip"
"version": "https://github.com/tasmota/arduino-esp32/releases/download/2.0.11/framework-arduinoespressif32-solo1.zip"
},
"framework-arduino-ITEAD": {
"type": "framework",
"optional": true,
"owner": "tasmota",
"version": "https://github.com/tasmota/arduino-esp32/releases/download/2.0.10.20230614/framework-arduinoespressif32-ITEAD.zip"
"version": "https://github.com/tasmota/arduino-esp32/releases/download/2.0.11/framework-arduinoespressif32-ITEAD.zip"
},
"framework-espidf": {
"type": "framework",
Expand Down

0 comments on commit a682bd9

Please sign in to comment.