diff --git a/.gitignore b/.gitignore index 5112681..6eaa4f0 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ *.srf *.swo *efuse* +!*efuse*.csv build/ old/ */old/ diff --git a/main/esp_efuse_custom_table.csv b/main/esp_efuse_custom_table.csv new file mode 100644 index 0000000..ffaff3d --- /dev/null +++ b/main/esp_efuse_custom_table.csv @@ -0,0 +1,36 @@ +########################################################################## +# field_name, | efuse_block, | bit_start, | bit_count, |comment # +# | (EFUSE_BLK0 | (0..255) | (1..-) | # +# | EFUSE_BLK1 | |MAX_BLK_LEN*| # +# | EFUSE_BLK2 | | | # +# | EFUSE_BLK3) | | | # +########################################################################## +# +# *) The value MAX_BLK_LEN depends on CONFIG_EFUSE_MAX_BLK_LEN, will be replaced with "None" - 256. "3/4" - 192. "REPEAT" - 128. +# +# After editing this file, run the command manually "make efuse_common_table" or "idf.py efuse-common-table" +# this will generate new source files, next rebuild all the sources. +# + + +HARDWARE_REVISION, EFUSE_BLK3, 56, 16, Hardware Revision +SERIAL_NO, EFUSE_BLK3, 72, 16, Serial number +DISABLE_RESTRICTIONS, EFUSE_BLK3, 88, 1, Disable firmware restrictions +RESERVED1, EFUSE_BLK3, 89, 7, Reserved for flags +BUILD_DATE, EFUSE_BLK3, 160, 24, Build date +#ENABLE_MZ2500, EFUSE_BLK0, 152, 1, Enable MZ2500 Mode +#ENABLE_MZ2800, EFUSE_BLK0, 153, 1, Enable MZ2800 Mode +#ENABLE_X1, EFUSE_BLK0, 154, 1, Enable X1 Mode +#ENABLE_X68000, EFUSE_BLK0, 155, 1, Enable X68000 Mode +#ENABLE_MOUSE, EFUSE_BLK0, 156, 1, Enable Mouse Mode +#ENABLE_BT, EFUSE_BLK0, 157, 1, Enable Bluetooth +#ENABLE_MZ6500, EFUSE_BLK0, 158, 1, Enable MZ6500 Mode +#ENABLE_PC9801, EFUSE_BLK0, 159, 1, Enable NEC PC9801 Mode +#ENABLE_RSV1, EFUSE_BLK0, 160, 1, Enable RSV1 Mode +#ENABLE_RSV2, EFUSE_BLK0, 161, 1, Enable RSV2 Mode +#ENABLE_RSV3, EFUSE_BLK0, 162, 1, Enable RSV3 Mode +#ENABLE_RSV4, EFUSE_BLK0, 163, 1, Enable RSV4 Mode +#ENABLE_RSV5, EFUSE_BLK0, 164, 1, Enable RSV5 Mode +#ENABLE_RSV6, EFUSE_BLK0, 165, 1, Enable RSV6 Mode +#ENABLE_RSV7, EFUSE_BLK0, 166, 1, Enable RSV7 Mode +#ENABLE_RSV8, EFUSE_BLK0, 167, 1, Enable RSV8 Mode