AnsweredAssumed Answered

STM8L discovery kit ( using raisonance ) error

Question asked by yong_fong.lau on Oct 9, 2011
Latest reply on Oct 9, 2011 by Andrew Neil
Hi all ,

I have try to compile default code ( discovery demo ) and everything runs fine. After which i try to create my own application following the guide : UM0991 <Building, debugging and running your application with STVD>  page 47 onward. After the all the setting and work , i try to compile but was given the following error (i did not induce any code the main.c yet)...

Any one knows what wrong ?

Compiling ..\..\..\..\libraries\stm8l15x_stdperiph_driver\src\stm8l15x_gpio.c...
rcstm8 ..\..\..\..\libraries\stm8l15x_stdperiph_driver\src\stm8l15x_gpio.c OBJECT(Debug\stm8l15x_gpio.o) PIN("C:\Program Files\Raisonance\Ride\inc\STM8") PIN("C:\Program Files\Raisonance\Ride\inc\ST7") PIN("C:\Program Files\Raisonance\Ride\inc")  DGC(page0) AUTO WRV(0) PR(Debug\stm8l15x_gpio.lst) CD CO SB  OT(0) DEBUG STM8(SMALL) PIN(..\..\inc) PIN(..\..\..\..\libraries\stm8l15x_stdperiph_driver\inc)
 RCSTM8 COMPILER V2.38.11.251 - Lite (32 Kb code limited)
Copyright (c) Raisonance S.A.S. 1987-2011. All rights reserved.

*** ERROR P028 IN LINE 54 OF ..\..\..\..\libraries\stm8l15x_stdperiph_driver\inc/stm8l15x.h :  "Please select first the target STM8L device used in your application (in stm8l15x.h file)"


RCSTM8 COMPILATION COMPLETE. 0 WARNING, 1 ERROR

 The command: "rcstm8 ..\..\..\..\libraries\stm8l15x_stdperiph_driver\src\stm8l15x_gpio.c OBJECT(Debug\stm8l15x_gpio.o) PIN("C:\Program Files\Raisonance\Ride\inc\STM8") PIN("C:\Program Files\Raisonance\Ride\inc\ST7") PIN("C:\Program Files\Raisonance\Ride\inc")  DGC(page0) AUTO WRV(0) PR(Debug\stm8l15x_gpio.lst) CD CO SB  OT(0) DEBUG STM8(SMALL) PIN(..\..\inc) PIN(..\..\..\..\libraries\stm8l15x_stdperiph_driver\inc) " has failed, the returned value is: 2
exit code=2.


Outcomes