STM8 Series of microcontrollers, the 8-bit series of STMicroelectronics, are cheap but powerful micros which provide a good value and performance to your simple projects. The problem is, these series are not geared toward hobby market. While there are fantastic tools like STM32CubeMX software pack and the HAL library which allows anyone with a bit of coding experience takes advantage of STM32 microcontrollers, the STM8 series is left for professionals only. But this can be changed! In this series of tutorials you will learn how to start from zero, and start programming for these micros with only the datasheet and programming manuals. This should also help you to understand better how a microcontroller works.
In this part we will see how to implement a delay function, how to use gnu-make and a bit more!