Hi all
I have the following setup:
with an empty main.cpp:
main.cpp
int main(void) { return 0; }
and I am getting the following error:
compiling startup_ARMCM33.c... RTE/Device/ARMCM33_DSP_FP/startup_ARMCM33.c: In function 'Reset_Handler': RTE/Device/ARMCM33_DSP_FP/startup_ARMCM33.c(134): warning: implicit declaration of function '__set_MSPLIM'; did you mean '__set_MSP'? [-Wimplicit-function-declaration] RTE/Device/ARMCM33_DSP_FP/startup_ARMCM33.c(135): warning: implicit declaration of function '__set_PSPLIM'; did you mean '__set_PSP'? [-Wimplicit-function-declaration] C:\Users\ersk\AppData\Local\Temp\ccMzeu8x.s: Assembler messages: Error: C:\Users\ersk\AppData\Local\Temp\ccMzeu8x.s:86: Error: selected processor does not support `msr psp,r3' in Thumb mode
Below the files that get pulled in, not sure why there is nothing under CMSIS:
Is there anything that I can try out to help getting to the bottom of this? Do I have to write my own ld script on top of gcc_arm.ld?
gcc_arm.ld
Cheers