From 0286cfb2a0c5a42fb36bfbae238312c4c9e7052e Mon Sep 17 00:00:00 2001 From: Miaojianyu Date: Thu, 19 Dec 2024 18:07:29 +0800 Subject: [PATCH] feat/add_esp32c5_target add support for the esp32c5 chip. --- bsp/esp_bsp_devkit/Kconfig | 17 +++++++++++++++++ bsp/esp_bsp_devkit/idf_component.yml | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/bsp/esp_bsp_devkit/Kconfig b/bsp/esp_bsp_devkit/Kconfig index 904f07e4..9a26c355 100644 --- a/bsp/esp_bsp_devkit/Kconfig +++ b/bsp/esp_bsp_devkit/Kconfig @@ -662,6 +662,23 @@ menu "Board Support Package (generic)" int default ENV_GPIO_RANGE_MAX endif + if IDF_TARGET_ESP32C5 + config ENV_GPIO_RANGE_MIN + int + default 0 + + config ENV_GPIO_RANGE_MAX + int + default 25 + + config ENV_GPIO_IN_RANGE_MAX + int + default ENV_GPIO_RANGE_MAX + + config ENV_GPIO_OUT_RANGE_MAX + int + default ENV_GPIO_RANGE_MAX + endif if IDF_TARGET_ESP32C6 config ENV_GPIO_RANGE_MIN int diff --git a/bsp/esp_bsp_devkit/idf_component.yml b/bsp/esp_bsp_devkit/idf_component.yml index 20774463..1727076e 100644 --- a/bsp/esp_bsp_devkit/idf_component.yml +++ b/bsp/esp_bsp_devkit/idf_component.yml @@ -1,5 +1,5 @@ -version: "2.0.0" +version: "2.1.0" description: DevKit Board Support Package (BSP) url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp_bsp_devkit