fix(isp_lsc): fixed warning description for p4 v1.0

This commit is contained in:
Michael (XIAO Xufeng) 2024-11-01 16:02:49 +08:00
parent 82f558b47a
commit cb227eb260
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ esp_err_t esp_isp_lsc_configure(isp_proc_handle_t isp_proc, const esp_isp_lsc_co
#if CONFIG_IDF_TARGET_ESP32P4
unsigned chip_version = efuse_hal_chip_revision();
if (!ESP_CHIP_REV_ABOVE(chip_version, 100)) {
ESP_RETURN_ON_FALSE(false, ESP_ERR_NOT_SUPPORTED, TAG, "LSC is not supported on ESP32P4 chips prior than ECO2");
ESP_RETURN_ON_FALSE(false, ESP_ERR_NOT_SUPPORTED, TAG, "LSC is not supported on ESP32P4 chips prior than v1.0");
}
#endif

View File

@ -311,7 +311,7 @@ esp_err_t IRAM_ATTR esp_mspi_32bit_address_flash_feature_check(void)
// IDF-10019
unsigned chip_version = efuse_hal_chip_revision();
if (unlikely(!ESP_CHIP_REV_ABOVE(chip_version, 1))) {
ESP_EARLY_LOGE(TAG, "32bit address (flash over 16MB) has high risk on ESP32P4 ECO0");
ESP_EARLY_LOGE(TAG, "32bit address (flash over 16MB) has high risk on ESP32P4 v0.0");
return ESP_ERR_NOT_SUPPORTED;
}
#endif