Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
41cbe804
Commit
41cbe804
authored
Mar 30, 2017
by
Damien George
Browse files
stmhal/boards/STM32F769DISC: Fix user switch pin, and document stlink.
parent
c74fa7f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/boards/STM32F769DISC/mpconfigboard.h
View file @
41cbe804
//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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment