Explorar el Código

soc: Add support efuse

Konstantin Kondrashov hace 7 años
padre
commit
d82023bf06
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 1
      components/soc/CMakeLists.txt
  2. 1 0
      components/soc/esp32/include/soc/efuse_reg.h

+ 1 - 1
components/soc/CMakeLists.txt

@@ -13,6 +13,6 @@ list(APPEND COMPONENT_SRCS "src/memory_layout_utils.c")
 
 set(COMPONENT_ADD_LDFRAGMENTS linker.lf)
 
-set(COMPONENT_REQUIRES)
+set(COMPONENT_REQUIRES efuse)
 
 register_component()

+ 1 - 0
components/soc/esp32/include/soc/efuse_reg.h

@@ -316,6 +316,7 @@
 
 #define EFUSE_CODING_SCHEME_VAL_NONE 0x0
 #define EFUSE_CODING_SCHEME_VAL_34   0x1
+#define EFUSE_CODING_SCHEME_VAL_REPEAT   0x2
 
 #define EFUSE_BLK0_WDATA0_REG          (DR_REG_EFUSE_BASE + 0x01c)
 /* EFUSE_FLASH_CRYPT_CNT : R/W ;bitpos:[27:20] ;default: 8'b0 ; */