Fix esp_random includes on idf:latest

This commit is contained in:
MacDue 2022-03-08 10:33:11 +00:00
parent 695aaf6c2f
commit dcd228a753
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@
#include <freertos/FreeRTOS.h>
#include "unity.h"
#include "esp_system.h"
#include "esp_random.h"
#include "esp_encrypted_img.h"
extern const uint8_t rsa_private_pem_start[] asm("_binary_test_rsa_private_key_pem_start");

View File

@ -3,8 +3,9 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "sdkconfig.h"
#include "esp_random.h"
#include "randombytes_internal.h"
#include "esp_system.h"
static const char *randombytes_esp32xx_implementation_name(void)
{