mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(psram): fixed requirement on esp_driver_gpspi on esp32
This commit is contained in:
@@ -12,7 +12,7 @@ endif()
|
||||
|
||||
set(priv_requires heap spi_flash esp_mm esp_hal_mspi esp_hal_gpio)
|
||||
if(${target} STREQUAL "esp32")
|
||||
list(APPEND priv_requires bootloader_support esp_driver_spi esp_driver_gpio)
|
||||
list(APPEND priv_requires bootloader_support esp_driver_gpio)
|
||||
endif()
|
||||
|
||||
set(srcs "system_layer/esp_psram_mspi.c")
|
||||
|
||||
@@ -27,12 +27,14 @@
|
||||
#include "driver/gpio.h"
|
||||
#include "hal/efuse_hal.h"
|
||||
#include "hal/gpio_hal.h"
|
||||
#include "esp_private/spi_common_internal.h"
|
||||
#include "esp_private/periph_ctrl.h"
|
||||
#include "bootloader_common.h"
|
||||
#include "esp_rom_gpio.h"
|
||||
#include "bootloader_flash_config.h"
|
||||
#include "esp_private/esp_gpio_reserve.h"
|
||||
#include "soc/spi_reg.h"
|
||||
#include "soc/spi_pins.h"
|
||||
#include "esp_private/spi_share_hw_ctrl.h"
|
||||
|
||||
#if CONFIG_SPIRAM
|
||||
#include "soc/rtc.h"
|
||||
|
||||
Reference in New Issue
Block a user