I think this may be the VisualGDB’s bug.
I have a mdk project and compiler no error. but when I import to vs, I also get the same error like
#1114: this feature not supported on target architecture/processor EmbeddedProject2 F:\V7\Study\ucos\Libraries\CMSIS\Include\cmsis_armcc.h 132
__STATIC_INLINE uint32_t __get_CONTROL(void)
{
register uint32_t __regControl __ASM(“control”); //<———–here
return(__regControl);
}
if I use default ARM complier, there is no error, but there are errors when use “Keil ARMCC”.
by the way, in the project, there is no CMSIS package or other keil run-time enviironment.