2021-09-16 10:25 AM
hi,
I installed STVD and Cosmic C mopiler.
I downloaded SPL from ST website.
created first project.
installed SPL soruce files and include files.
I will uncomment line #define STM8S003 (line49) but compiler gives error.
"Please select first the target STM8S/A device used in your application (in stm8s.h file)"
I exactly try to do this ( selecting the target)
Dıd i missed any step previously ?
why i receive this error.
i follow attached document step by step.
2021-09-16 01:29 PM
Not sure anyone is going to wade through all this trying to guess what's wrong. The document's author might have a better understanding of what was written, and what might have changed in subsequent years.
Better that you ZIP up YOUR project as you're created it, so someone can look critically a what's broken or missing.
Likely a typo, or missing/incorrect Include Path
2021-09-16 11:01 PM
Thanks for your suggestions.
I am attaching my first demo to this message.
However, i noticed another key point may be relating with this problem.
When I want to save my project I receive an error:
"Access to C:\.........\stm8s.h was denied"
So I understand that my project can not access to stm8s.h although I loaded loaded all SPL components ( *.h and *.c files)
2021-09-16 11:02 PM