Page 1 of 1

menuconfig = where is it

Posted: Tue Sep 25, 2018 3:07 pm
by tommeyers
An example in Arduino esp32 indicates that I need to run menuconfig. How do I do that?

It looks like it is not part of my arduino install.

Thanks, Tom Meyers

Re: menuconfig = where is it

Posted: Tue Sep 25, 2018 3:10 pm
by chegewara
Maybe you are missing sdkconfig file:
https://github.com/espressif/arduino-es ... /tools/sdk

Re: menuconfig = where is it

Posted: Tue Sep 25, 2018 4:08 pm
by tommeyers
//This example code is in the Public Domain (or CC0 licensed, at your option.)
//By Evandro Copercini - 2018
//
//This example creates a bridge between Serial and Classical Bluetooth (SPP)
//and also demonstrate that SerialBT have the same functionalities of a normal Serial

#include "BluetoothSerial.h"

#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
#endif

It is also referenced other places

Tom Meyers

Re: menuconfig = where is it

Posted: Wed Sep 26, 2018 2:47 am
by chegewara
What header you are trying to include that is causing this error message?

Re: menuconfig = where is it

Posted: Wed Sep 26, 2018 6:30 am
by ESP_Angus
menuconfig is part of ESP-IDF, and is used to configure ESP-IDF projects. It must be used to change configuration when building an Arduino project under the ESP-IDF Build System, outside of Arduino IDE.

In Arduino IDE, the ESP-IDF parts are pre-compiled so the project configuration for "Arduino IDE" is fixed. The Bluetooth configuration should be already enabled in this configuration, so this error should not appear at compile time.

Are you getting this error in the Arduino IDE? If so, please give as many details as you can.

Re: menuconfig = where is it

Posted: Wed Sep 26, 2018 3:29 pm
by tommeyers
I included the comment lines just to show one occurrence of a reference to menuconfig; there are also posts referencing it.

What I want is to see is the details of my BT config and all the posts in the forum and elsewhere that I found led me to menuconfig.

How can I see what my BT config is? Is there a tool or a text config file?

I am having difficulties connecting a chrome.bluetooth extension to esp32 Arduino BTSerial. For example in chrome.bluetooth I can filter the devices but without knowing the BT attributes being presented by BTSerial I can't specify the filters that are required. I have tried using a BT sniffer but it did not tell me enough.

Thanks, Tom

Re: menuconfig = where is it

Posted: Wed Sep 26, 2018 11:29 pm
by ESP_Angus
tommeyers wrote: What I want is to see is the details of my BT config and all the posts in the forum and elsewhere that I found led me to menuconfig.

How can I see what my BT config is? Is there a tool or a text config file?
The ESP-IDF sdkconfig (configuration file, generated by menuconfig) which is used in Arduino IDE is here:
https://github.com/espressif/arduino-es ... /sdkconfig

Editing this file will not change anything (and may actually break things), the ESP-IDF libraries are pre-built when used in Arduino IDE.

For an explanation of the items, you can check here:
https://docs.espressif.com/projects/esp ... onfig.html

(Note that most BT options are configured in code, only the very fundamental features are configured via menuconfig/sdkconfig. So the item you're seeking may be somewhere else.)

Re: menuconfig = where is it

Posted: Thu Sep 27, 2018 3:13 pm
by tommeyers
Thanks, I will use that resource, Tom Meyers