mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
0bec8a81ac
To support ESP32x families with the existing Makefiles, CPU_FAM is used instead of CPU in the Makefiles.
19 lines
821 B
Makefile
19 lines
821 B
Makefile
MODULE = esp_idf_api
|
|
|
|
# ESP-IDF header files must be found first in this module. Therefore,
|
|
# the ESP-IDF include paths must come before the RIOT include paths.
|
|
PRE_INCLUDES += -I$(ESP32_SDK_DIR)/components/driver/include
|
|
PRE_INCLUDES += -I$(ESP32_SDK_DIR)/components/esp_common/include
|
|
PRE_INCLUDES += -I$(ESP32_SDK_DIR)/components/esp_hw_support/include
|
|
PRE_INCLUDES += -I$(ESP32_SDK_DIR)/components/esp_rom/include
|
|
PRE_INCLUDES += -I$(ESP32_SDK_DIR)/components/hal/include
|
|
PRE_INCLUDES += -I$(ESP32_SDK_DIR)/components/hal/platform_port/include
|
|
PRE_INCLUDES += -I$(ESP32_SDK_DIR)/components/soc/include
|
|
|
|
PRE_INCLUDES += -I$(ESP32_SDK_DIR)/components/hal/$(CPU_FAM)/include
|
|
PRE_INCLUDES += -I$(ESP32_SDK_DIR)/components/soc/$(CPU_FAM)/include
|
|
|
|
include $(RIOTBASE)/Makefile.base
|
|
|
|
INCLUDES := $(PRE_INCLUDES) $(INCLUDES)
|