Skip to content

Add Nano RP2040 Connect to sketch compilation CI workflow #46

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 3, 2021
Merged

Add Nano RP2040 Connect to sketch compilation CI workflow #46

merged 2 commits into from
Aug 3, 2021

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Aug 3, 2021

No description provided.

per1234 added 2 commits August 2, 2021 14:44
…rd combo

Pin A5 is used by the "StringComparisonOperators" example. The Nano RP2040 Connect uses the u-blox NINA-W102's ADC for
pins A4-A7. This means those pins are only usable in a sketch when it contains an `#include` directive for the WiFiNINA
library. This results in compilation of that example failing for the Nano RP 2040 Connect. The need for this `#include`
directive is surely an intentional design decision, and thus not likely to change.

Although it is possible to add compatibility to the sketch with a preprocessor conditional, the added complexity in what
is intended to be a very beginner friendly example is likely not worth it. Another option would be to change the sketch
to use a different pin, but that sort of change does not fall within my remit.

The error message the user will experience if they attempt to compile this sketch for their board is reasonably good so I
suppose the realistic best way forward is to consider this not a bug and just skip the sketch.
@per1234 per1234 merged commit 3a72801 into arduino:main Aug 3, 2021
@per1234 per1234 deleted the nano-rp2040-connect branch August 3, 2021 01:53
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