Modified to be compatible with the new version of sdk, compatible with esp32s3

This commit is contained in:
lewis
2022-09-03 23:38:40 +08:00
parent 8d5ffb7262
commit f767fd5075
8 changed files with 127 additions and 6 deletions

View File

@@ -1,16 +1,16 @@
#include "CryptoEngine.h"
#include "configuration.h"
#if CONFIG_IDF_TARGET_ESP32S3
#include "mbedtls/aes.h"
#else
#include "crypto/includes.h"
#include "crypto/common.h"
// #include "esp_system.h"
#include "crypto/aes.h"
#include "crypto/aes_wrap.h"
#include "mbedtls/aes.h"
#endif
class ESP32CryptoEngine : public CryptoEngine

View File

@@ -44,6 +44,8 @@
#define HW_VENDOR HardwareModel_TBEAM
#elif defined(TBEAM_V07)
#define HW_VENDOR HardwareModel_TBEAM0p7
#elif defined(TBEAM_S3_M2)
#define HW_VENDOR HardwareModel_TBEAM_S3_M2
#elif defined(DIY_V1)
#define HW_VENDOR HardwareModel_DIY_V1
#elif defined(RAK_11200)