Comments (5)
Did a package from actual espressif branch release/v4.4
for Platformio.
You can use with
platform_packages = framework-espidf @ https://github.com/Jason2866/esp-idf/releases/download/v4.4.7/esp-idf-v4.4.7.zip
Source is https://github.com/Jason2866/esp-idf/tree/release/v4.4
from platform-espressif32.
thanks a lot !
I am trying to configure a project with IDF 4.4.7 + Arduino 2.0.13 (not above since WifiClientSecure has been removed and I need it), but I have some trouble :
platform = espressif32 @ ^5.4.0
platform_packages =
framework-espidf @ https://github.com/Jason2866/esp-idf/releases/download/v4.4.7/esp-idf-v4.4.7.zip
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32/releases/download/2.0.13/esp32-2.0.13.zip
framework = arduino, espidf
IDF 4.4.7 download & install seems to work fine, but after that :
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (5.4.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 2.0.13
- framework-espidf @ 3.40407.0 (4.4.7)
- tool-cmake @ 3.16.4
- tool-esptoolpy @ 1.40400.0 (4.4.0)
- tool-ninja @ 1.7.1
- toolchain-esp32ulp @ 1.23500.220830 (2.35.0)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Using ESP-IDF: /home/koxx/.platformio/packages/framework-espidf
Using toolchain: /home/koxx/.platformio/packages/[email protected]+2021r2-patch5
test
venv_dir /home/koxx/.platformio/penv/.espidf-4.4.7
venv_data_file /home/koxx/.platformio/penv/.espidf-4.4.7/pio-idf-venv.json
Warning! Arduino framework as an ESP-IDF component doesn't handle the `variant` field! The default `esp32` variant will be used.
Reading CMake configuration...
IndexError: list index out of range:
File "/home/koxx/.platformio/penv/lib/python3.10/site-packages/platformio/builder/main.py", line 173:
env.SConscript("$BUILD_SCRIPT")
File "/home/koxx/.platformio/packages/tool-scons/scons-local-4.7.0/SCons/Script/SConscript.py", line 612:
return _SConscript(self.fs, *files, **subst_kw)
File "/home/koxx/.platformio/packages/tool-scons/scons-local-4.7.0/SCons/Script/SConscript.py", line 279:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/home/koxx/.platformio/platforms/espressif32/builder/main.py", line 312:
target_elf = env.BuildProgram()
File "/home/koxx/.platformio/packages/tool-scons/scons-local-4.7.0/SCons/Util/envs.py", line 251:
return self.method(*nargs, **kwargs)
File "/home/koxx/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py", line 61:
env.ProcessProgramDeps()
File "/home/koxx/.platformio/packages/tool-scons/scons-local-4.7.0/SCons/Util/envs.py", line 251:
return self.method(*nargs, **kwargs)
File "/home/koxx/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py", line 121:
env.BuildFrameworks(env.get("PIOFRAMEWORK"))
File "/home/koxx/.platformio/packages/tool-scons/scons-local-4.7.0/SCons/Util/envs.py", line 251:
return self.method(*nargs, **kwargs)
File "/home/koxx/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py", line 347:
SConscript(env.GetFrameworkScript(name), exports="env")
File "/home/koxx/.platformio/packages/tool-scons/scons-local-4.7.0/SCons/Script/SConscript.py", line 676:
return method(*args, **kw)
File "/home/koxx/.platformio/packages/tool-scons/scons-local-4.7.0/SCons/Script/SConscript.py", line 612:
return _SConscript(self.fs, *files, **subst_kw)
File "/home/koxx/.platformio/packages/tool-scons/scons-local-4.7.0/SCons/Script/SConscript.py", line 279:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/home/koxx/.platformio/platforms/espressif32/builder/frameworks/espidf.py", line 1523:
arduino_config_name = list(
from platform-espressif32.
Just had a look, Platformio has updated the IDF 4.4.x version to 4.4.7. Did miss that
So everything is available from Platformio. Core 2.0.16 and IDF 4.4.7
This setup should work.
platform = espressif32 @ ^6.6.0
platform_packages =
platformio/framework-espidf @ ~3.40407.0
platformio/framework-arduinoespressif32 @ ~3.20016.0
WifiClientSecure is in every official espressif / Platformio version!
from platform-espressif32.
FYI, I found this working configuration, but it seems "dirty" (I had to disable Ethernet component in sdkconfig).
WifiClientSecure was removed only from Tasmota Arduino...
platform = espressif32 @ ^5.4.0
platform_packages =
tool-mkspiffs @ 2.230.0
framework-espidf @ https://github.com/Jason2866/esp-idf/releases/download/v4.4.7/esp-idf-v4.4.7.zip
framework-arduinoespressif32 @ ~3.20016.0
; framework-arduinoespressif32 @ ~3.20009.0 ; working too
; framework-arduinoespressif32 @ 2.0.6 ; working too
framework = arduino, espidf
from platform-espressif32.
Just had a look, Platformio has updated the IDF 4.4.x version to 4.4.7. Did miss that So everything is available from Platformio. Core 2.0.16 and IDF 4.4.7 This setup should work.
platform = espressif32 @ ^6.6.0 platform_packages = platformio/framework-espidf @ ~3.40407.0 platformio/framework-arduinoespressif32 @ ~3.20016.0
WifiClientSecure is in every official espressif / Platformio version!
ahahah, excellent. thanks for your feedback.
your setup is much cleaner than mine ;)
and I confirm, it works !!!
from platform-espressif32.
Related Issues (20)
- update to ardunio core 2.0.16 HOT 1
- Allow custom bootloaders for ESP-IDF projects
- Possible bug in xtensa-esp32-elf-g++ (crosstool-NG esp-2021r2-patch5) 8.4.0 HOT 4
- Code works with no issues in Arduino IDE, but throws error on PlatformIO HOT 2
- Version 6.7.0 crashes on ESP32 when trying to init NVS HOT 9
- not find Analog Continuous mode API in "esp32-hal-adc.h" HOT 1
- Exception decoder not working on CLI HOT 2
- FR: Update to bug fix Arduino core 2.0.17 HOT 4
- After upgrading to 6.7.0 - an error! HOT 3
- After the update, the esp32C3 cannot be used with the USB upload program anymore HOT 3
- wrong ESP IDF version in release 6.7.0 notes? HOT 2
- Add support for ESP32-S3-WROOM-1-N4R2 HOT 6
- Add support for M5 Unit-CamS3
- Debugging not hitting breakpoints HOT 2
- Inspect fails HOT 2
- esp32-c6-devkitc-1 defines wrong RAM size HOT 5
- pio remote run -t upload missing address HOT 3
- Update to ESP-IDF v5.2.2 HOT 2
- The board selection list has many duplicate items. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from platform-espressif32.