From a918c13db5f9450f03e096b71391d576c24fac42 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Mon, 14 Nov 2022 10:13:00 +0800 Subject: [PATCH] examples: update max GPIO range for C2 examples to exclude UART0 pins Closes https://github.com/espressif/esp-idf/issues/10174 --- examples/common_components/env_caps/esp32c2/Kconfig.env_caps | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/common_components/env_caps/esp32c2/Kconfig.env_caps b/examples/common_components/env_caps/esp32c2/Kconfig.env_caps index b01125aba4..3524ca58b6 100644 --- a/examples/common_components/env_caps/esp32c2/Kconfig.env_caps +++ b/examples/common_components/env_caps/esp32c2/Kconfig.env_caps @@ -4,7 +4,8 @@ config ENV_GPIO_RANGE_MIN config ENV_GPIO_RANGE_MAX int - default 20 + default 18 + # GPIOs 19/20 are always used by UART in examples config ENV_GPIO_IN_RANGE_MAX int