summaryrefslogtreecommitdiff
path: root/stmhal/boards/NETDUINO_PLUS_2
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-10-05 18:05:26 +0100
committerDamien George <damien.p.george@gmail.com>2014-10-05 18:05:26 +0100
commit6dba992182af9b3a73711958de2eeeb33b7f69f6 (patch)
tree301395cceb68123644bdbfe666d8ab9a69ab09d2 /stmhal/boards/NETDUINO_PLUS_2
parentba0383a8c7b2fb394a7d2bc7a67cab7fc3200263 (diff)
stmhal: Add config option to disable/enable CAN driver.
Diffstat (limited to 'stmhal/boards/NETDUINO_PLUS_2')
-rw-r--r--stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h b/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h
index c32e0d29e..6de5a72c0 100644
--- a/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h
+++ b/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h
@@ -20,6 +20,7 @@
#define MICROPY_HW_ENABLE_I2C1 (0)
#define MICROPY_HW_ENABLE_SPI1 (0)
#define MICROPY_HW_ENABLE_SPI3 (0)
+#define MICROPY_HW_ENABLE_CAN (0)
// USRSW is pulled low. Pressing the button makes the input go high.
#define MICROPY_HW_USRSW_PIN (pin_B11)