Skip to content

Commit 4df1206

Browse files
authored
Arduino core 3.1.1
1 parent 1fdae18 commit 4df1206

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ Espressif Systems is a privately held fabless semiconductor company. They provid
1717

1818
# Usage
1919

20-
## Tasmota release Arduino 3.1.0.241206 and IDF 5.3.2
20+
## Tasmota release Arduino 3.1.1.250109 and IDF 5.3.2.250106
2121
Support for the ESP32/ESP32solo1, ESP32C2, ESP32C3, ESP32C6, ESP32S2, ESP32S3, ESP32-H2 and ESP32-P4
2222
```
2323
[platformio]
24-
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.12.30/platform-espressif32.zip
24+
platform = https://github.com/tasmota/platform-espressif32/releases/download/2025.01.09/platform-espressif32.zip
2525
framework = arduino
2626
```
2727
## Hybrid compile: Build customized Arduino IDF libraries

builder/frameworks/arduino.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,4 +200,8 @@ def call_compile_libs():
200200
call_compile_libs()
201201

202202
if "arduino" in env.subst("$PIOFRAMEWORK") and "espidf" not in env.subst("$PIOFRAMEWORK") and env.subst("$ARDUINO_LIB_COMPILE_FLAG") in ("Inactive", "True"):
203-
SConscript(join(FRAMEWORK_DIR, "tools", "platformio-build.py"))
203+
if os.path.exists(join(FRAMEWORK_DIR, "tools", "platformio-build.py")):
204+
PIO_BUILD = "platformio-build.py"
205+
else:
206+
PIO_BUILD = "pioarduino-build.py"
207+
SConscript(join(FRAMEWORK_DIR, "tools", PIO_BUILD))

builder/frameworks/espidf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,13 +404,15 @@ def is_cmake_reconfigure_required(cmake_api_reply_dir):
404404
]
405405
cmake_preconf_dir = os.path.join(BUILD_DIR, "config")
406406
deafult_sdk_config = os.path.join(PROJECT_DIR, "sdkconfig.defaults")
407+
idf_deps_lock = os.path.join(PROJECT_DIR, "dependencies.lock")
408+
ninja_buildfile = os.path.join(BUILD_DIR, "build.ninja")
407409

408410
for d in (cmake_api_reply_dir, cmake_preconf_dir):
409411
if not os.path.isdir(d) or not os.listdir(d):
410412
return True
411413
if not os.path.isfile(cmake_cache_file):
412414
return True
413-
if not os.path.isfile(os.path.join(BUILD_DIR, "build.ninja")):
415+
if not os.path.isfile(ninja_buildfile):
414416
return True
415417
if not os.path.isfile(SDKCONFIG_PATH) or os.path.getmtime(
416418
SDKCONFIG_PATH
@@ -420,6 +422,10 @@ def is_cmake_reconfigure_required(cmake_api_reply_dir):
420422
deafult_sdk_config
421423
) > os.path.getmtime(cmake_cache_file):
422424
return True
425+
if os.path.isfile(idf_deps_lock) and os.path.getmtime(
426+
idf_deps_lock
427+
) > os.path.getmtime(ninja_buildfile):
428+
return True
423429
if any(
424430
os.path.getmtime(f) > os.path.getmtime(cmake_cache_file)
425431
for f in cmake_txt_files + [cmake_preconf_dir, FRAMEWORK_DIR]

platform.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"type": "git",
1919
"url": "https://github.com/tasmota/platform-espressif32.git"
2020
},
21-
"version": "2024.12.30",
21+
"version": "2025.01.30",
2222
"frameworks": {
2323
"arduino": {
2424
"script": "builder/frameworks/arduino.py"
@@ -33,25 +33,25 @@
3333
"type": "framework",
3434
"optional": true,
3535
"owner": "tasmota",
36-
"version": "https://github.com/tasmota/arduino-esp32/releases/download/3.1.0.241206/framework-arduinoespressif32.zip"
36+
"version": "https://github.com/tasmota/arduino-esp32/releases/download/v3.1.1.250109/framework-arduinoespressif32.zip"
3737
},
3838
"framework-arduino-solo1": {
3939
"type": "framework",
4040
"optional": true,
4141
"owner": "tasmota",
42-
"version": "https://github.com/tasmota/arduino-esp32/releases/download/3.1.0.241206/framework-arduinoespressif32-solo1.zip"
42+
"version": "https://github.com/tasmota/arduino-esp32/releases/download/v3.1.1.250109/framework-arduinoespressif32-solo1.zip"
4343
},
4444
"framework-arduino-ITEAD": {
4545
"type": "framework",
4646
"optional": true,
4747
"owner": "tasmota",
48-
"version": "https://github.com/tasmota/arduino-esp32/releases/download/3.1.0.241206/framework-arduinoespressif32-ITEAD.zip"
48+
"version": "https://github.com/tasmota/arduino-esp32/releases/download/v3.1.1.250109/framework-arduinoespressif32-ITEAD.zip"
4949
},
5050
"framework-espidf": {
5151
"type": "framework",
5252
"optional": true,
5353
"owner": "Jason2866",
54-
"version": "https://github.com/tasmota/esp-idf/releases/download/v5.3.2/esp-idf-v5.3.2.zip"
54+
"version": "https://github.com/tasmota/esp-idf/releases/download/v5.3.2.250106/esp-idf-v5.3.2.zip"
5555
},
5656
"toolchain-xtensa-esp-elf": {
5757
"type": "toolchain",
@@ -86,7 +86,7 @@
8686
"tool-esptoolpy": {
8787
"type": "uploader",
8888
"owner": "tasmota",
89-
"version": "https://github.com/tasmota/esptool/releases/download/v4.8.4/esptool.zip"
89+
"version": "https://github.com/tasmota/esptool/releases/download/v4.8.6/esptool.zip"
9090
},
9191
"tool-dfuutil-arduino": {
9292
"type": "uploader",

0 commit comments

Comments
 (0)