keyboardio / Kaleidoscope-Bundle-Keyboardio

A Kaleidoscope distribution for the Keyboardio Model 01 and other keyboards.
Other
17 stars 24 forks source link

boards.txt: Add support for a few Atreus variants #9

Closed algernon closed 5 years ago

algernon commented 5 years ago

Introduces a Pinout menu when the Atreus is the selected target, making it possible for the user to select which pinout their Atreus has.

algernon commented 5 years ago

I was originally wanting to make things simpler and not redefine build.extra_flags for every menu item, but alas, we would have needed to use a custom variable for that, and that doesn't work, arduino refuses to substitute it. So instead of adding -DKALEIDOSCOPE_HARDWARE_ATREUS_PINOUT_{build.pinout}=1 to build.extra_flags, we have to rebuild the whole thing. :(