Skip to content

Commit

Permalink
[board] Add Can1 and Can2 to Board::SystemClock
Browse files Browse the repository at this point in the history
  • Loading branch information
strongly-typed committed May 8, 2022
1 parent c7bd876 commit 87b6405
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modm/board/nucleo_f446re/board.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ struct SystemClock
static constexpr uint32_t Uart5 = Apb1;
static constexpr uint32_t Usart6 = Apb2;

static constexpr uint32_t Can1 = Apb1;
static constexpr uint32_t Can2 = Apb1;

static constexpr uint32_t I2c1 = Apb1;
static constexpr uint32_t I2c2 = Apb1;
static constexpr uint32_t I2c3 = Apb1;
Expand Down
3 changes: 3 additions & 0 deletions src/modm/board/nucleo_f446ze/board.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ struct SystemClock
static constexpr uint32_t Uart5 = Apb1;
static constexpr uint32_t Usart6 = Apb2;

static constexpr uint32_t Can1 = Apb1;
static constexpr uint32_t Can2 = Apb1;

static constexpr uint32_t I2c1 = Apb1;
static constexpr uint32_t I2c2 = Apb1;
static constexpr uint32_t I2c3 = Apb1;
Expand Down

0 comments on commit 87b6405

Please sign in to comment.