aboutsummaryrefslogtreecommitdiffstats
path: root/src/samd21/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/samd21/Makefile')
-rw-r--r--src/samd21/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/samd21/Makefile b/src/samd21/Makefile
index abe21013..2bcf9151 100644
--- a/src/samd21/Makefile
+++ b/src/samd21/Makefile
@@ -20,6 +20,7 @@ src-y += generic/armcm_irq.c generic/timer_irq.c
src-y += ../lib/samd21/samd21a/gcc/gcc/startup_samd21.c
src-$(CONFIG_USBSERIAL) += samd21/usbserial.c generic/usb_cdc.c
src-$(CONFIG_SERIAL) += samd21/serial.c generic/serial_irq.c
+src-$(CONFIG_HAVE_GPIO_ADC) += samd21/adc.c
src-$(CONFIG_HAVE_GPIO_I2C) += samd21/i2c.c
src-$(CONFIG_HAVE_GPIO_SPI) += samd21/spi.c
src-$(CONFIG_HAVE_GPIO_HARD_PWM) += samd21/hard_pwm.c