Page 1 of 1

"EXAMPLE CONIGURATION OPTION" not showing in menuconfig of ESP-IDF

Posted: Mon Apr 11, 2022 7:32 am
by Wajeeha77
please help !!! I need to set WIFI SSID AND PASSWORD FOR ESP32 to get frames over the wifi but the option of 'EXAMPLE CONFIGURATION' is not appearing in menuconfig of ESP-IDF...

Re: "EXAMPLE CONIGURATION OPTION" not showing in menuconfig of ESP-IDF

Posted: Mon Apr 11, 2022 7:59 am
by ESP_Minatel
Hi,

Are you trying to use the ESP-IDF example? Can you give more details about it?

Re: "EXAMPLE CONIGURATION OPTION" not showing in menuconfig of ESP-IDF

Posted: Mon Apr 11, 2022 8:08 am
by Wajeeha77
I am using the code in this repo, following readme to acquire camera frames over the WIFI
https://github.com/luxonis/esp32-spi-me ... aming_wifi

Re: "EXAMPLE CONIGURATION OPTION" not showing in menuconfig of ESP-IDF

Posted: Mon Apr 11, 2022 8:28 am
by RalphD
try to build the example project first and then open menuconfig again.

Best wishes
Ralph

Re: "EXAMPLE CONIGURATION OPTION" not showing in menuconfig of ESP-IDF

Posted: Mon Apr 11, 2022 9:08 am
by Wajeeha77
Ralph build hello_world from examples folder. "idf.py menuconfig" again not showing "Example Configuration"... :( please help

Re: "EXAMPLE CONIGURATION OPTION" not showing in menuconfig of ESP-IDF

Posted: Mon Apr 11, 2022 9:22 am
by ESP_Minatel
Have you tried to ask help on the GitHub repo? You can open an issue there directly.

Re: "EXAMPLE CONIGURATION OPTION" not showing in menuconfig of ESP-IDF

Posted: Mon Apr 11, 2022 9:27 am
by chegewara
Wajeeha77 wrote: Ralph build hello_world from examples folder. "idf.py menuconfig" again not showing "Example Configuration"... :( please help
If you are trying to build "hello_world" example then you should read README from that example and not from some external repository.
In "hello_world" example there is no wifi used, so you wont find menu to configure anything in menuconfig.

Re: "EXAMPLE CONIGURATION OPTION" not showing in menuconfig of ESP-IDF

Posted: Mon Apr 11, 2022 12:57 pm
by RalphD
chegewara wrote:
Mon Apr 11, 2022 9:27 am
Wajeeha77 wrote: Ralph build hello_world from examples folder. "idf.py menuconfig" again not showing "Example Configuration"... :( please help
If you are trying to build "hello_world" example then you should read README from that example and not from some external repository.
In "hello_world" example there is no wifi used, so you wont find menu to configure anything in menuconfig.
Very good point, obviously you should work on a sample project using WiFi :lol:

Re: "EXAMPLE CONIGURATION OPTION" not showing in menuconfig of ESP-IDF

Posted: Mon Apr 11, 2022 8:00 pm
by Wajeeha77
got it! thankyou so much!

Re: "EXAMPLE CONIGURATION OPTION" not showing in menuconfig of ESP-IDF

Posted: Fri Aug 18, 2023 4:38 am
by siva4esp
[1] Under the project directory create a file at "main/Kconfig.projbuild"

[2] Add the following to the Kconfig.projbuild file:

Code: Select all

menu "Example Configuration"

    orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"

    config I2C_MASTER_SCL
        int "SCL GPIO Num"
        range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
        default 19 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
        default 0
        help
            GPIO number for I2C Master clock line.

    config I2C_MASTER_SDA
        int "SDA GPIO Num"
        range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
        default 18 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
        default 1
        help
            GPIO number for I2C Master data line.

endmenu
[3] idf.py menuconfig