How do i override CONFIG_EXAMPLE_WIFI_SSID using IDF Eclipse Plugin
Posted: Tue Nov 14, 2023 9:34 pm
Hi, I have setup the IDF Eclipse Plugin, version 2.11.1, and ESP IDF 5.1 under Eclipse CDT202309. I have created an IDF Project, based on the protocols/esp-http-client template. It compiles and flashes fine. But I can't for the life of me find where the correct place to modify the CONFIG_EXAMPLE_WIFI_SSID define. (It's set to "myssid") I know I could hard code this in my program, but I want learn how to do it right.
I see lots of talk about menuconfig, but since this is in Eclipse, I don't think this is relevant.
No matter what file I change CONFIG_EXAMPLE_WIFI_SSID in, it seems to have a warning at the start stating that this is a generated file, do not change it. I have a file called Kconfig.projbuild, into which I added:
But this didn't work. Similarly, I have a file in my project called sdkconfig, but this too gets overridden at build time, and ends up back at a value of "myssid" .
What am I missing here?
I see lots of talk about menuconfig, but since this is in Eclipse, I don't think this is relevant.
No matter what file I change CONFIG_EXAMPLE_WIFI_SSID in, it seems to have a warning at the start stating that this is a generated file, do not change it. I have a file called Kconfig.projbuild, into which I added:
Code: Select all
config EXAMPLE_WIFI_SSID
string "Example WiFi SSID"
default "MyHomeSSID"
help
SSID (network name) for the example to connect to.
What am I missing here?