Skip to content

Commit 72c641a

Browse files
authored
Add includes for ESP32P4 and ESP32C5 targets
1 parent a9f3ba8 commit 72c641a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cores/esp32/Esp.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ extern "C" {
4141
#include "hal/spi_flash_ll.h"
4242
#if CONFIG_IDF_TARGET_ESP32
4343
#include "soc/spi_struct.h"
44+
#elif CONFIG_IDF_TARGET_ESP32P4 || CONFIG_IDF_TARGET_ESP32C5
45+
#include "hal/spimem_flash_ll.h"
46+
#include "soc/spi_mem_c_struct.h"
4447
#else
4548
#include "hal/spimem_flash_ll.h"
4649
#include "soc/spi_mem_struct.h"

0 commit comments

Comments
 (0)