Merge branch 'bugfix/c2_chip_info_gpio_range' into 'master'

hw-support: update C2 chip info to reflect that esp8684 has embedded flash

Closes IDFGH-8735 and IDFGH-8734

See merge request espressif/esp-idf!21064
This commit is contained in:
Marius Vikhammer 2022-11-15 20:39:06 +08:00
commit 73724b0d41
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