mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards: fix I2C_APBCLK value in stm32-based boards
This commit is contained in:
parent
ca85e8afe4
commit
bb52575d45
@ -175,7 +175,7 @@ static const spi_conf_t spi_config[] = {
|
||||
#define I2C_NUMOF (1U)
|
||||
#define I2C_0_EN 1
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (36000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_DEV I2C1
|
||||
|
@ -144,7 +144,7 @@ static const uart_conf_t uart_config[] = {
|
||||
#define I2C_NUMOF (1U)
|
||||
#define I2C_0_EN 1
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (36000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_DEV I2C1
|
||||
|
@ -166,7 +166,7 @@ static const spi_conf_t spi_config[] = {
|
||||
#define I2C_1_EN 1
|
||||
#define I2C_NUMOF (I2C_0_EN + I2C_1_EN)
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (36000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_EVT_ISR isr_i2c1_ev
|
||||
|
@ -136,7 +136,7 @@ static const uart_conf_t uart_config[] = {
|
||||
#define I2C_0_EN 1
|
||||
#define I2C_1_EN 0
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (36000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_DEV I2C1
|
||||
|
@ -233,7 +233,7 @@ static const spi_conf_t spi_config[] = {
|
||||
#define I2C_NUMOF (1U)
|
||||
#define I2C_0_EN 1
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (42000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_DEV I2C1
|
||||
|
@ -132,7 +132,7 @@ static const uart_conf_t uart_config[] = {
|
||||
#define I2C_0_EN 1
|
||||
#define I2C_1_EN 0
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (36000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_DEV I2C1
|
||||
|
@ -195,7 +195,7 @@ static const spi_conf_t spi_config[] = {
|
||||
#define I2C_0_EN 1
|
||||
#define I2C_1_EN 1
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (36000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_DEV I2C1
|
||||
|
@ -208,7 +208,7 @@ static const spi_conf_t spi_config[] = {
|
||||
#define I2C_NUMOF (1U)
|
||||
#define I2C_0_EN 1
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (42000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_DEV I2C1
|
||||
|
@ -159,7 +159,7 @@ static const spi_conf_t spi_config[] = {
|
||||
#define I2C_NUMOF (1U)
|
||||
#define I2C_0_EN 1
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (42000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_DEV I2C1
|
||||
|
@ -205,7 +205,7 @@ static const spi_conf_t spi_config[] = {
|
||||
#define I2C_NUMOF (1U)
|
||||
#define I2C_0_EN 1
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (42000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_DEV I2C1
|
||||
|
@ -234,7 +234,7 @@ static const spi_conf_t spi_config[] = {
|
||||
#define I2C_NUMOF (1U)
|
||||
#define I2C_0_EN 1
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (42000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_DEV I2C1
|
||||
|
@ -204,7 +204,7 @@ static const spi_conf_t spi_config[] = {
|
||||
#define I2C_1_EN 1
|
||||
#define I2C_NUMOF (I2C_0_EN + I2C_1_EN)
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (36000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_EVT_ISR isr_i2c1_ev
|
||||
|
@ -218,7 +218,7 @@ static const spi_conf_t spi_config[] = {
|
||||
#define I2C_NUMOF (1U)
|
||||
#define I2C_0_EN 1
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (42000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_DEV I2C1
|
||||
|
@ -204,7 +204,7 @@ static const spi_conf_t spi_config[] = {
|
||||
#define I2C_0_EN 1
|
||||
#define I2C_1_EN 1
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (36000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_DEV I2C1
|
||||
|
@ -238,7 +238,7 @@ static const spi_conf_t spi_config[] = {
|
||||
#define I2C_NUMOF (1U)
|
||||
#define I2C_0_EN 1
|
||||
#define I2C_IRQ_PRIO 1
|
||||
#define I2C_APBCLK (42000000U)
|
||||
#define I2C_APBCLK (CLOCK_APB1)
|
||||
|
||||
/* I2C 0 device configuration */
|
||||
#define I2C_0_DEV I2C1
|
||||
|
Loading…
Reference in New Issue
Block a user