summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-03-30 17:59:36 +1100
committerDamien George <damien.p.george@gmail.com>2017-03-30 17:59:36 +1100
commit41cbe8045e5915dba17261f596a1d96895970d36 (patch)
tree804a11a2c7cb791ae59ea06e4789fedd9daafbef /stmhal
parentc74fa7f58ece5e128f35a60e56fbb9a24ddf88b3 (diff)
downloadmicropython-41cbe8045e5915dba17261f596a1d96895970d36.tar.gz
micropython-41cbe8045e5915dba17261f596a1d96895970d36.zip
stmhal/boards/STM32F769DISC: Fix user switch pin, and document stlink.
Diffstat (limited to 'stmhal')
-rw-r--r--stmhal/boards/STM32F769DISC/mpconfigboard.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/stmhal/boards/STM32F769DISC/mpconfigboard.h b/stmhal/boards/STM32F769DISC/mpconfigboard.h
index 96706be885..72465c7994 100644
--- a/stmhal/boards/STM32F769DISC/mpconfigboard.h
+++ b/stmhal/boards/STM32F769DISC/mpconfigboard.h
@@ -1,4 +1,5 @@
-//This board is only confirmed to operate using openocd.
+// This board is confirmed to operate using stlink and openocd.
+// REPL is on UART(1) and is available through the stlink USB-UART device.
// To use openocd run "OPENOCD_CONFIG=boards/openocd_stm32f7.cfg" in
// the make command.
#define MICROPY_HW_BOARD_NAME "F769DISC"
@@ -54,7 +55,7 @@
#define MICROPY_HW_SPI2_MOSI (pin_B15)
// USRSW is pulled low. Pressing the button makes the input go high.
-#define MICROPY_HW_USRSW_PIN (pin_I11)
+#define MICROPY_HW_USRSW_PIN (pin_A0)
#define MICROPY_HW_USRSW_PULL (GPIO_NOPULL)
#define MICROPY_HW_USRSW_EXTI_MODE (GPIO_MODE_IT_RISING)
#define MICROPY_HW_USRSW_PRESSED (1)