“Section type conflict” in arm embedded, what is it?

馋奶兔 提交于 2019-12-10 12:18:31

问题


I am getting an error for this:

Can any one guide me on this? What sort of error is this. What are some generic possible errors causes for this. I am asking about Section type conflict.

What I find on Google is the people saying different things about their specific platforms, compilers.

I am using GCC, STM32F429I, and VSTAR OS (RTOS).

C:\Users\munullah\eclipseworkspace\onsvr\vstar_os\applications\sample\gen
\STM32F429I\GNU\Os_Lcfg.c:530:58: error: 
Os_IsrCAT1PlatformConfig causes a section type conflict with 
Os_SC1_EPSSOS_IIK_400_STM32F429I_GNU         
CONSTP2CONST(Os_IsrPlatformConfigType,OS_CONST,OS_CONST) Os_IsrCAT1PlatformConfig[1];

C:\Users\munullah\eclipseworkspace\onsvr\vstar_os\applications\sample\gen\STM32F429I\GNU\Os_Lcfg.c:53:21: 
note: 'Os_SC1_EPSSOS_IIK_400_STM32F429I_GNU'
 was declared here
 CONST(uint8,OS_VAR) Os_SC1_EPSSOS_IIK_400_STM32F429I_GNU = (uint8)0U;

                   ^
../../BuildSystem/makefile:283: recipe for target 'objs/STM32F429I/GNU/Os_Lcfg.o' failed
make: *** [objs/STM32F429I/GNU/Os_Lcfg.o] Error 1

P.S: You may see the image properly by Right-click and then view image.

来源:https://stackoverflow.com/questions/25246984/section-type-conflict-in-arm-embedded-what-is-it

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!