Skip to content

Commit f67497f

Browse files
Update README.md
Correct error in readme.mb for default button, which should have read PC14 not PC12
1 parent 73b621d commit f67497f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ In addition to the LED, the difference in the build targets is
3434
(a) whether the device has maple USB reset hardware.
3535
(b) Which pin the "button" is attached to.
3636

37-
Note. Most "generic" STM32F103 boards only have a reset button, and not a user / test button. So the bootloader code always configures the Button input pin as PullDown, hence if a button is not present on the Button pin (Default is PC12), the pin should remain in a LOW state, and the bootloader will assume that the Button is not being pressed.
37+
Note. Most "generic" STM32F103 boards only have a reset button, and not a user / test button. So the bootloader code always configures the Button input pin as PullDown, hence if a button is not present on the Button pin (Default is PC14), the pin should remain in a LOW state, and the bootloader will assume that the Button is not being pressed.
3838

3939
IMPORTANT.
4040
If you have a board where you have external hardware attached to pin PC12 which will pull this pin HIGH, you will need to make a new build target for you board which uses a different pin for the Button, or completely modify the code so that the Button is ignored.

0 commit comments

Comments
 (0)