| # Kconfig - Arduino Due Board configuration |
| # |
| # Copyright (c) 2017 Justin Watson |
| # SPDX-License-Identifier: Apache-2.0 |
| # |
| |
| if BOARD_ARDUINO_DUE |
| |
| config BOARD |
| default arduino_due |
| |
| if UART_ATMEL_SAM3 |
| |
| config UART_ATMEL_SAM3_BAUD_RATE |
| default 115200 |
| |
| config UART_ATMEL_SAM3_CLK_FREQ |
| default 84000000 |
| |
| endif # UART_ATMEL_SAM3 |
| |
| 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 |
| |
| if I2C |
| |
| config I2C_ATMEL_SAM3 |
| def_bool y |
| |
| config I2C_0 |
| default y |
| config I2C_0_IRQ_PRI |
| default 0 |
| |
| config I2C_1 |
| default y |
| |
| config I2C_1_IRQ_PRI |
| default 0 |
| |
| endif # I2C |
| |
| endif # BOARD_ARDUINO_DUE |