Browse Source

Merge pull request #6759 from OTAkeys/pr/nucleo-i2c-clock

boards: fix I2C_APBCLK value in stm32-based boards
pr/rotary
Alexandre Abadie 6 years ago committed by GitHub
parent
commit
6f98e81b17
  1. 2
      boards/fox/include/periph_conf.h
  2. 2
      boards/iotlab-common/include/periph_conf_common.h
  3. 2
      boards/limifrog-v1/include/periph_conf.h
  4. 2
      boards/maple-mini/include/periph_conf.h
  5. 2
      boards/msbiot/include/periph_conf.h
  6. 2
      boards/nucleo-f103/include/periph_conf.h
  7. 2
      boards/nucleo-f303/include/periph_conf.h
  8. 2
      boards/nucleo-f401/include/periph_conf.h
  9. 2
      boards/nucleo-f410/include/periph_conf.h
  10. 2
      boards/nucleo-f411/include/periph_conf.h
  11. 2
      boards/nucleo-f446/include/periph_conf.h
  12. 2
      boards/nucleo-l1/include/periph_conf.h
  13. 2
      boards/nucleo144-f413/include/periph_conf.h
  14. 2
      boards/stm32f3discovery/include/periph_conf.h
  15. 2
      boards/stm32f4discovery/include/periph_conf.h

2
boards/fox/include/periph_conf.h

@ -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

2
boards/iotlab-common/include/periph_conf_common.h

@ -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

2
boards/limifrog-v1/include/periph_conf.h

@ -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

2
boards/maple-mini/include/periph_conf.h

@ -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

2
boards/msbiot/include/periph_conf.h

@ -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

2
boards/nucleo-f103/include/periph_conf.h

@ -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

2
boards/nucleo-f303/include/periph_conf.h

@ -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

2
boards/nucleo-f401/include/periph_conf.h

@ -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

2
boards/nucleo-f410/include/periph_conf.h

@ -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

2
boards/nucleo-f411/include/periph_conf.h

@ -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

2
boards/nucleo-f446/include/periph_conf.h

@ -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

2
boards/nucleo-l1/include/periph_conf.h

@ -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

2
boards/nucleo144-f413/include/periph_conf.h

@ -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

2
boards/stm32f3discovery/include/periph_conf.h

@ -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

2
boards/stm32f4discovery/include/periph_conf.h

@ -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…
Cancel
Save