Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM8L-DISCOVERY: enable UART output #279

Merged
merged 1 commit into from
Nov 17, 2019

Conversation

frantony
Copy link
Contributor

The BOARDINIT routine from STM8L-DISCOVERY/boardcore.inc
remaps UART interface to PA2/PA3 pins but the PA2 output
mode set code is missed. As a result UART produces
no output.

The commit fixes the problem by setting up PA2 as
push-pull output.

The BOARDINIT routine from STM8L-DISCOVERY/boardcore.inc
remaps UART interface to PA2/PA3 pins but the PA2 output
mode set code is missed. As a result UART produces
no output.

The commit fixes the problem by setting up PA2 as
push-pull output.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
@TG9541
Copy link
Owner

TG9541 commented Nov 17, 2019

Hi Antony, thanks for fixing STM8L support (where I'm guilty of neglect ;-) )

@TG9541 TG9541 merged commit 10c7217 into TG9541:master Nov 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants