Git Product home page Git Product logo

Comments (8)

Jason2866 avatar Jason2866 commented on July 20, 2024

This not possible to set in Arduino. It is a IDF sdkconfig compile time option (only).
You can build your own Arduino version with the arduino lib builder

from esp32-arduino-lib-builder.

VojtechBartoska avatar VojtechBartoska commented on July 20, 2024

Moved to Arduino Lib Builder repository.

from esp32-arduino-lib-builder.

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

@benedekt you can compile with whatever options you want. In case of errors caused by BT being disabled, please let us know. ESP-IDF v4.4 is currently supported

from esp32-arduino-lib-builder.

SinglWolf avatar SinglWolf commented on July 20, 2024

@benedekt you can compile with whatever options you want.

How to do it? I'm trying to execute first:

./build.sh -b menuconfig -t esp32

In menuconfig, I turn off Bluetooth, exit menuconfig with saving and execute:

./build.sh -t esp32

After compilation in the file esp32-arduino-lib-builder/out/tools/sdk/esp32/sdkconfig everything remained unchanged.

#
# Bluetooth
#
CONFIG_BT_ENABLED=y

What am I doing wrong? Please explain how to compile correctly.

from esp32-arduino-lib-builder.

Jason2866 avatar Jason2866 commented on July 20, 2024

The Arduino lib builder does not support changes in the sdkconfig files via idf.py menuconfig. You have to edit it manually in the corresponding file(s).
Menuconfig is designed to use with single IDF projects. Since Arduino Lib builder is a special use case (compiling libs for all MCUs and all flash types and modes).
This is a multi project use case and this is not possible to do with menuconfig.

from esp32-arduino-lib-builder.

SinglWolf avatar SinglWolf commented on July 20, 2024

The Arduino lib builder does not support changes in the sdkconfig files via idf.py menuconfig.

In this case, the command: ./build.sh -b menuconfig -t esp32 loses all meaning and only misleads.

from esp32-arduino-lib-builder.

Jason2866 avatar Jason2866 commented on July 20, 2024

Yep, the help text is wrong

from esp32-arduino-lib-builder.

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

That command is useful when testing a menuconfig change or similar. As long as you have ESP-IDF in your ENV, you can run the command and then run idf.py build to build the project (and flash/monitor it as well). For exporting libs, you need to edit the configuration files, but for using the repo as project starter or dev, command is useful

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.