__I Syntax error [message #918573] |
Fri, 21 September 2012 06:15 |
Zhe Yin Messages: 1 Registered: September 2012 |
Junior Member |
|
|
I took the STM32 example project into eclipse, but there is error in system_stm32f10x.c:__I Syntax error.
__I is defined in the core_cm3.h:
#ifdef __cplusplus
#define __I volatile /*!< defines 'read only' permissions */
#else :)
#define __I volatile const /*!< defines 'read only' permissions */
#endif
system_stm32f10x.c include stm32f10x.h, stm32f10x.h include core_cm3.h.If the core_cm3.h directly included in the stm32f10x.c no mistake.Maybe environment configuration problem.Need help.Thanks a lot.
My environment:
Windows xp
Eclipse IDE for C/C++ Developers
Version: Juno Release
Build id: 20120614-1722
CodeSourcery G++ Lite
[Updated on: Fri, 21 September 2012 06:18] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03367 seconds