mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(spiram): refactor for spiram device driver for s3/c5
This commit is contained in:
@@ -36,7 +36,12 @@ if(CONFIG_SPIRAM)
|
||||
endif()
|
||||
|
||||
if(CONFIG_SPIRAM_MODE_QUAD)
|
||||
list(APPEND srcs "${target}/esp_psram_impl_quad.c")
|
||||
if(${target} STREQUAL "esp32" OR ${target} STREQUAL "esp32s2")
|
||||
list(APPEND srcs "${target}/esp_psram_impl_quad.c")
|
||||
else()
|
||||
list(APPEND srcs "device/esp_psram_impl_ap_quad.c")
|
||||
endif()
|
||||
|
||||
elseif(CONFIG_SPIRAM_MODE_OCT)
|
||||
list(APPEND srcs "${target}/esp_psram_impl_octal.c")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user