File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed
cpu/esp32/esp-idf/spi_ram Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change 11MODULE = esp_idf_spi_ram
22
33# source files to be compiled for this module
4- ESP32_SDK_SRC = \
5- components/esp_hw_support/port/$(CPU_FAM ) /spiram.c \
6- components/esp_hw_support/port/$(CPU_FAM ) /spiram_psram.c \
7- #
4+ ESP32_SDK_SRC += components/esp_psram/esp_psram.c
85
96ifeq (esp32,$(CPU_FAM ) )
107 ESP32_SDK_SRC += components/esp_hw_support/port/$(CPU_FAM ) /cache_sram_mmu.c
8+ ESP32_SDK_SRC += components/esp_psram/$(CPU_FAM ) /esp_psram_extram_cache.c
9+ ESP32_SDK_SRC += components/esp_psram/$(CPU_FAM ) /esp_psram_impl_quad.c
1110endif
1211
13- ifneq ( ,$(filter esp_spi_oct, $( USEMODULE ) ) )
14- ESP32_SDK_SRC += components/esp_hw_support/port/ $(CPU_FAM ) /opiram_psram .c
12+ ifeq (esp32s2 ,$(CPU_FAM ) )
13+ ESP32_SDK_SRC += components/esp_psram/ $(CPU_FAM ) /esp_psram_impl_quad .c
1514endif
1615
16+ ifeq (esp32s3,$(CPU_FAM ) )
17+ ifneq (,$(filter esp_spi_oct,$(USEMODULE)))
18+ ESP32_SDK_SRC += components/esp_psram/$(CPU_FAM ) /esp_psram_impl_octal.c
19+ else
20+ ESP32_SDK_SRC += components/esp_psram/device/esp_psram_impl_ap_quad.c
21+ endif
22+ endif
23+
24+ CFLAGS += -Wno-unused-but-set-variable
25+
1726# additional include pathes required by this module
27+ INCLUDES += -I$(ESP32_SDK_DIR ) /components/esp_driver_spi/include
28+ INCLUDES += -I$(ESP32_SDK_DIR ) /components/esp_psram/include
1829INCLUDES += -I$(ESP32_SDK_DIR ) /components/soc/$(CPU_FAM ) /include
1930
2031include $(RIOTBASE ) /Makefile.base
You can’t perform that action at this time.
0 commit comments