Git Product home page Git Product logo

Comments (7)

SinglWolf avatar SinglWolf commented on July 20, 2024 1

After discussion with @me-no-dev the propper way is to modify esp32-arduino-lib-builder/configs/defconfig.common

In that case, what's the point of the command: ./build.sh -t esp32 -b menuconfig, if my have to manually edit esp32-arduino-lib-builder/configs/defconfig.common????

from esp32-arduino-lib-builder.

SinglWolf avatar SinglWolf commented on July 20, 2024

Same problem.

from esp32-arduino-lib-builder.

PilnyTomas avatar PilnyTomas commented on July 20, 2024

After discussion with @me-no-dev the propper way is to modify esp32-arduino-lib-builder/configs/defconfig.common
See espressif/arduino-esp32#7193

from esp32-arduino-lib-builder.

PilnyTomas avatar PilnyTomas commented on July 20, 2024

what's the point of the command ./build.sh -t esp32 -b menuconfig:

Maybe @me-no-dev can answer that.

from esp32-arduino-lib-builder.

chegewara avatar chegewara commented on July 20, 2024

After discussion with @me-no-dev the propper way is to modify esp32-arduino-lib-builder/configs/defconfig.common

In that case, what's the point of the command: ./build.sh -t esp32 -b menuconfig, if my have to manually edit esp32-arduino-lib-builder/configs/defconfig.common????

For some params you have default values, which will overwrite the values you set, but not all. The point is to have default values for espressif build make it easier. If you want to change some value which exist in default.xxx you just have to remove it or comment out in default.xxx file.

It is rare case when users edit values in menuconfig, but its common case (CI) when its required to use default values.
Sure, its not optimal, but i think the only option with Smake to do it, but i may be wrong (not cmake expert).

from esp32-arduino-lib-builder.

jcwren avatar jcwren commented on July 20, 2024

Seems like the rather sparse README.md should be updated to note this. I just wasted 2 hours trying to figure out why trying to enable the FreeRTOS trace facility via the CONFIG_FREERTOS_USE_TRACE_FACILITY in sdkconfig was just getting tossed out like a piece of old dead fish, only to find it in a closed issue.

It's very counterintuitive to have to modify files in esp32-arduino-lib-builder/configs when ESP-32 developers (and people with a Linux kernel background) are used to using menuconfig.

The real issue is that changes to sdkconfig are being thrown away, rather than just having whatever values are specified in the defaults files overwriting those particular settings in the sdkconfig

from esp32-arduino-lib-builder.

me-no-dev avatar me-no-dev commented on July 20, 2024

menuconfig and sdkconfig relate only to certain configuration/chip at once. Here we build for all supported chips. The ./build.sh -t [chip] menuconfig in intended to configure a normal project build for particular chip only and not to relate that to building and exporting libraries to Arduino. Imagine it as you using the repo to build your own firmware for particular board that uses Arduino as component.

from esp32-arduino-lib-builder.

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.