I have a project build on cortex-m0plus, currently using kds2.0
after i had opened it in kds3.0, I change the link flag from -nanolibc to -specs=nano.specs -specs=nosys.specs
there is a compiler error saying :
selected processor does not support Thumb mode 'mrs R0, MSP'
I checked the build settings:
I found that the compiler option is missing -mcpu= cortex-m0plus,
if I add -mcpu= cortex-m0plus in the Other target flags, then it builds without the error, So why this option is not included in the compiler option list automatically? because I already select the ARM family to cortex-m0plus like in the above image.
I checked this project in KDS2.0, that also does not include this option, but in kds2.0, it is default to build for cortex-m0plus, so there is no compiler error.