Hi - I have an ESP32-S2-DevKitC-1 development board. I am trying the Blink example project. After running
idf.py set-target esp32s2
I run
idf.py menuconfig
so that I can set the parameter Example Configuration -> Blink LED type to RMT. However, this parameter doesn't appear in the menu. The only parameter in the Example Configuration menu is Blink GPIO number.
Any idea what is going on? It seems like idf.py needs to know about the development board (ESP32-S2-DevBitC-1), not just the SOC target (esp32s2) but I don't see any environment variable (or file parameter) that indicates this.
Blink Example - LED Type not available in menuconfig
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: Blink Example - LED Type not available in menuconfig
What ESP-IDF version are you using? From what I remember, that option was added somewhat recently.
Re: Blink Example - LED Type not available in menuconfig
idf.py --version ==> ESP-IDF v4.3.1
But does menuconfig display options even if the underlying development board doesn't support it? That seems like a bad idea. That's why I asked if somehow (i.e. environment variable, compiler define, etc) idf.py thinks it knows the capabilities of the system hardware.
But does menuconfig display options even if the underlying development board doesn't support it? That seems like a bad idea. That's why I asked if somehow (i.e. environment variable, compiler define, etc) idf.py thinks it knows the capabilities of the system hardware.
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: Blink Example - LED Type not available in menuconfig
idf.py generally doesn't have knowledge of the development board you're using - only the chip you're compiling it for (as set with 'idf.py set-target').
Also, it seems that the blink example in v4.3.1 doesn't have support for the WS2812-type leds - from what I can see, that was added in v4.4.
Also, it seems that the blink example in v4.3.1 doesn't have support for the WS2812-type leds - from what I can see, that was added in v4.4.
Who is online
Users browsing this forum: atx823, Gaston1980 and 256 guests