-
-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a customized framework for the ESP-IDF results in a Python error #1418
Comments
I also have this issue ;/ |
The workaround for me is just to point to a release zip file for example |
I have a similar issue. Here's my
The ESP-IDF in that directory is known to be good, and works with both the When I delete all the related directories in
I also left a comment in #1398 (comment) that has a similar topic, noting that this
So clearly the problem seems to be with the install using this line:
My objective here is to leverage some of the latest features I am working on for wolfSSL in the |
oh, and after posting my prior comment, I see in #1398 (comment) from @Jason2866:
Are there no alternatives to installing a specific ESP-IDF version in PlatformIO? I was looking at the documentation that had this example for the arduino platform for something similar:
@Jason2866: Perhaps if I create a release on my branch, I can do something like this from @johnboiles?
as noted in #889 (comment) ? |
Yes, and I am the guy responsible for Tasmota related to all framework stuff. |
@MrSurly You can try my PR. You have to add a package.json in your forked IDF branch. |
For reference a related conversation continued in gojimmypi/esp-idf#1 regarding creating a custom ESP-IDF release. |
What kind of issue is this?
If you’ve found a bug, please provide an information below.
Configuration
Operating system: Ubuntu Linux 22.04
PlatformIO Version (
platformio --version
): PlatformIO Core, version 6.1.15Description of problem
N.B.: This was originally a forum post, but that got zero traction.
I have a custom framework (based on ESP32 IDF) being pulled from a repository, named
esp-idf-ssr
. It’s defined in myplatformio.ini
file (see below). I also have a custom board located inboards/tc.json
in the top level of my project.The
tc
board does show up for theespressif32
platform when you issuepio boards
.The
tc.json
file is identical as theesp32dev board
, except I added the custom framework.Problems:
Custom framework with stock board:
When using
espidf-ssr
framework withesp32dev
board:Custom framework with custom board:
When using
espidf-ssr
framework with tc board:Stock framework, but override framework-espidf with custom URL:
platformio.ini
snippets:Here, I’m simply trying to override the existing
framework-espidf
for use with the esp32dev board. I get:How can I use my custom framework? I only added the custom board thinking I needed to do that to avoid the
This board doesn't support espidf-ssr framework!
errorUpdate 1
I found what’s causing this (sorta)
In
[platform]/espressif32/builder/frameworks/espidf.py
functionget_idf_venv_dir
, the call toget_original_version
fails because the version is3.50201.0+sha.8ef99ab
. It has the +sha... tacked onto the end, andget_original_version
won’t parse it because it has 3 dots (.
) in it:Update 2
The version data is ultimately coming from
.../packages/framework-espidf/.git/.piopm
But I cannot figure out what writes this file. I did a search for the string.piopm
in the~/.platformio
directory – got a few hits, but nothing related to what creates this file.Steps to Reproduce
[Detailed description above]
Actual Results
Crashes with Python assertion
Expected Results
To work as a custom framework
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
N/A
The text was updated successfully, but these errors were encountered: