diff options
author | Damien George <damien.p.george@gmail.com> | 2018-03-15 16:32:11 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-03-15 16:32:11 +1100 |
commit | 22a9158ced8c7640ce25abdf41ae4595bd1efa07 (patch) | |
tree | 4cc5ae77eeec36626d18ea88e6beafdf9bd46a34 | |
parent | d91a1989f5e914c20e8bd559fcca3dc91887f167 (diff) |
stm32/boards/STM32L476DISC: Enable CAN peripheral.
This board allows to test CAN support on the L4 series.
-rw-r--r-- | ports/stm32/boards/STM32L476DISC/mpconfigboard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/stm32/boards/STM32L476DISC/mpconfigboard.h b/ports/stm32/boards/STM32L476DISC/mpconfigboard.h index 47d25f574..3d8b74e4a 100644 --- a/ports/stm32/boards/STM32L476DISC/mpconfigboard.h +++ b/ports/stm32/boards/STM32L476DISC/mpconfigboard.h @@ -9,6 +9,7 @@ void STM32L476DISC_board_early_init(void); #define MICROPY_HW_HAS_FLASH (1) #define MICROPY_HW_ENABLE_RNG (1) #define MICROPY_HW_ENABLE_RTC (1) +#define MICROPY_HW_ENABLE_CAN (1) #define MICROPY_HW_ENABLE_USB (1) // use external SPI flash for storage |