[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
$ cat $HOME/esp-idf/examples/common_components/env_caps/esp32c3/Kconfig.env_caps
config ENV_GPIO_RANGE_MIN
int
default 0
config ENV_GPIO_RANGE_MAX
int
default 19
# GPIOs 20/21 are always used by UART in examples
$ cat $HOME/esp-idf/examples/common_components/env_caps/esp32c2/Kconfig.env_caps
config ENV_GPIO_RANGE_MIN
int
default 0
config ENV_GPIO_RANGE_MAX
int
default 20
GPIO 19/20 of ESP32C2 are used by UART so ESP32C2's ENV_GPIO_RANGE_MAX is not 18?
Answers checklist.
General issue report
GPIO 19/20 of ESP32C2 are used by UART so ESP32C2's ENV_GPIO_RANGE_MAX is not 18?