Skip to content

Commit

Permalink
[board] Add I2c2 and 3 clocks to Nucleo F303RE
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-durand committed Aug 10, 2022
1 parent d5f14a5 commit 5bdc8a5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/modm/board/nucleo_f303re/board.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ struct SystemClock
static constexpr uint32_t Usart2 = Apb1;
static constexpr uint32_t Usart3 = Apb1;

// I2C1 clock source is HSI per default
static constexpr uint32_t I2c1 = 8_MHz;
// I2C clock source is HSI by default
static constexpr uint32_t I2c1 = 8_MHz;
static constexpr uint32_t I2c2 = 8_MHz;
static constexpr uint32_t I2c3 = 8_MHz;

static constexpr uint32_t Apb1Timer = Apb1 * 2;
static constexpr uint32_t Apb2Timer = Apb2 * 1;
Expand Down

0 comments on commit 5bdc8a5

Please sign in to comment.