atsamd: Add support for programming SERCOM pins

Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-02-19 00:32:37 -05:00
parent 8617cbcb76
commit c8d7e28a35
10 changed files with 500 additions and 41 deletions

View File

@@ -8,7 +8,7 @@ config ATSAMD_SELECT
select HAVE_GPIO
select HAVE_GPIO_ADC
select HAVE_GPIO_I2C
select HAVE_GPIO_SPI if MACH_SAMD21
select HAVE_GPIO_SPI
select HAVE_GPIO_HARD_PWM if MACH_SAMD21
select HAVE_GPIO_BITBANGING
@@ -85,5 +85,9 @@ config SERIAL
depends on !USBSERIAL
bool
default y
config HAVE_SERCOM
depends on HAVE_GPIO_I2C || HAVE_GPIO_SPI
bool
default y
endif