mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
refactor(lpperi): improve compatibility solution
This commit is contained in:
@@ -57,7 +57,6 @@
|
||||
#include "esp32h2/rtc.h"
|
||||
#include "esp32h2/rom/cache.h"
|
||||
#include "esp_memprot.h"
|
||||
#include "soc/lpperi_struct.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32C2
|
||||
#include "esp32c2/rtc.h"
|
||||
#include "esp32c2/rom/cache.h"
|
||||
@@ -430,13 +429,6 @@ void IRAM_ATTR call_start_cpu0(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32H2
|
||||
// Some modules' register layout are not binary compatible among the different chip revisions,
|
||||
// they will be wrapped into a new compatible instance which will point to the correct register address according to the revision.
|
||||
// To ensure the compatible instance is initialized before used, the initialization is done after BBS is cleared
|
||||
lpperi_compatible_reg_addr_init();
|
||||
#endif
|
||||
|
||||
#if !CONFIG_APP_BUILD_TYPE_PURE_RAM_APP
|
||||
#if CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE
|
||||
ESP_EARLY_LOGI(TAG, "Unicore app");
|
||||
|
||||
Reference in New Issue
Block a user