Skip to content

Enable pulseIn() sketches for Portenta in sketch compilation workflow #45

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
Aug 2, 2021
Merged

Enable pulseIn() sketches for Portenta in sketch compilation workflow #45

merged 2 commits into from
Aug 2, 2021

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Aug 2, 2021

At the time the "Compile Examples" CI workflow was written, the Portenta H7 board did not have a pulseIn() function.
Although this was a legitimate bug, since this was an issue with the arduino/ArduinoCore-mbed code base, already
tracked there (arduino/ArduinoCore-mbed#48), and unrelated to the code hosted in this repository, it was determined that the best approach would be to configure the workflow to not compile the examples that used pulseIn() for the Portenta H7.

Since that time, pulseIn() has been implemented for Portenta H7 (arduino/ArduinoCore-mbed@f5ddfa8) and so we can now compile these sketches for that board.

per1234 added 2 commits August 2, 2021 14:25
At the time the "Compile Examples" CI workflow was written, the Portenta H7 board did not have a `pulseIn()` function.
Although this was a legitimate bug, since this was an issue with the `arduino/ArduinoCore-mbed` code base, already
tracked there, and unrelated to the code hosted in this repository, it was determined that the best approach would be to
configure the workflow to not compile the examples that used `pulseIn()` for the Portenta H7.

Since that time, `pulseIn()` has been implemented for Portenta H7 and so we can now compile these sketches for that board.
This attribute was used to configure the workflow to skip compilation of examples that used `pulseIn()` for boards that
were already known to not provide this functionality.

The only such board was the Portenta H7 and that has since gained a `pulseIn()`. Since all boards now have `pulseIn()`,
the attribute no longer serves a purpose and can be removed from the workflow.
@per1234 per1234 merged commit 3cf1130 into arduino:main Aug 2, 2021
@per1234 per1234 deleted the portenta-pulsein branch August 2, 2021 21:40
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.

1 participant