aboutsummaryrefslogtreecommitdiff
path: root/stmhal/boards
diff options
context:
space:
mode:
authorDamien George2014-04-20 18:32:17 +0100
committerDamien George2014-04-20 18:32:17 +0100
commit2b925d76962cb325cf5cc49a1becff3cd707b4aa (patch)
tree3111ee649a5d132207abd3a84b72320df1d18aad /stmhal/boards
parentdde739d364b0faf48e74a88b65dc2468a3aaf64b (diff)
parentf70630c58f5e74c0804ccfc4985a09e54c46249f (diff)
Merge branch 'fix-netduino-i2c-spi' of github.com:dhylands/micropython into dhylands-fix-netduino-i2c-spi
Diffstat (limited to 'stmhal/boards')
-rw-r--r--stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h b/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h
index a01d37aea..a626f4534 100644
--- a/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h
+++ b/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h
@@ -17,6 +17,8 @@
#define MICROPY_HW_ENABLE_TIMER (1)
#define MICROPY_HW_ENABLE_SERVO (1)
#define MICROPY_HW_ENABLE_DAC (0)
+#define MICROPU_HW_ENABLE_I2C1 (0)
+#define MICROPU_HW_ENABLE_SPI1 (0)
// USRSW is pulled low. Pressing the button makes the input go high.
#define MICROPY_HW_USRSW_PIN (pin_B11)