Skip to content

Commit a0d43f1

Browse files
committed
cpu/esp32/esp-idf/wifi: migration to ESP-IDF v5.4
1 parent 17ba88c commit a0d43f1

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

cpu/esp32/esp-idf/wifi/Makefile

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,30 @@
11
MODULE = esp_idf_wifi
22

3-
# source files to be compiled for this module
43
ESP32_SDK_SRC = \
5-
components/esp_event/event_send.c \
6-
components/esp_hw_support/port/$(CPU_FAM)/dport_access.c \
4+
components/esp_coex/$(CPU_FAM)/esp_coex_adapter.c \
5+
components/esp_phy/$(CPU_FAM)/phy_init_data.c \
6+
components/esp_phy/src/phy_common.c \
77
components/esp_phy/src/phy_init.c \
8+
components/esp_system/port/soc/$(CPU_FAM)/reset_reason.c \
89
components/esp_wifi/$(CPU_FAM)/esp_adapter.c \
910
components/esp_wifi/src/wifi_init.c \
11+
components/soc/esp32/dport_access.c \
1012
#
1113

1214
# additional include pathes required by this module
15+
INCLUDES += -I$(ESP32_SDK_DIR)/components/app_update/include
16+
INCLUDES += -I$(ESP32_SDK_DIR)/components/esp_bootloader_format/include
17+
INCLUDES += -I$(ESP32_SDK_DIR)/components/esp_coex/include
18+
INCLUDES += -I$(ESP32_SDK_DIR)/components/esp_partition/include
1319
INCLUDES += -I$(ESP32_SDK_DIR)/components/esp_phy/include
1420
INCLUDES += -I$(ESP32_SDK_DIR)/components/esp_phy/$(CPU_FAM)/include
15-
INCLUDES += -I$(ESP32_SDK_DIR)/components/tcpip_adapter/include
1621
INCLUDES += -I$(ESP32_SDK_DIR)/components/wpa_supplicant/port/include
1722
INCLUDES += -I$(ESP32_SDK_DIR)/components/wpa_supplicant/esp_supplicant/include
1823

24+
ifneq (,$(filter esp32c3 esp32s2,$(CPU_FAM)))
25+
ESP32_SDK_SRC += components/esp_hw_support/port/$(CPU_FAM)/adc2_init_cal.c
26+
endif
27+
1928
include $(RIOTBASE)/Makefile.base
2029

2130
ESP32_SDK_BIN = $(BINDIR)/$(MODULE)

0 commit comments

Comments
 (0)