Skip to content

Commit

Permalink
2023.05.00 Core 2.0.9
Browse files Browse the repository at this point in the history
* Process internal Arduino libraries in mixed Arduino/IDF projects
 * 2023.05.00 Core 2.0.9
  • Loading branch information
Jason2866 authored May 7, 2023
1 parent 7ef1dda commit ba61428
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 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.4
based on Arduino Core 2.0.8 and can be used with Platformio for the ESP32/ESP32solo1, ESP32C3, ESP32S2 and ESP32S3
based on Arduino Core 2.0.9 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.04.00/platform-espressif32.zip
platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.05.00/platform-espressif32.zip
framework = arduino
```
to use the ESP32 Solo1 Arduino framework add in your env
Expand Down
6 changes: 5 additions & 1 deletion builder/frameworks/espidf.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
PROJECT_DIR = env.subst("$PROJECT_DIR")
PROJECT_SRC_DIR = env.subst("$PROJECT_SRC_DIR")
CMAKE_API_REPLY_PATH = os.path.join(".cmake", "api", "v1", "reply")
SDKCONFIG_PATH = os.path.expandvars(board.get(
SDKCONFIG_PATH = os.path.expandvars(board.get(
"build.esp-idf.sdkconfig_path",
os.path.join(PROJECT_DIR, "sdkconfig.%s" % env.subst("$PIOENV")),
))
Expand Down Expand Up @@ -1277,6 +1277,10 @@ def _create_venv(venv_dir):
"the `variant` field! The default `esp32` variant will be used."
)
extra_components.append(ARDUINO_FRAMEWORK_DIR)
# Add path to internal Arduino libraries so that the LDF will be able to find them
env.Append(
LIBSOURCE_DIRS=[os.path.join(ARDUINO_FRAMEWORK_DIR, "libraries")]
)

print("Reading CMake configuration...")
project_codemodel = get_cmake_code_model(
Expand Down
13 changes: 5 additions & 8 deletions platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,37 +18,34 @@
"type": "git",
"url": "https://github.com/tasmota/platform-espressif32.git"
},
"version": "2023.04.02",
"version": "2023.05.00",
"frameworks": {
"arduino": {
"script": "builder/frameworks/arduino.py"
},
"espidf": {
"package": "framework-espidf",
"script": "builder/frameworks/espidf.py",
"description": "ESP-IDF is the official development framework for the ESP32 and ESP32-S Series SoCs.",
"homepage": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32/",
"title": "Espressif IoT Development Framework"
"script": "builder/frameworks/espidf.py"
}
},
"packages": {
"framework-arduinoespressif32": {
"type": "framework",
"optional": true,
"owner": "tasmota",
"version": "https://github.com/tasmota/arduino-esp32/releases/download/2.0.8/framework-arduinoespressif32.zip"
"version": "https://github.com/tasmota/arduino-esp32/releases/download/2.0.9/framework-arduinoespressif32.zip"
},
"framework-arduino-solo1": {
"type": "framework",
"optional": true,
"owner": "tasmota",
"version": "https://github.com/tasmota/arduino-esp32/releases/download/2.0.8/framework-arduinoespressif32-solo1.zip"
"version": "https://github.com/tasmota/arduino-esp32/releases/download/2.0.9/framework-arduinoespressif32-solo1.zip"
},
"framework-arduino-ITEAD": {
"type": "framework",
"optional": true,
"owner": "tasmota",
"version": "https://github.com/tasmota/arduino-esp32/releases/download/2.0.8/framework-arduinoespressif32-ITEAD.zip"
"version": "https://github.com/tasmota/arduino-esp32/releases/download/2.0.9/framework-arduinoespressif32-ITEAD.zip"
},
"framework-espidf": {
"type": "framework",
Expand Down

0 comments on commit ba61428

Please sign in to comment.