-
Notifications
You must be signed in to change notification settings - Fork 1.3k
clarifying the need to use the patched esp-idf #3487
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
clarifying the need to use the patched esp-idf #3487
Conversation
@@ -48,6 +48,9 @@ Building boards such as the Saola is typically done through `make flash`. The de | |||
make BOARD=espressif_saola_1_wrover flash PORT=/dev/tty.usbserial-1421120 | |||
``` | |||
|
|||
More information about the `esp-idf` can be found [here](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small suggestion, I think a link to esp32s2
page in esp-idf
would be more relevant.
More information about the `esp-idf` can be found [here](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/). | |
More information about the `esp-idf` can be found [here](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/). |
ports/esp32s2/README.md
Outdated
@@ -30,7 +30,7 @@ Connect these pins using a [USB adapter](https://www.adafruit.com/product/4090) | |||
|
|||
## Building and flashing ## | |||
|
|||
Before building or flashing the ESP32-S2, you must [install the esp-idf](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html). This must be re-done ever time the esp-idf is updated, but not every time you build. Run `cd ports/esp32s2` from `circuitpython/` to move to the esp32s2 port root, and run: | |||
Before building or flashing the ESP32-S2, you must install the patched version of the `esp-idf` included with CircuitPython. This must be re-done ever time the esp-idf is updated, but not every time you build. Run `cd ports/esp32s2` from `circuitpython/` to move to the esp32s2 port root, and run: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"ever time" should say "every time".
Instead of "the patched version" consider saying "the specific version". We may go back to not having local modifications to esp-idf if @hierophect succeeds but it will likely fall behind official esp-idf.
I'm almost done moving us back to the official IDF - the reason for needing the patched IDF had to do with Making a note that reinstalling the IDF after version changes is probably a good idea though. |
@microdev1, @jedgarpark, @tannewt, @hierophect - thanks for the feedback.
I'll try to edit that in succinctly. |
re-wording after feedback.
Build is failing due to a missing step, or step that isn't triggering? Failing step is
|
The build failure should not prevent this being merged, it was just network flakiness. I'll leave approving the wording to someone else. |
@julianrendell Did you see microdev's comment about the link? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this PR has understandably gotten mixed up a little bit by the upcoming update to the ESP-IDF. In general, I think it needs some reductions to make it more clear - the current wording does a good job of trying to include both possibilities of a forked and direct IDF submodule, but that shouldn't ultimately be necessary (we're not going to use a forked IDF again) and I'm afraid it just adds extra confusion.
I would suggest removing the set of changes altogether these changes down to the following updates:
- add cd command to install.sh steps
- rework export instruction to note it's needed after installation
- include the general link to the esp-idf documentation
- I would also request you change the first esp-idf link so that it correctly points to the s2 documentation, not the base esp32
@@ -30,24 +30,36 @@ Connect these pins using a [USB adapter](https://www.adafruit.com/product/4090) | |||
|
|||
## Building and flashing ## | |||
|
|||
Before building or flashing the ESP32-S2, you must [install the esp-idf](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html). This must be re-done ever time the esp-idf is updated, but not every time you build. Run `cd ports/esp32s2` from `circuitpython/` to move to the esp32s2 port root, and run: | |||
Before building or flashing the ESP32-S2 version of CircuitPython, you must install a version of the [ESP32-S2 esp-idf](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/) that is compatible with it. Please note that the esp-idf must be re-installed everytime the compatible version is updated. It does not have to be re-installed every time you build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know that this change adds clarity, as per my general comments.
Superseded by #3607 |
No description provided.