zephyr/boards/arduino_due/Kconfig
Daniel Leung aac003c0b1 boards/arduino_due: enable both I2C controllers if CONFIG_I2C=y
Change-Id: I24e510369e1b273e929acd4100366a239e708e4d
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-02-08 21:45:07 -05:00

38 lines
434 B
Plaintext

if BOARD_ARDUINO_DUE
config BOARD
default arduino_due
if PINMUX
# The pinmux driver does not care
# base address or pin counts.
# So define both as 0.
config PINMUX_BASE
default 0
config PINMUX_NUM_PINS
default 0
endif # PINMUX
if I2C
config I2C_ATMEL_SAM3
default y
if I2C_ATMEL_SAM3
config I2C_ATMEL_SAM3_0
default y
config I2C_ATMEL_SAM3_1
default y
endif # I2C_ATMEL_SAM3
endif # I2C
endif # BOARD_ARDUINO_DUE