aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsamd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/atsamd/Makefile')
-rw-r--r--src/atsamd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atsamd/Makefile b/src/atsamd/Makefile
index df893d1a..2416200f 100644
--- a/src/atsamd/Makefile
+++ b/src/atsamd/Makefile
@@ -27,9 +27,9 @@ canbus-src-y := generic/canserial.c ../lib/fast-hash/fasthash.c
canbus-src-y += atsamd/fdcan.c atsamd/chipid.c
src-$(CONFIG_USBCANBUS) += $(canbus-src-y) atsamd/usbserial.c generic/usb_canbus.c
src-$(CONFIG_CANSERIAL) += $(canbus-src-y) generic/canbus.c
-src-$(CONFIG_HAVE_GPIO_ADC) += atsamd/adc.c
-src-$(CONFIG_WANT_I2C) += atsamd/i2c.c
+src-$(CONFIG_WANT_ADC) += atsamd/adc.c
src-$(CONFIG_WANT_SPI) += atsamd/spi.c
+src-$(CONFIG_WANT_I2C) += atsamd/i2c.c
src-$(CONFIG_HAVE_SERCOM) += atsamd/sercom.c
src-$(CONFIG_WANT_HARD_PWM) += atsamd/hard_pwm.c
src-$(CONFIG_MACH_SAMC21) += atsamd/samd51_watchdog.c