Skip to content

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