refactor(lpperi): compatible refactor for H2 ECO5

This commit is contained in:
laokaiyao
2025-01-08 16:54:57 +08:00
parent c6637ae369
commit 25f64d9cbd
11 changed files with 538 additions and 51 deletions

View File

@@ -41,6 +41,7 @@
#include "hal/lpwdt_ll.h"
#include "soc/lp_wdt_reg.h"
#include "soc/pmu_reg.h"
#include "soc/lpperi_struct.h"
#include "hal/efuse_hal.h"
#include "hal/regi2c_ctrl_ll.h"
#include "hal/brownout_ll.h"
@@ -108,6 +109,9 @@ esp_err_t bootloader_init(void)
{
esp_err_t ret = ESP_OK;
// Assign the compatible LPPERI register address in case it is used in the bootloader
lpperi_compatible_reg_addr_init();
bootloader_hardware_init();
bootloader_ana_reset_config();
bootloader_super_wdt_auto_feed();