mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 13:44:32 +02:00
Merge branch 'bugfix/adds_iram_attr_for_efuse_apis' into 'master'
bootloader_efuse: Adds IRAM_ATTR for efuse API Closes IDFGH-7601 See merge request espressif/esp-idf!18517
This commit is contained in:
@@ -9,13 +9,14 @@
|
|||||||
#include "bootloader_common.h"
|
#include "bootloader_common.h"
|
||||||
#include "hal/efuse_ll.h"
|
#include "hal/efuse_ll.h"
|
||||||
#include "hal/efuse_hal.h"
|
#include "hal/efuse_hal.h"
|
||||||
|
#include "esp_attr.h"
|
||||||
|
|
||||||
uint8_t bootloader_common_get_chip_revision(void)
|
IRAM_ATTR uint8_t bootloader_common_get_chip_revision(void)
|
||||||
{
|
{
|
||||||
return efuse_hal_get_chip_revision();
|
return efuse_hal_get_chip_revision();
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t bootloader_common_get_chip_ver_pkg(void)
|
IRAM_ATTR uint32_t bootloader_common_get_chip_ver_pkg(void)
|
||||||
{
|
{
|
||||||
return efuse_ll_get_chip_ver_pkg();
|
return efuse_ll_get_chip_ver_pkg();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user