stm32: support i2c3 properly

I2C3 is on many parts, but wasn't properly supported with the register
definitions.  Declare them centrally, just depending on the memorymap
defining them. On some parts, the rcc bits were defined, but not the
base registers.

Fixes: https://github.com/libopencm3/libopencm3/issues/820
This commit is contained in:
Karl Palsson
2018-07-29 20:53:38 +00:00
parent b8ede60d9d
commit 0e58ee2f65
7 changed files with 34 additions and 6 deletions

View File

@@ -35,8 +35,6 @@ LGPL License Terms @ref lgpl_license
/**@{*/
#define I2C3 I2C3_BASE
/**@}*/
#endif