mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-07 05:35:16 +00:00
Merge branch 'feature/efuse_update_for_esp32h2_eco5_v5.4' into 'release/v5.4'
feat(efuse): Adds efuses for esp32h2 eco5 (v5.4) See merge request espressif/esp-idf!36238
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
# using gen_soc_caps_kconfig.py, do not edit manually
|
||||
#####################################################
|
||||
|
||||
config SOC_CAPS_ECO_VER_MAX
|
||||
int
|
||||
default 102
|
||||
|
||||
config SOC_ADC_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
@@ -16,7 +16,24 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef __has_include
|
||||
# if __has_include("sdkconfig.h")
|
||||
# include "sdkconfig.h"
|
||||
# define SOC_CAPS_ECO_VER CONFIG_ESP32H2_REV_MIN_FULL
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if !defined(SOC_CAPS_ECO_VER)
|
||||
#define SOC_CAPS_ECO_VER SOC_CAPS_ECO_VER_MAX
|
||||
#endif
|
||||
|
||||
#ifndef SOC_CAPS_ECO_VER
|
||||
#warning ECO version not determined. Some ECO related caps will not be available.
|
||||
#warning Define SOC_CAPS_ECO_VER before including this header.
|
||||
#endif
|
||||
|
||||
/*-------------------------- COMMON CAPS ---------------------------------------*/
|
||||
#define SOC_CAPS_ECO_VER_MAX 102
|
||||
#define SOC_ADC_SUPPORTED 1
|
||||
#define SOC_ANA_CMPR_SUPPORTED 1
|
||||
#define SOC_DEDICATED_GPIO_SUPPORTED 1
|
||||
@@ -474,7 +491,9 @@
|
||||
#define SOC_EFUSE_SOFT_DIS_JTAG 1
|
||||
#define SOC_EFUSE_DIS_ICACHE 1
|
||||
#define SOC_EFUSE_BLOCK9_KEY_PURPOSE_QUIRK 1 // XTS-AES and ECDSA key purposes not supported for this block
|
||||
#if SOC_CAPS_ECO_VER < 102
|
||||
#define SOC_EFUSE_ECDSA_USE_HARDWARE_K 1 // Force use hardware TRNG supplied K for ECDSA
|
||||
#endif
|
||||
#define SOC_EFUSE_ECDSA_KEY 1
|
||||
|
||||
/*-------------------------- Secure Boot CAPS----------------------------*/
|
||||
|
Reference in New Issue
Block a user