mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
751a958529
The code required by the ESP-IDF is compiled directly from source in the `esp32_sdk` package. The compilation is structured by modules for easier use.
28 lines
935 B
Makefile
28 lines
935 B
Makefile
MODULE = esp_idf_wifi
|
|
|
|
# source files to be compiled for this module
|
|
ESP32_SDK_SRC = \
|
|
components/driver/adc_common.c \
|
|
components/driver/rtc_module.c \
|
|
components/esp_event/event_send.c \
|
|
components/esp_hw_support/hw_random.c \
|
|
components/esp_hw_support/port/$(CPU)/dport_access.c \
|
|
components/esp_phy/src/phy_init.c \
|
|
components/esp_wifi/$(CPU)/esp_adapter.c \
|
|
components/esp_wifi/src/wifi_init.c \
|
|
#
|
|
|
|
# additional include pathes required by this module
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/esp_phy/include
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/esp_phy/$(CPU)/include
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/tcpip_adapter/include
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/wpa_supplicant/port/include
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/wpa_supplicant/esp_supplicant/include
|
|
|
|
include $(RIOTBASE)/Makefile.base
|
|
|
|
ESP32_SDK_BIN = $(BINDIR)/$(MODULE)
|
|
|
|
include ../esp_idf.mk
|
|
include ../esp_idf_cflags.mk
|