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

map LED_BUILTIN to PA13 #1930

Merged
merged 1 commit into from
Jan 24, 2023
Merged

map LED_BUILTIN to PA13 #1930

merged 1 commit into from
Jan 24, 2023

Conversation

GreenEllipsis
Copy link
Contributor

@GreenEllipsis GreenEllipsis commented Jan 24, 2023

Summary
Mapped LED_BUILTIN to PA13, the onboard blue LED. Was mapped to PNUM_NOT_DEFINED.

This PR fixes/implements the following bugs/features
LED_BUILTIN works as expected

motivation
LED_BUILTIN was mapped to PNUM_NOT_DEFINED. Referencing it would not throw a compile-time error, leading to confusion.

Validation

  • CI built without warnings.
  • standard Blink example now causes blue LED to blink

Code formatting
Trival edit

Closing issues
No issues raised (easier to fix than raise an issue).

PA13 is the onboard blue LED. Was mapped to PNUM_NOT_DEFINED.
@fpistm fpistm added the enhancement New feature or request label Jan 24, 2023
Copy link
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Looking at the EBB42 V1.1 schematics, PA13 is the status LED of SWDIO.
I guess it is not an issue.
image

@fpistm fpistm added this to the 2.5.0 milestone Jan 24, 2023
@fpistm fpistm merged commit a95f7c5 into stm32duino:main Jan 24, 2023
@GreenEllipsis
Copy link
Contributor Author

GreenEllipsis commented Jan 25, 2023 via email

@GreenEllipsis
Copy link
Contributor Author

GreenEllipsis commented Jan 25, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants