Hi - I'm using Atmel Studio with a SAMD part, and I'm trying to put in a bit of inline assembly. Here's what I'm trying to add:
__ASM(".set mivar, 0x1234");
extern int mivar;
I can't seem to get this to compile - it looks like it doesn't like the .set directive but I've tried several different variations and it chokes.
Any help would be appreciated.