esp_system: Do not rely on bootloader cache settings, do cache settings unconditionally at startup app

It makes multicore app runnable by unicore bootloader

Closes https://github.com/espressif/esp-idf/issues/10714
This commit is contained in:
KonstantinKondrashov
2023-03-09 03:03:53 +08:00
parent 37ac0ad851
commit 975c138fad
4 changed files with 115 additions and 1 deletions

View File

@@ -96,4 +96,12 @@ void bootloader_print_banner(void)
#ifndef CONFIG_APP_REPRODUCIBLE_BUILD
ESP_EARLY_LOGI(TAG, "compile time " __DATE__ " " __TIME__);
#endif
#if CONFIG_FREERTOS_UNICORE
#if (SOC_CPU_CORES_NUM > 1)
ESP_EARLY_LOGW(TAG, "Unicore bootloader");
#endif
#else
ESP_EARLY_LOGI(TAG, "Multicore bootloader");
#endif
}