2017-05-02 05:57:26 +08:00
|
|
|
# Kconfig - Arduino Due Board configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017 Justin Watson
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
2016-01-21 13:10:59 +08:00
|
|
|
|
|
|
|
if BOARD_ARDUINO_DUE
|
|
|
|
|
|
|
|
config BOARD
|
|
|
|
default arduino_due
|
|
|
|
|
2017-05-02 05:57:26 +08:00
|
|
|
if GPIO
|
|
|
|
|
|
|
|
config GPIO_ATMEL_SAM3
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
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-04 05:28:31 +08:00
|
|
|
if I2C
|
|
|
|
|
2017-05-21 08:47:32 +08:00
|
|
|
config I2C_SAM_TWI
|
2017-05-02 05:57:26 +08:00
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config I2C_0
|
|
|
|
default y
|
|
|
|
|
|
|
|
config I2C_1
|
2016-02-04 05:28:31 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
2016-01-21 13:10:59 +08:00
|
|
|
endif # BOARD_ARDUINO_DUE
|