aboutsummaryrefslogtreecommitdiff
path: root/stmhal/boards/STM32F7DISC/mpconfigboard.h
diff options
context:
space:
mode:
authorDamien George2015-12-12 15:02:02 +0000
committerDamien George2015-12-12 15:02:02 +0000
commitf7c4f9a64048bcbeaf36be8590b352bbef72aa08 (patch)
tree2694d59a1aba9b69f04cff32bc76a40243194751 /stmhal/boards/STM32F7DISC/mpconfigboard.h
parent29e9db0c587145a8823227635734924896cdc4d1 (diff)
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/STM32F7DISC/mpconfigboard.h')
-rw-r--r--stmhal/boards/STM32F7DISC/mpconfigboard.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/stmhal/boards/STM32F7DISC/mpconfigboard.h b/stmhal/boards/STM32F7DISC/mpconfigboard.h
index b6e8cfafb..bc2f3fdc7 100644
--- a/stmhal/boards/STM32F7DISC/mpconfigboard.h
+++ b/stmhal/boards/STM32F7DISC/mpconfigboard.h
@@ -13,9 +13,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 (1)
-#define MICROPY_HW_ENABLE_SPI3 (0)
#define MICROPY_HW_ENABLE_CAN (1)
#define MICROPY_BOARD_EARLY_INIT STM32F7DISC_board_early_init