|
|
@@ -84,11 +84,20 @@
|
|
|
|
|
|
#include "bootloader_mem.h"
|
|
|
|
|
|
-#if CONFIG_IDF_TARGET_ESP32
|
|
|
#if CONFIG_APP_BUILD_TYPE_ELF_RAM
|
|
|
+#if CONFIG_IDF_TARGET_ESP32
|
|
|
#include "esp32/rom/spi_flash.h"
|
|
|
+#endif // CONFIG_IDF_TARGET_ESP32
|
|
|
+#if CONFIG_IDF_TARGET_ESP32S2
|
|
|
+#include "esp32s2/rom/spi_flash.h"
|
|
|
+#endif // CONFIG_IDF_TARGET_ESP32S2
|
|
|
+#if CONFIG_IDF_TARGET_ESP32S3
|
|
|
+#include "esp32s3/rom/spi_flash.h"
|
|
|
+#endif // CONFIG_IDF_TARGET_ESP32S3
|
|
|
+#if CONFIG_IDF_TARGET_ESP32C3
|
|
|
+#include "esp32c3/rom/spi_flash.h"
|
|
|
+#endif // CONFIG_IDF_TARGET_ESP32C3
|
|
|
#endif // CONFIG_APP_BUILD_TYPE_ELF_RAM
|
|
|
-#endif
|
|
|
|
|
|
#include "esp_private/startup_internal.h"
|
|
|
#include "esp_private/system_internal.h"
|