boards: update arduino_due to use gpio_sam driver
Update configuration of arduino_due board to use a common gpio_sam driver rather than sam3x specific gpio_atmel_sam3. The gpio_atmel_sam3 driver is going to be deprecated. Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
This commit is contained in:
parent
c249782bbc
commit
d8fa80ffd7
|
@ -11,23 +11,8 @@ config BOARD
|
|||
|
||||
if GPIO
|
||||
|
||||
config GPIO_ATMEL_SAM3
|
||||
default 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
|
||||
|
||||
config GPIO_SAM
|
||||
default n
|
||||
default y
|
||||
|
||||
endif # GPIO
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
|
||||
#if defined(CONFIG_SOC_PART_NUMBER_SAM3X8E)
|
||||
#define GPIO_DRV_NAME CONFIG_GPIO_ATMEL_SAM3_PORTC_DEV_NAME
|
||||
#define GPIO_DRV_NAME DT_GPIO_SAM_PORTC_LABEL
|
||||
#else
|
||||
#error "Unsupported GPIO driver"
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue