Open
Description
Answers checklist.
- I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
Now that ESP32C3 is supported for this example, example will need to be changed for the button to accommodate for the different boards.
For ESP32C3, I have added this to allow the boards to work:
#if(CONFIG_IDF_TARGET_ESP32C3)
#define BUTTON_IO_NUM 9
#define BUTTON_ACTIVE_LEVEL 1
#elif (CONFIG_IDF_TARGET_ESP32)
#define BUTTON_IO_NUM 0
#define BUTTON_ACTIVE_LEVEL 0
#endif