Merge branch 'feat/hal_config_macro_func' into 'master'

refactor(hal): use HAL_CONFIG() macro function

Closes IDF-13629

See merge request espressif/esp-idf!41127
This commit is contained in:
morris
2025-08-12 10:49:28 +08:00
12 changed files with 50 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ IRAM_ATTR uint32_t efuse_hal_get_major_chip_version(void)
case 3:
chip_ver = 2;
break;
#if HAL_CONFIG_EFUSE_ENV_FPGA
#if HAL_CONFIG(EFUSE_ENV_FPGA)
case 4: /* Empty efuses, but SYSCON_DATE_REG bit is set */
chip_ver = 3;
break;