2021-05-10 04:35:07 +02:00
|
|
|
/*
|
|
|
|
|
* SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
2020-07-29 22:03:46 +08:00
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
uint8_t bootloader_common_get_chip_revision(void)
|
|
|
|
|
{
|
2020-09-17 17:04:01 +08:00
|
|
|
// should return the same value as esp_efuse_get_chip_ver()
|
2020-07-29 22:03:46 +08:00
|
|
|
/* No other revisions for ESP32-S3 */
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
2020-09-17 17:04:01 +08:00
|
|
|
|
|
|
|
|
uint32_t bootloader_common_get_chip_ver_pkg(void)
|
|
|
|
|
{
|
|
|
|
|
// should return the same value as esp_efuse_get_pkg_ver()
|
|
|
|
|
return 0;
|
2020-11-10 18:40:01 +11:00
|
|
|
}
|