Skip to main content
Visitor II
December 29, 2020
Question

Not able to compile code in STVD

  • December 29, 2020
  • 2 replies
  • 507 views

when I compile the code for a simple GPIO toggle, it shows an error like this0693W000006H8G5QAK.pngCan't understand what is the issue, I have included all the inc and source files into the project from the Standard peripheral library and the Cosmic compiler is also successfully installed.

Any valuable suggestions or guidance will be greatfull.

error like this....

    This topic has been closed for replies.

    2 replies

    Graduate II
    December 31, 2020

    Do one of these steps:

    a) go to smt8s.h and uncomment selected STM8 family (its written in that file !) or...

    b) add preprocessor definition coresponding to selected STM8 family to your compiler settings...

    KGupt.1Author
    Visitor II
    January 11, 2021

    Thanks for this , it works