-
Notifications
You must be signed in to change notification settings - Fork 135
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
Save to build with IDF_BRANCH release/v4.x? #21
Comments
to build against master IDF, use the |
thanks a lot :) I will try this and see if the memory problem is happening with newer esp-idf as well. |
questions regarding v4.2 branch,:
I am getting this when I run build.sh
|
Starting with IDF 4.0 the build system uses CMake and not Make. Proper config command is |
Alright, I have that stuff installed from the readme but it puts out many errors like this:
Is there new doc on the packages needed to be installed? |
this is probably not a dependency issue.
|
Looks like I got the wrong xtensa-esp32-elf tools? I unpacked it in my home dir in "xtensa-esp32-elf", and made sure it can be found by adding the path to the $PATH env: I did the same for current master branch with esp-idf v3.3 which worked just fine. Now I am stuck here:
... |
@me-no-dev you were right, I still had wrong branch selected in esp-idf, seems like the build.sh script does not switch the branch automatically.
|
More recent versions of IDF install the s2 toolchain in ~/.espressif but
earlier ones don't. (I think it is esp-idf/install.sh that does this.)
Maybe run that script for the branch you're on, or even for a 4.3-dev?
hth
h
|
For now I got my code more or less stable with esp-idf 3.3 and arduino-esp32 master branch so I will properly try esp-idf v4.2 later when the building process is more stable or the build environment can be prepared automatically. |
|
master branch builds against IDF master (4.4) |
Hire My project, already running, is a wifi rover, able of autonomous missions with RTK data & with 100 Hz IMU, using a javascript websocket browser interface (later an RF serial protocol...). All is correctly working in Eclipse & arduino IDE, environment, but I need vTaskGetRunTimeStats to optimize the tasks priorities/stacks/cores implementations (Lwip, esp_http_server & others...). I try the custom configuration "./build.sh -b menuconfig -t esp32" & it runs but I don't know how to set arduino & idf versions (option -A & -I).Can you help me? Cordially yours (Eric retired computer design engineer https://github.com/ecobdoor/toto). |
I am on esp-idf 3.3 and arduino-esp32 master branch right now.
Before II was on esp-idf 3.2.
I am getting mad finding an "out of memory" inside LWIP which happens at a random point when using DTLS UDP Streaming (MBEDTLS). See my other issues:
espressif/esp-idf#6241
Mbed-TLS/mbedtls#3954
I have debugged so much into this and I am not able to find the reason why malloc() inside LWIP fails at a random point.
My question is, is it save or possible to build against esp-idf 4.x or even the master branch, as there are already new heap api calls like heap_caps_register_failed_alloc_callback which I want to utlitize.
The text was updated successfully, but these errors were encountered: