/****************************************************************************** * 作者:kerwincui * 时间:2021-06-08 * 邮箱:164770707@qq.com * 源码地址:https://gitee.com/kerwincui/wumei-smart * author: kerwincui * create: 2021-06-08 * email:164770707@qq.com * source:https://github.com/kerwincui/wumei-smart ******************************************************************************/ #ifndef _FLASH_ENCRYPT_H_ #define _FLASH_ENCRYPT_H_ #include #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "soc/efuse_reg.h" #include "esp_efuse.h" #include "esp_system.h" #include "esp_spi_flash.h" #include "esp_partition.h" #include "esp_flash_encrypt.h" #include "esp_efuse_table.h" #define TARGET_CRYPT_CNT_EFUSE ESP_EFUSE_SPI_BOOT_CRYPT_CNT #define TARGET_CRYPT_CNT_WIDTH 3 void flash_encrypy_start(void); #endif