Introduction - If you have any usage issues, please Google them yourself
IAR+STM8L151 engineering code:
1, the establishment of STM8 engineering steps in IAR detailed instructions, see the compressed package document "in IAR to establish STM8 engineering steps 2017-8-10 163427.docx";
2. Redirect printf () gechar () to USART3;
3, using STM8L151 standard library file V1.6.1.