STM8 library