aboutsummaryrefslogtreecommitdiff
path: root/stmhal/boards/STM32F4DISC
diff options
context:
space:
mode:
authorDamien George2014-10-05 18:05:26 +0100
committerDamien George2014-10-05 18:05:26 +0100
commit6dba992182af9b3a73711958de2eeeb33b7f69f6 (patch)
tree301395cceb68123644bdbfe666d8ab9a69ab09d2 /stmhal/boards/STM32F4DISC
parentba0383a8c7b2fb394a7d2bc7a67cab7fc3200263 (diff)
stmhal: Add config option to disable/enable CAN driver.
Diffstat (limited to 'stmhal/boards/STM32F4DISC')
-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 2e2769477..9db330bff 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)