summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/boards/STM32F429DISC/mpconfigboard.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-12-12 15:02:02 +0000
committerDamien George <damien.p.george@gmail.com>2015-12-12 15:02:02 +0000
commitf7c4f9a64048bcbeaf36be8590b352bbef72aa08 (patch)
tree2694d59a1aba9b69f04cff32bc76a40243194751 /stmhal/boards/STM32F429DISC/mpconfigboard.h
parent29e9db0c587145a8823227635734924896cdc4d1 (diff)
downloadmicropython-f7c4f9a64048bcbeaf36be8590b352bbef72aa08.tar.gz
micropython-f7c4f9a64048bcbeaf36be8590b352bbef72aa08.zip
stmhal: For SPI config, use HW_SPIx_SCK instead of HW_ENABLE_SPIx.
Previously, SPI was configured by a board defining MICROPY_HW_ENABLE_SPIx to 0 or 1. Now, the board should define MICROPY_HW_SPIx_SCK, MISO, MOSI and NSS. This makes it the same as how I2C is configured.
Diffstat (limited to 'stmhal/boards/STM32F429DISC/mpconfigboard.h')
-rw-r--r--stmhal/boards/STM32F429DISC/mpconfigboard.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/stmhal/boards/STM32F429DISC/mpconfigboard.h b/stmhal/boards/STM32F429DISC/mpconfigboard.h
index cbf5674031..dc4059d030 100644
--- a/stmhal/boards/STM32F429DISC/mpconfigboard.h
+++ b/stmhal/boards/STM32F429DISC/mpconfigboard.h
@@ -11,9 +11,6 @@
#define MICROPY_HW_ENABLE_TIMER (1)
#define MICROPY_HW_ENABLE_SERVO (0)
#define MICROPY_HW_ENABLE_DAC (0)
-#define MICROPY_HW_ENABLE_SPI1 (0)
-#define MICROPY_HW_ENABLE_SPI2 (0)
-#define MICROPY_HW_ENABLE_SPI3 (0)
#define MICROPY_HW_ENABLE_CAN (1)
// HSE is 8MHz