-
Notifications
You must be signed in to change notification settings - Fork 1k
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
esp32: make bootloader is not working for building from the source code #12335
Comments
@tmedicci any idea? |
Hi @acassis ! I tested it locally (and our internal CI also tests it daily). I could not find any problems. I suspect this is somehow related to the outdated |
@acassis and @casaroli , the bootloader built from the sources uses a wrapper around an IDF-provided repository (the NuttX adopted kconfiglib later and it uses it by default. This required users that still want to use kconfig-frontends to uninstall kconfiglib (or, equivalently, uninstall for their python environment): this is why this problem has risen. I'm closing this issue because IDF's bootloader is about to be deprecated. I recommend keeping kconfiglib installed to enable building the bootloader from the sources. There are a list of possible workarounds to be used (if kconfig-frontends is required) until we completely deprecate the use of the IDF's bootloader:
|
Thank you very much for this explanation @tmedicci ! Actually kconfiglib is not the default option for NuttX, it is optional: https://nuttx.apache.org/docs/latest/quickstart/install.html I think both kconfig-frontends and kconfiglib work correctly in the NuttX building system, I wasn't aware of this limitation/constraints of ESP-IDF. Thank you again for above explanation. |
You're welcome, Alan!
I meant that, if available, kconfiglib will be used instead of kconfig-frontends: Line 639 in cfa5443
|
While trying to build the bootloader from source code I'm getting this error:
These are the steps
Configure the board:
Enable CONFIG_ESP32_BOOTLOADER_BUILD_FROM_SOURCE :
Then try to build the bootloader:
The text was updated successfully, but these errors were encountered: