This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Blinky exemple. Why error in core_cmFunc.h?

Hello all

I'm evaluating µVision4 for a project and have loaded the Blinky example.

It compiles without errors or warnings.

Build target 'STM32F103 Simulator'
assembling startup_stm32f10x_md.s...
compiling system_stm32f10x.c...
compiling Retarget.c...
compiling Blinky.c...
linking...
Program Size: Code=712 RO-data=268 RW-data=20 ZI-data=1028
".\Obj\Blinky.axf" - 0 Error(s), 0 Warning(s).

But when I open the core_cmFunc.h file there is a error on line 64. It says:

error: unknown type name '__STATIC_INLINE'

But if I'm selecting Go To Definition Of '__STATIC_INLINE' I end up in core_cm3.h wich is correct.

Why is that?

Can someone else verify that. And what should I do to remove the error?

0