AnsweredAssumed Answered

error while compiling the stm discovery-kit touch example

Question asked by khalid.ahmad_aneeque on Apr 29, 2014
Latest reply on Feb 1, 2015 by gavrikov.aleksander
hi,
 i am working on touch interface for start i am trying to work on stm discovery board. i have downloaded the touch example provided by the st.com while compiling the project i am facing the problems

stm8_tsl_rc_acquisition.c  
Error[As011]: Undefined symbol: EndWaitForVih E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 366 
Error[As011]: Undefined symbol: EndWaitForVih E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 366 
Error[As011]: Undefined symbol: EndWaitForVih E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 366 
Error[As011]: Undefined symbol: WaitForVih E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 369 
Error[As011]: Undefined symbol: WaitForVih E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 369 
Error[As011]: Undefined symbol: WaitForVih E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 369 
Error[Og010]: Inline assembler instruction does not have a unique size: "        bcp a, (x)" E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 301 
Error[As011]: Undefined symbol: EndWaitForVil E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 302 
Error[As011]: Undefined symbol: EndWaitForVil E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 302 
Error[As011]: Undefined symbol: EndWaitForVil E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 302 
Error[As011]: Undefined symbol: WaitForVil E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 305 
Error[As011]: Undefined symbol: WaitForVil E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 305 
Error[As011]: Undefined symbol: WaitForVil E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 305 
Error[As011]: Undefined symbol: ShiftLoopVih E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 251 
Error[As011]: Undefined symbol: ShiftLoopVih E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 251 
Error[As011]: Undefined symbol: ShiftLoopVih E:\Ahmad\PRJ_WHITE\touch\an3279\Libraries\STM8_TouchSensing_Driver\src\stm8_tsl_rc_acquisition.c 251 
Tool Internal Error: 
Internal Error: [CoreUtil/General]: Size mismatch for "        AND       A, (X)", inserted as 1 bytes, assembled as 3 bytes 
Internal Error: [CoreUtil/General]: Size mismatch for "        AND       A, (X)", inserted as 1 bytes, assembled as 3 bytes 
Error while running C/C++ Compiler 
 
Total number of errors: 18 
Total number of warnings: 0 

I have tried to comment the lines but the file is write protected. 
help any one

Outcomes