Hi all, this is a newbie question
Can I create a project with source shared between AVR and Due boards, and then recompile for one or the other?
I expect there will be some code specific to AVR or ARM, I would normally (with other IDEs) put that into a sub-folder, then reference it accordingly from the top level. But it seems Arduino only compiles source code in the top level folder, and ignores sub-folders.
How would people manage this?
If this is an FAQ, I apologise, I couldn't find it mentioned anywhere.