2017-05-01 14:57:26 -07:00
|
|
|
# Kconfig - Arduino Due Board configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017 Justin Watson
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
2016-01-20 21:10:59 -08:00
|
|
|
|
|
|
|
if BOARD_ARDUINO_DUE
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-25 20:56:38 +02:00
|
|
|
default "arduino_due"
|
2016-01-20 21:10:59 -08:00
|
|
|
|
2017-05-01 14:57:26 -07:00
|
|
|
if GPIO
|
|
|
|
|
|
|
|
config GPIO_ATMEL_SAM3
|
2018-11-13 17:15:49 +01:00
|
|
|
default y
|
2017-05-01 14:57:26 -07:00
|
|
|
|
|
|
|
config GPIO_ATMEL_SAM3_PORTA
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GPIO_ATMEL_SAM3_PORTB
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GPIO_ATMEL_SAM3_PORTC
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GPIO_ATMEL_SAM3_PORTD
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # GPIO
|
|
|
|
|
2016-02-03 13:28:31 -08:00
|
|
|
if I2C
|
|
|
|
|
2017-05-21 02:47:32 +02:00
|
|
|
config I2C_SAM_TWI
|
2018-11-13 17:15:49 +01:00
|
|
|
default y
|
2017-05-01 14:57:26 -07:00
|
|
|
|
|
|
|
config I2C_0
|
|
|
|
default y
|
|
|
|
|
|
|
|
config I2C_1
|
2016-02-03 13:28:31 -08:00
|
|
|
default y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
2016-01-20 21:10:59 -08:00
|
|
|
endif # BOARD_ARDUINO_DUE
|