Skip to content
Permalink
Browse files

boards: microchip_mec: Introduce gpio to the eval board

Enables GPIO driver in the board defconfig

Signed-off-by: Francisco Munoz <francisco.munoz.ruiz@intel.com>
  • Loading branch information...
franciscomunoz authored and andrewboie committed Apr 10, 2019
1 parent 35cfe11 commit 3667d0b7617aa64ba66f6bac16da57d7657c8ecd
@@ -15,6 +15,27 @@ config UART_NS16550_PORT_0

endif

if GPIO_XEC

config GPIO_XEC_GPIO000_036
default y

config GPIO_XEC_GPIO040_076
default y

config GPIO_XEC_GPIO100_136
default y

config GPIO_XEC_GPIO140_176
default y

config GPIO_XEC_GPIO200_236
default y

config GPIO_XEC_GPIO240_276
default y

endif # GPIO_XEC

if I2C_XEC

@@ -29,5 +50,4 @@ config I2C_XEC_2

endif # I2C


endif #BOARD_MEC2016EVB_ASSY6797
endif # BOARD_MEC15XXEVB_ASSY6853
@@ -57,6 +57,8 @@ features:
+-----------+------------+-------------------------------------+
| UART | on-chip | serial port |
+-----------+------------+-------------------------------------+
| GPIO | on-chip | gpio |
+-----------+------------+-------------------------------------+

Other hardware features are not currently supported by Zephyr (at the moment)

@@ -13,3 +13,5 @@ toolchain:
- gnuarmemb
ram: 32
flash: 224
supported:
- gpio
@@ -14,6 +14,7 @@ CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=48000000
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_GPIO=y

CONFIG_I2C=y
CONFIG_I2C_INIT_PRIORITY=60

0 comments on commit 3667d0b

Please sign in to comment.
You can’t perform that action at this time.