2021-05-09 22:35:07 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-09-25 01:30:36 -04:00
|
|
|
#include "sdkconfig.h"
|
|
|
|
#include "bootloader_random.h"
|
|
|
|
#include "esp_log.h"
|
|
|
|
|
|
|
|
static const char *TAG = "bootloader_random";
|
|
|
|
|
|
|
|
void bootloader_random_enable(void)
|
|
|
|
{
|
|
|
|
ESP_LOGW(TAG, "RNG for ESP32-S3 not currently supported"); // IDF-1878
|
2020-10-20 06:08:15 -04:00
|
|
|
// Don't forget to remove the following line
|
|
|
|
// *libbootloader_support.a:bootloader_random*.*(.literal.bootloader_random_enable .text.bootloader_random_enable)
|
|
|
|
// In the bootloader.ld when RNG support is ready for ESP32-S3
|
2020-09-25 01:30:36 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
void bootloader_random_disable(void)
|
|
|
|
{
|
|
|
|
ESP_LOGW(TAG, "RNG for ESP32-S3 not currently supported"); // IDF-1878
|
|
|
|
}
|