We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm currently trialing the Keil uVision compiler V5 with the ST demo board MCBSTM32 (uses an STM32F103R8).
The Keil IDE indicates that a set of the inline assembler definitions are incorrect.
__ASM uint32_t __get_PSP(void)
__ASM void __set_PSP(uint32_t topOfProcStack)
__ASM uint32_t __get_MSP(void)
__ASM void __set_MSP(uint32_t mainStackPointer)
__ASM uint32_t __REV16(uint16_t value)
__ASM int32_t __REVSH(int16_t value)
Hovering the cursor over the error gives the message error: expected '(' after 'asm'
On my colleagues Windows 8 PC and my XP login this appears to produce no actual compile error.
Under my Windows 8 PC the file will not compile correctly due to the compiler being unable to write the '.o' file to the output folder.
Commenting out these definitions allows my version to compile.
Any idea why these definitions are being marked as incorrect? Is there some macro definition missing?
Why does it only cause a problem on my PC (or why doesn't it cause a problem on the others).
HI,
Recent releases of CMSIS-core no longer need core_cm3.c. Could you try remove this file from your project and see if it works? You might be using newer versions of header files.
regards,
Joseph