boards: stm32l562e_dk: add support for I2C

Add i2c1 interface for stm32l552xx and stm32l562xx microcontrollers
and enable i2c1 that connects to lsm6dso sensor module on the
stm32l562e_dk board.

Signed-off-by: Yestin Sun <sunyi0804@gmail.com>
This commit is contained in:
Yestin Sun 2020-11-11 19:24:55 -08:00 committed by Anas Nashif
commit b31b1d133e
5 changed files with 36 additions and 0 deletions

View file

@ -162,6 +162,8 @@ The Zephyr stm32l562e_dk board configuration supports the following hardware fea
+-----------+------------+-------------------------------------+
| GPIO | on-chip | gpio |
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+-----------+------------+-------------------------------------+
Other hardware features are not yet supported on this Zephyr port.
@ -181,6 +183,7 @@ Default Zephyr Peripheral Mapping:
----------------------------------
- USART_1 TX/RX : PA9/PA10
- I2C_1 SCL/SDA : PB6/PB7
- USER_PB : PC13
- LD10 : PG12