bootloader_random_esp32s3.c 712 B

1234567891011121314151617181920212223
  1. /*
  2. * SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #include "sdkconfig.h"
  7. #include "bootloader_random.h"
  8. #include "esp_log.h"
  9. static const char *TAG = "bootloader_random";
  10. void bootloader_random_enable(void)
  11. {
  12. ESP_LOGW(TAG, "RNG for ESP32-S3 not currently supported"); // IDF-1878
  13. // Don't forget to remove the following line
  14. // *libbootloader_support.a:bootloader_random*.*(.literal.bootloader_random_enable .text.bootloader_random_enable)
  15. // In the bootloader.ld when RNG support is ready for ESP32-S3
  16. }
  17. void bootloader_random_disable(void)
  18. {
  19. ESP_LOGW(TAG, "RNG for ESP32-S3 not currently supported"); // IDF-1878
  20. }