Library for STM8S devices and the SDCC compiler.
Compile the library
$ make
Copy the content of the example
directory to your project
$ cp example/* ~/me/my-project
Configure the parameters in the Makefile
- STM8SLIB_DIR
- SRC_DIR
- BINARY
- PARTNO
- Low level registers are available in
stm8s.h
to be used like inregister.bit = value;
- UART
- I2C
- MPU6050