mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
change(gen_soc_caps_kconfig): check if config options have the same type
Also introduce ignore pragma to prevent some #defines from .h files to be translated to Kconfig files.
This commit is contained in:
@@ -3,18 +3,6 @@
|
||||
# using gen_soc_caps_kconfig.py, do not edit manually
|
||||
#####################################################
|
||||
|
||||
config SOC_BROWNOUT_RESET_SUPPORTED
|
||||
string
|
||||
default "Not determined"
|
||||
|
||||
config SOC_TWAI_BRP_DIV_SUPPORTED
|
||||
string
|
||||
default "Not determined"
|
||||
|
||||
config SOC_DPORT_WORKAROUND
|
||||
string
|
||||
default "Not determined"
|
||||
|
||||
config SOC_CAPS_ECO_VER_MAX
|
||||
int
|
||||
default 301
|
||||
@@ -279,6 +267,10 @@ config SOC_ADC_SHARED_POWER
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_BROWNOUT_RESET_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_SHARED_IDCACHE_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
@@ -312,8 +304,8 @@ config SOC_CPU_WATCHPOINTS_NUM
|
||||
default 2
|
||||
|
||||
config SOC_CPU_WATCHPOINT_MAX_REGION_SIZE
|
||||
int
|
||||
default 64
|
||||
hex
|
||||
default 0x40
|
||||
|
||||
config SOC_DAC_CHAN_NUM
|
||||
int
|
||||
@@ -836,8 +828,8 @@ config SOC_MPI_MEM_BLOCKS_NUM
|
||||
default 4
|
||||
|
||||
config SOC_MPI_OPERATIONS_NUM
|
||||
bool
|
||||
default y
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_RSA_MAX_BIT_LEN
|
||||
int
|
||||
@@ -860,8 +852,8 @@ config SOC_SECURE_BOOT_V1
|
||||
default y
|
||||
|
||||
config SOC_EFUSE_SECURE_BOOT_KEY_DIGESTS
|
||||
bool
|
||||
default y
|
||||
int
|
||||
default 1
|
||||
|
||||
config SOC_FLASH_ENCRYPTED_XTS_AES_BLOCK_MAX
|
||||
int
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2020-2024 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2020-2025 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -54,9 +54,9 @@
|
||||
|
||||
// Define warning strings here for ECO-ed features to show error when they are used without being
|
||||
// defined correctly
|
||||
#define SOC_BROWNOUT_RESET_SUPPORTED "Not determined"
|
||||
#define SOC_TWAI_BRP_DIV_SUPPORTED "Not determined"
|
||||
#define SOC_DPORT_WORKAROUND "Not determined"
|
||||
#define SOC_BROWNOUT_RESET_SUPPORTED "Not determined" // [gen_soc_caps:ignore]
|
||||
#define SOC_TWAI_BRP_DIV_SUPPORTED "Not determined" // [gen_soc_caps:ignore]
|
||||
#define SOC_DPORT_WORKAROUND "Not determined" // [gen_soc_caps:ignore]
|
||||
#endif
|
||||
|
||||
/*-------------------------- COMMON CAPS ---------------------------------------*/
|
||||
@@ -107,7 +107,7 @@
|
||||
#define SOC_PM_SUPPORTED 1
|
||||
|
||||
#if SOC_CAPS_ECO_VER < 200
|
||||
#define SOC_DPORT_WORKAROUND 1
|
||||
#define SOC_DPORT_WORKAROUND 1 // [gen_soc_caps:ignore]
|
||||
#endif // SOC_CAPS_ECO_VER < 200
|
||||
#define SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL (5U)
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
|
||||
#define SOC_CPU_BREAKPOINTS_NUM 2
|
||||
#define SOC_CPU_WATCHPOINTS_NUM 2
|
||||
#define SOC_CPU_WATCHPOINT_MAX_REGION_SIZE 64 // bytes
|
||||
#define SOC_CPU_WATCHPOINT_MAX_REGION_SIZE 0x40 // bytes
|
||||
|
||||
/*-------------------------- DAC CAPS ----------------------------------------*/
|
||||
#define SOC_DAC_CHAN_NUM 2
|
||||
@@ -386,7 +386,7 @@
|
||||
|
||||
/*--------------------------- MPI CAPS ---------------------------------------*/
|
||||
#define SOC_MPI_MEM_BLOCKS_NUM (4)
|
||||
#define SOC_MPI_OPERATIONS_NUM (1)
|
||||
#define SOC_MPI_OPERATIONS_NUM (1U)
|
||||
|
||||
/*--------------------------- RSA CAPS ---------------------------------------*/
|
||||
#define SOC_RSA_MAX_BIT_LEN (4096)
|
||||
@@ -403,7 +403,7 @@
|
||||
* Hence, for now we are handling this special capability in bootloader "security" configuration itself.
|
||||
*/
|
||||
#define SOC_SECURE_BOOT_V1 1
|
||||
#define SOC_EFUSE_SECURE_BOOT_KEY_DIGESTS 1
|
||||
#define SOC_EFUSE_SECURE_BOOT_KEY_DIGESTS (1U)
|
||||
|
||||
/*-------------------------- Flash Encryption CAPS----------------------------*/
|
||||
#define SOC_FLASH_ENCRYPTED_XTS_AES_BLOCK_MAX (32)
|
||||
|
||||
Reference in New Issue
Block a user