Merge branch 'bugfix/c2_chip_info_gpio_range_v5.0' into 'release/v5.0'

hw-support: update C2 chip info to reflect that esp8684 has embedded flash (v5.0)

See merge request espressif/esp-idf!21066
This commit is contained in:
Marius Vikhammer
2022-12-05 12:06:39 +08:00
2 changed files with 3 additions and 2 deletions

View File

@@ -14,5 +14,5 @@ void esp_chip_info(esp_chip_info_t *out_info)
out_info->model = CHIP_ESP32C2;
out_info->revision = efuse_hal_chip_revision();
out_info->cores = 1;
out_info->features = CHIP_FEATURE_WIFI_BGN | CHIP_FEATURE_BLE;
out_info->features = CHIP_FEATURE_WIFI_BGN | CHIP_FEATURE_BLE | CHIP_FEATURE_EMB_FLASH;
}

View File

@@ -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