I get "region `RAM' overflowed by 712 bytes" on a D10. I have the following arrays:
// the arrays u8 a; u16 b; u16 c; u16 d; // note: these arrays are declared within a few structs
I also have a handful of scalars.
I already added "-Wl,--defsym,STACK_SIZE=0x100" to the Linker Flags (in Toolchain -> ARM/GNU Linker -> Miscellaneous).
It seems data is always aligned to 4 bytes, which is not ok, not for arrays :) How do I change that?