2021-05-10 04:56:51 +02:00
|
|
|
/*
|
2021-12-22 22:18:43 +08:00
|
|
|
* SPDX-FileCopyrightText: 2017-2022 Espressif Systems (Shanghai) CO LTD
|
2021-05-10 04:56:51 +02:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2017-12-15 10:32:53 +11:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2019-06-26 11:02:15 +10:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2017-12-15 10:32:53 +11:00
|
|
|
/** @brief Configure clocks for early boot
|
|
|
|
*
|
|
|
|
* Called by bootloader, or by the app if the bootloader version is old (pre v2.1).
|
|
|
|
*/
|
|
|
|
void bootloader_clock_configure(void);
|
2019-05-27 14:29:43 +08:00
|
|
|
|
|
|
|
/** @brief Return the rated maximum frequency of this chip
|
|
|
|
*/
|
|
|
|
int bootloader_clock_get_rated_freq_mhz(void);
|
2019-08-08 13:44:24 +10:00
|
|
|
|
2019-06-26 11:02:15 +10:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|