Skip to content

Add WEAK attribute to PinMap arrays #555

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

Merged
merged 2 commits into from
Jul 1, 2019
Merged

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Jul 1, 2019

PinMap arrays defined in PeripheralPins.c can now be overridden by user.
This allows to change peripheral used by a pin or save space if some peripherals are useless on pins.

Fix #515

This PR also fix duplicated pins definitions for BlackF407 raised in the same issue.

Updated default PinMap files:
stm32duino/Arduino_Tools@4bd644e

Wiki:
https://github.com/stm32duino/wiki/wiki/Custom-definitions#custom-pinmap-array

fpistm added 2 commits July 1, 2019 14:34
Signed-off-by: Frederic.Pillon <[email protected]>
Allow custom overwriting.

Fix stm32duino#515

Signed-off-by: Frederic.Pillon <[email protected]>
@fpistm fpistm self-assigned this Jul 1, 2019
@fpistm fpistm added enhancement New feature or request fix 🩹 Bug fix labels Jul 1, 2019
@fpistm fpistm added this to the 1.7.0 milestone Jul 1, 2019
@fpistm fpistm merged commit 66b9d99 into stm32duino:master Jul 1, 2019
@fpistm fpistm deleted the WEAK_PinMAP branch July 1, 2019 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fix 🩹 Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Provide Aternative pins] Choosing SPI modules with overlapping Pins
1 participant