Added ESP32 OTP support.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2024-09-16 00:50:50 +02:00
parent cafb6a4774
commit 739e9f1b98
2 changed files with 54 additions and 5 deletions

View File

@@ -25,6 +25,12 @@
#define OTP_KEY_1 OTP_TEST_ROW
#elif defined(ESP_PLATFORM)
#include "esp_efuse.h"
#define OTP_KEY_1 EFUSE_BLK_KEY3
#endif
extern const uint8_t *otp_key_1;