Coder Social home page Coder Social logo

Comments (6)

acassis avatar acassis commented on September 27, 2024

@tmedicci any idea?

from nuttx.

tmedicci avatar tmedicci commented on September 27, 2024

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 kconfig-frontends, but I was not even able to build it locally (it requires very old libraries). Can you check with kconfiglib?

from nuttx.

acassis avatar acassis commented on September 27, 2024

Thank you @tmedicci actually this issue was reported by @casaroli and I just tried to reproduced the issue. I think he is used kconfiglib, but if this is some issue caused by Kconfig, it should be modified to work with kconfig-frontends and kconfiglib.

from nuttx.

tmedicci avatar tmedicci commented on September 27, 2024

@acassis and @casaroli , the bootloader built from the sources uses a wrapper around an IDF-provided repository (the esp-nuttx-bootloader). Kconfiglib is a dependency of ESP-IDF, so it must be installed (not by NuttX, but for esp-nuttx-bootloader). This is why we are removing support for the IDF's bootloader.

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:

  • Install kconfiglib in a python environment and activate/deactivate it before/after running make bootloader;
  • Modify NuttX's build system to enable selecting a preferred tool (instead of using kconfiglib by default, when available).

from nuttx.

acassis avatar acassis commented on September 27, 2024

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.

from nuttx.

tmedicci avatar tmedicci commented on September 27, 2024

You're welcome, Alan!

Actually kconfiglib is not the default option for NuttX, it is optional:
https://nuttx.apache.org/docs/latest/quickstart/install.html

I meant that, if available, kconfiglib will be used instead of kconfig-frontends:

# Prefer "kconfiglib" if host OS supports it

from nuttx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.