fix(psram): fixed requirement on esp_driver_gpspi on esp32

This commit is contained in:
armando
2026-01-16 16:54:11 +08:00
parent 431226534c
commit aa8dc66225
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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"