diff options
Diffstat (limited to 'src/atsamd/Makefile')
-rw-r--r-- | src/atsamd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atsamd/Makefile b/src/atsamd/Makefile index 477d847e..cfad6a1c 100644 --- a/src/atsamd/Makefile +++ b/src/atsamd/Makefile @@ -29,7 +29,7 @@ src-$(CONFIG_USBCANBUS) += $(canbus-src-y) atsamd/usbserial.c generic/usb_canbus src-$(CONFIG_CANSERIAL) += $(canbus-src-y) generic/canbus.c src-$(CONFIG_HAVE_GPIO_ADC) += atsamd/adc.c src-$(CONFIG_HAVE_GPIO_I2C) += atsamd/i2c.c -src-$(CONFIG_HAVE_GPIO_SPI) += atsamd/spi.c +src-$(CONFIG_WANT_SPI) += atsamd/spi.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 |