复制的是IAR中examples下的STM8S208固件库,我自己用的是STM8S005K6,用到UART2串口就提示UART2未定义,可看stm8s.h下并没用STM8S005K6啊,各位用什么好的解决办法吗??谢谢!!
#if !defined (STM8S208) && !defined (STM8S207) && !defined (STM8S105) && !defined (STM8S103) && !defined (STM8S903)
#define STM8S208
/* #define STM8S207 */
/* #define STM8S105 */
/* #define STM8S103 */
/* #define STM8S903 */
#endif |