Hello freaks,
I have C++ specific question. In ordinary C, to specify the location of function one could specify:
voif func()__attribute__ ((section (".bootloader")));
I can do the same in C++ for every class method, but it is obviously annoying. Can I specify the location of the whole class?
I'd like to share some classes between application code and bootloader, so I try to put some classes in specific section, compile it, and next link with bootloader or application code. So both will share the same code, while gcc should properly initialize classes (copy VMT into SRAM), and so on.