mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-09 00:30:11 +03:00
Fixes startup of app for case: bootloader with 40Mhz and app with 80Mhz (ESPTOOLPY_FLASHFREQ) Closes https://github.com/espressif/esp-idf/issues/9156
22 lines
492 B
C
22 lines
492 B
C
/*
|
|
* SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
#include "esp_attr.h"
|
|
|
|
IRAM_ATTR uint8_t bootloader_common_get_chip_revision(void)
|
|
{
|
|
// should return the same value as esp_efuse_get_chip_ver()
|
|
/* No other revisions for ESP32-S3 */
|
|
return 0;
|
|
}
|
|
|
|
IRAM_ATTR uint32_t bootloader_common_get_chip_ver_pkg(void)
|
|
{
|
|
// should return the same value as esp_efuse_get_pkg_ver()
|
|
return 0;
|
|
}
|