write by zhdzhd-174422
开发环境:
IAR for STM8 V3.10.4(本文以它为主)
STVD-STM8
Cosmic C
IAR for STM8 V3.10的下载链接:https://netstorage.iar.com/SuppDB/Protected/PRODUPD/012818/EWSTM8-3104-Autorun.exe
官方的STM8S库文件下载链接:https://my.st.com/content/my_st_com/en/products/embedded-software/mcus-embedded-software/stm8-embedded-software/stsw-stm8069.html