Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/efuse_rev_major_minor_v4.3' into 'release/v4.3'
efuse: Adds major and minor versions (v4.3) See merge request espressif/esp-idf!19544
- Loading branch information
Showing
74 changed files
with
1,835 additions
and
538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2019-2022 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include <stdint.h> | ||
#include "sdkconfig.h" | ||
#include "bootloader_common.h" | ||
#include "hal/efuse_ll.h" | ||
#include "hal/efuse_hal.h" | ||
#include "esp_attr.h" | ||
|
||
IRAM_ATTR uint32_t bootloader_common_get_chip_ver_pkg(void) | ||
{ | ||
return efuse_ll_get_chip_ver_pkg(); | ||
} | ||
|
||
int bootloader_clock_get_rated_freq_mhz(void) | ||
{ | ||
#ifdef CONFIG_IDF_TARGET_ESP32 | ||
return efuse_hal_get_rated_freq_mhz(); | ||
|
||
#elif CONFIG_IDF_TARGET_ESP32C3 | ||
return 160; | ||
|
||
#elif CONFIG_IDF_TARGET_ESP32S2 | ||
return 240; | ||
|
||
#elif CONFIG_IDF_TARGET_ESP32S3 | ||
return 240; | ||
|
||
#endif | ||
} |
64 changes: 0 additions & 64 deletions
64
components/bootloader_support/src/bootloader_efuse_esp32.c
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
components/bootloader_support/src/bootloader_efuse_esp32c3.c
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
components/bootloader_support/src/bootloader_efuse_esp32s2.c
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
components/bootloader_support/src/bootloader_efuse_esp32s3.c
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.