mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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.
This commit is contained in:
parent
263b918d7c
commit
5f45ca5a2a
@ -1,11 +1,11 @@
|
||||
MODULE = periph
|
||||
|
||||
ifneq (,$(filter periph_adc periph_dac,$(USEMODULE)))
|
||||
SRC += adc_arch.c
|
||||
SRC += adc_arch_$(CPU_FAM).c
|
||||
endif
|
||||
|
||||
ifneq (,$(filter periph_gpio,$(USEMODULE)))
|
||||
SRC += gpio_arch.c
|
||||
SRC += gpio_arch_$(CPU_FAM).c
|
||||
endif
|
||||
|
||||
include $(RIOTMAKE)/periph.mk
|
||||
|
Loading…
Reference in New Issue
Block a user