diff options
| author | Damien George | 2014-04-20 19:06:15 +0100 |
|---|---|---|
| committer | Damien George | 2014-04-20 19:06:15 +0100 |
| commit | ff91156d3495c3583dd4ced85ceea6243a1377a2 (patch) | |
| tree | 0267a87911faa1b0d618e845ac0419f673874185 /stmhal/boards/NETDUINO_PLUS_2 | |
| parent | 2b925d76962cb325cf5cc49a1becff3cd707b4aa (diff) | |
stmhal: Improved configurability for I2C and SPI busses.
The HAL handles for the I2C/SPI objects are rather large, so we don't
want to unnecessarily include them.
Diffstat (limited to 'stmhal/boards/NETDUINO_PLUS_2')
| -rw-r--r-- | stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h b/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h index a626f4534..b70b56d9c 100644 --- a/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h +++ b/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h @@ -17,8 +17,9 @@ #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) +#define MICROPY_HW_ENABLE_I2C1 (0) +#define MICROPY_HW_ENABLE_SPI1 (0) +#define MICROPY_HW_ENABLE_SPI3 (0) // USRSW is pulled low. Pressing the button makes the input go high. #define MICROPY_HW_USRSW_PIN (pin_B11) |
