1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/esp32/periph/Makefile
Gunar Schorcht 5f45ca5a2a cpu/esp32: extend file names of CPU specific files by CPU family
To allow the compilation of different ESP32x SoC variants, the file names of ESP32 specific periph/adc_arch.c and periph/gpio_arch.c are extended by the ESP32x SoC family.
2022-07-18 17:08:34 +02:00

12 lines
222 B
Makefile

MODULE = periph
ifneq (,$(filter periph_adc periph_dac,$(USEMODULE)))
SRC += adc_arch_$(CPU_FAM).c
endif
ifneq (,$(filter periph_gpio,$(USEMODULE)))
SRC += gpio_arch_$(CPU_FAM).c
endif
include $(RIOTMAKE)/periph.mk