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

AirLift menu option so arbitrary boards can declare they have an airlift board attached #333

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alwayslinux2
Copy link

Adafruit SAMD board support tweaks to add arduino menu to select that the board has an attached airlift board. Picks built-in vs airlift shield, vs airlift featherwing, vs airlift bitsy based on which main board is selected. sets nina pins accordingly. Also sets HAS_ADAFRUIT_AIRLIFT flag, so the adafruit fork of arduinoble can also just work.

This is meant to make it easier to build a script for a board connected to an airlift, particularly when the script needs to span several cpp files, and you need the precompiler defines to be visible from all the compilation units. Hard coding a change to the boards file works, but gets overwritten the next time the core gets upgraded, and means all other scripts for the same board get those same settings. Forking the boards file for one project gets annoying.

Anyway, this is a suggestion, feel free to disregard if it doesn't help everyone else.

Jeremy Williams

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