Hi,
I would like use the standard vector template. Does the compiler support this C++ template?
If I compile my code with the vector template I get "warning #10247-D: creating output section ".init_array" without a SECTIONS specification". After that I defined in my linker cmd file .init_array section. I looked like that:
...
SECTIONS
{
.intvecs: > INTVECS
.resetisr: > RESETISR
.text : >> FLASH1 | FLASH2
.const : >> FLASH1 | FLASH2
.cinit : > FLASH1 | FLASH2
.pinit : >> FLASH1 | FLASH2
.init_array : > FLASH1 | FLASH2
...
I programmed the M3 with the new defined linker cmd file. Now the M3 get password locked (was lucky to read that I can unlock the M3 again). How do I have to define the linker cmd file correct?
I would be glad if someone could me give some advice how to use the vector template on the M3.
Thank you
Matt