summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/boards/STM32F4DISC/mpconfigboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/boards/STM32F4DISC/mpconfigboard.h')
-rw-r--r--stmhal/boards/STM32F4DISC/mpconfigboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/boards/STM32F4DISC/mpconfigboard.h b/stmhal/boards/STM32F4DISC/mpconfigboard.h
index 2e27694775..9db330bff3 100644
--- a/stmhal/boards/STM32F4DISC/mpconfigboard.h
+++ b/stmhal/boards/STM32F4DISC/mpconfigboard.h
@@ -16,6 +16,7 @@
#define MICROPY_HW_ENABLE_I2C1 (1)
#define MICROPY_HW_ENABLE_SPI1 (1)
#define MICROPY_HW_ENABLE_SPI3 (0)
+#define MICROPY_HW_ENABLE_CAN (1)
// USRSW is pulled low. Pressing the button makes the input go high.
#define MICROPY_HW_USRSW_PIN (pin_A0)