mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
5f45ca5a2a
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.
12 lines
222 B
Makefile
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
|