2018-09-22 02:36 AM
Hello, im quite new to the stm world. Recently i got into a project where i might need alot of mcu's doing basic stuff. After a little searching i found that stm8 mcu's are very cheap. I already got a STM8S103F3P6 and a st-link and so i tried to follow a few tutorial on the internet. I've downloaded stvd and the cosmic compiler and after a few hours of trying it out, i haven't had any great result. This might be because im more of a java programmer or cause im used to arduino but whatever.
So i got a few questions:
-So im using stvd and cosmic but is the best tools i could use or is there something better for me?
-One of the things that confused me alot is that in the tutorials they got a delay.c and delay.h wich i never got from cosmic. Do you gotta get this yourself or does cosmic have it ?
And any tips would be great :)
If there is already a page about this im sorry, i was not able to find it.
2018-09-23 07:40 AM
What is the best tool probably depends on you, and what you want to do, and in which environment. There is a comparison of C compilers for the STM8 that might be useful (http://www.colecovision.eu/stm8/), but it really only compares the compilers, ignoring other aspects, in particular the IDE.
If you are used to arduino, you might be interested in the sduino, an arduino, like library for the STM8 (https://tenbaht.github.io/sduino/). Since I don't have an arduino background, I haven't use it myself.
Philipp