2018-10-08 12:20:49 +02:00
|
|
|
# Define the module that is built:
|
|
|
|
MODULE = cpu
|
|
|
|
|
2021-12-09 11:43:20 +01:00
|
|
|
SRC = irq_arch.c startup.c syscalls.c
|
|
|
|
|
2018-10-08 12:20:49 +02:00
|
|
|
# Add a list of subdirectories, that should also be built:
|
2018-12-27 17:28:46 +01:00
|
|
|
DIRS += $(RIOTCPU)/esp_common
|
2018-10-08 12:20:49 +02:00
|
|
|
DIRS += periph
|
2022-02-01 22:11:43 +01:00
|
|
|
DIRS += esp-idf
|
2022-06-19 08:19:26 +02:00
|
|
|
DIRS += esp-idf-api
|
2022-02-01 22:11:43 +01:00
|
|
|
|
|
|
|
ifneq (, $(filter esp_bootloader, $(USEMODULE)))
|
|
|
|
DIRS += bootloader
|
|
|
|
endif
|
2018-10-08 12:20:49 +02:00
|
|
|
|
2023-01-06 01:37:28 +01:00
|
|
|
ifneq (, $(filter usb_board_reset, $(USEMODULE)))
|
|
|
|
SRC += usb_reset.c
|
|
|
|
endif
|
|
|
|
|
2022-08-11 12:46:41 +02:00
|
|
|
ifneq (, $(filter esp_ble_nimble, $(USEMODULE)))
|
|
|
|
DIRS += esp-ble-nimble
|
|
|
|
endif
|
|
|
|
|
2018-10-08 12:20:49 +02:00
|
|
|
ifneq (, $(filter esp_eth, $(USEMODULE)))
|
|
|
|
DIRS += esp-eth
|
|
|
|
endif
|
|
|
|
|
2019-12-12 13:46:20 +01:00
|
|
|
ifneq (, $(filter esp_freertos, $(USEMODULE)))
|
2019-08-05 14:18:22 +02:00
|
|
|
DIRS += freertos
|
|
|
|
endif
|
|
|
|
|
2023-08-02 19:06:33 +02:00
|
|
|
ifneq (, $(filter esp_lcd, $(USEMODULE)))
|
|
|
|
DIRS += esp-lcd
|
|
|
|
endif
|
|
|
|
|
2022-12-29 00:35:41 +01:00
|
|
|
ifneq (, $(filter stdio_usb_serial_jtag, $(USEMODULE)))
|
|
|
|
DIRS += stdio_usb_serial_jtag
|
|
|
|
endif
|
|
|
|
|
2021-12-09 11:43:20 +01:00
|
|
|
ifneq (,$(filter esp_wifi% esp_eth, $(USEMODULE)))
|
|
|
|
SRC += esp_ztimer.c
|
|
|
|
endif
|
|
|
|
|
2018-10-08 12:20:49 +02:00
|
|
|
include $(RIOTBASE)/Makefile.base
|