yes, that's what I do currently. I'm using M0/Zero, M3/Due and Adafruit M4.
But no macro which works for all ARMs?