mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-21 08:49:25 +00:00
Merge branch 'feature/enable_rsa_based_secure_boot_for_c5_eco1' into 'master'
feat(bootloader_support): enabled RSA based secure boot scheme for ESP32C5 ECO1 Closes IDF-10453 and IDF-11441 See merge request espressif/esp-idf!35104
This commit is contained in:
@@ -103,6 +103,15 @@ static inline void bootloader_ana_reset_config(void)
|
||||
|
||||
esp_err_t bootloader_init(void)
|
||||
{
|
||||
#if CONFIG_SECURE_BOOT
|
||||
#if CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME
|
||||
if (efuse_hal_chip_revision() == 0) {
|
||||
ESP_LOGE(TAG, "Chip version 0.0 is not supported with RSA secure boot scheme. Please select the ECDSA scheme.");
|
||||
return ESP_ERR_NOT_SUPPORTED;
|
||||
}
|
||||
#endif /* CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME */
|
||||
#endif /* CONFIG_SECURE_BOOT */
|
||||
|
||||
esp_err_t ret = ESP_OK;
|
||||
|
||||
bootloader_hardware_init();
|
||||
|
Reference in New Issue
Block a user