mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
Merge branch 'bugfix/force_calibrate_ocode_no_inline_c5eco2_v5.5' into 'release/v5.5'
fix(esp_hw_support): Force function calibrate_ocode not inlined to flash (v5.5) See merge request espressif/esp-idf!39110
This commit is contained in:
@ -27,7 +27,7 @@ static void set_ocode_by_efuse(int ocode_scheme_ver)
|
||||
REGI2C_WRITE_MASK(I2C_ULP, I2C_ULP_IR_FORCE_CODE, 1);
|
||||
}
|
||||
|
||||
static void IRAM_ATTR calibrate_ocode(void)
|
||||
static void IRAM_ATTR NOINLINE_ATTR calibrate_ocode(void)
|
||||
{
|
||||
/*
|
||||
Bandgap output voltage is not precise when calibrate o-code by hardware sometimes, so need software o-code calibration (must turn off PLL).
|
||||
|
@ -28,7 +28,7 @@ static const char *TAG = "ocode_init";
|
||||
// REGI2C_WRITE_MASK(I2C_ULP, I2C_ULP_IR_FORCE_CODE, 1);
|
||||
// }
|
||||
|
||||
static void calibrate_ocode(void)
|
||||
static void IRAM_ATTR NOINLINE_ATTR calibrate_ocode(void)
|
||||
{
|
||||
/*
|
||||
Bandgap output voltage is not precise when calibrate o-code by hardware sometimes, so need software o-code calibration (must turn off PLL).
|
||||
|
Reference in New Issue
Block a user