cpu/esp32: fix documentation about toolchain installation#12170
Merged
gschorcht merged 1 commit intoRIOT-OS:masterfrom Sep 5, 2019
Merged
cpu/esp32: fix documentation about toolchain installation#12170gschorcht merged 1 commit intoRIOT-OS:masterfrom
gschorcht merged 1 commit intoRIOT-OS:masterfrom
Conversation
Checking out the submodules first and then the commit makes a mess. Doing it the other way round results in a working toolchain.
gschorcht
reviewed
Sep 5, 2019
| git checkout -q f198339ec09e90666150672884535802304d23ec | ||
| cd components/esp32/lib | ||
| git checkout -q 534a9b14101af90231d40a4f94924d67bc848d5f | ||
| git checkout f198339ec09e90666150672884535802304d23ec |
Contributor
There was a problem hiding this comment.
Seems to work. Wouldn't it be better to checkout with -q option? The whole warning/information text might be misleading for the use.
Contributor
Author
There was a problem hiding this comment.
Different tastes I guess. At first I was wondering if -q was doing anything special since I usually don't use it.
But I also think it's good to see what's going on, no warnings afair.
Contributor
There was a problem hiding this comment.
Different tastes I guess.
Indeed. You know the UNIX principle. No messages are good messages.
But I also think it's good to see what's going on, no warnings afair.
OK
Contributor
|
@benpicco Many thanks for figuring it out. I didn't realize it. When I was writing the documentation it worked in documented way. |
gschorcht
approved these changes
Sep 5, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
It looks like the submodule folders in esp-idf got renamed, this breaks the instructions in the documentation as it instructs the user to get them all to the latest state immediately (
git clone --recursive):Now when trying to build e.g.
examples/gnrc_networking, this results in errors that the libraries can not be found for linking, the build fails.If instead we checkout the submodules after bringing the main repo to a known state, things work again
Testing procedure
Follow the instructions for installing the toolchain:
In RIOT, do
Issues/PRs references
discovered when testing #11997