-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
Feature: build new SDK 4.0.x libraries on first run. #2100
Conversation
Added a check to run a new ESP-IDF compilation if there are no precompiled libraries.
@kmihaylov This change should allow you to use latest |
@slaff Here are the commands I issued:
And the linker errors:
Is it possible that some old files are left inside the Sming repo? Something to delete inside |
The recommended way to update your ESP-IDF is:
And after that you have to recompile the sdk and your application using:
|
@slaff, I just did a fresh clone of Sming, followed exactly your instructions and I'm still getting the linker errors exactly as in my previous comment. |
@slaff I get the same problem. |
I should probably set a katacoda tutorial that demonstrates the needed steps.... |
@slaff @frankdownunder Can you try the following Dockerfile that should build the proper environment for you? The sample Dockerfile given below will download all needed requirements and compile Basic_Blink for you. https://github.com/slaff/katacoda-scenarios/blob/master/sming-on-esp32/Dockerfile |
@slaff I just tried docker and again the same linker errors.
Here is the output:
|
Hi Slaff |
@slaff Any thoughts on this? |
I was thinking that the Docker container generation should demonstrate any problem or working solution. But in my case not only the local installation works as expected but also the docker container. Which is bizarre... My wild guess is that there is a problem with accessing the correct linker scripts. I am looking at the code and have found some stale pre-generated ld files that should not be used. I should probably build a brand new VM and see if I can reproduce the problem there and then compare slowly and patiently the differences.... |
@kmihaylov @frankdownunder Mike is working on multiple improvements for the Esp32 architecture. If you want you can take a sneak peek at this PR: #2151 (Warning: Still work-in-progress) |
@kmihaylov @frankdownunder Please download ESP-IDF v4.1 and try the latest develop code. @mikee47 did a great job on improving the code, build process, compilation and so on. You can also test, if you have the patience, a katacoda tutorial that will guide you through the required steps: https://www.katacoda.com/slaff/scenarios/sming-on-esp32 |
@slaff i tried it and got $ make -j3 SMING_ARCH=Esp32 does it need updating? |
@frankdownunder The |
@frankdownunder By the way all changes should be already in the |
Related to: #2097.