menuconfig = where is it

tommeyers
Posts: 184
Joined: Tue Apr 17, 2018 1:51 pm
Location: Santiago, Dominican Republic

menuconfig = where is it

Postby tommeyers » Tue Sep 25, 2018 3:07 pm

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
IT Professional, Maker
Santiago, Dominican Republic

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: menuconfig = where is it

Postby chegewara » Tue Sep 25, 2018 3:10 pm

Maybe you are missing sdkconfig file:
https://github.com/espressif/arduino-es ... /tools/sdk

tommeyers
Posts: 184
Joined: Tue Apr 17, 2018 1:51 pm
Location: Santiago, Dominican Republic

Re: menuconfig = where is it

Postby tommeyers » Tue Sep 25, 2018 4:08 pm

//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
IT Professional, Maker
Santiago, Dominican Republic

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: menuconfig = where is it

Postby chegewara » Wed Sep 26, 2018 2:47 am

What header you are trying to include that is causing this error message?

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: menuconfig = where is it

Postby ESP_Angus » Wed Sep 26, 2018 6:30 am

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.

tommeyers
Posts: 184
Joined: Tue Apr 17, 2018 1:51 pm
Location: Santiago, Dominican Republic

Re: menuconfig = where is it

Postby tommeyers » Wed Sep 26, 2018 3:29 pm

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
IT Professional, Maker
Santiago, Dominican Republic

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: menuconfig = where is it

Postby ESP_Angus » Wed Sep 26, 2018 11:29 pm

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.)

tommeyers
Posts: 184
Joined: Tue Apr 17, 2018 1:51 pm
Location: Santiago, Dominican Republic

Re: menuconfig = where is it

Postby tommeyers » Thu Sep 27, 2018 3:13 pm

Thanks, I will use that resource, Tom Meyers
IT Professional, Maker
Santiago, Dominican Republic

Who is online

Users browsing this forum: No registered users and 82 guests