Repository navigation
Conversation
Member
|
Thanks @lacklustrlabs |
Contributor
Author
|
imho it would be easiest to add the first PIN_AX variant: I can do that, but the question is where do you want it? |
Member
|
Thanks @lacklustrlabs |
fpistm
added a commit
to fpistm/Arduino_Core_STM32
that referenced
this pull request
Jan 26, 2018
Use _Static_assert instead of static_assert Cosmetic change Signed-off-by: Frederic Pillon <[email protected]>
lacklustrlabs
pushed a commit
to lacklustrlabs/Arduino_Core_STM32
that referenced
this pull request
Jan 26, 2018
Use _Static_assert instead of static_assert Cosmetic change Signed-off-by: Frederic Pillon <[email protected]>
lacklustrlabs
force-pushed
the
NUM_DIGITAL_PINS-and-NUM_ANALOG_INPUTS
branch
2 times, most recently
from
January 26, 2018 21:50
6e74479 to
c784d36
Compare
fpistm
reviewed
Jan 26, 2018
|
|
||
| // Avoid pins number misalignment | ||
| _Static_assert(NUM_DIGITAL_PINS==PEND, "NUM_DIGITAL_PINS and PEND differ!"); | ||
| _Static_assert(NUM_ANALOG_INPUTS==(AEND-A0), "NUM_DIGITAL_PINS and (AEND-A0) differ!"); |
Member
There was a problem hiding this comment.
Sorry made a wrong copy/paste
"NUM_DIGITAL_PINSNUM_ANALOG_INPUTS and (AEND-A0) differ!"
Contributor
Author
There was a problem hiding this comment.
No problem :)
lacklustrlabs
force-pushed
the
NUM_DIGITAL_PINS-and-NUM_ANALOG_INPUTS
branch
from
January 26, 2018 23:14
c784d36 to
f697d25
Compare
benwaffle
pushed a commit
to benwaffle/Arduino_Core_STM32
that referenced
this pull request
Apr 10, 2019
…-and-NUM_ANALOG_INPUTS Assigning literal values to NUM_DIGITAL_PINS and NUM_ANALOG_INPUTS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It turned out that I needed the fix of #140 for a pet project of mine.
So here are the changes I made.
I've compiled every board with this .ino: