情况同你一样,终于找到原因
/* Uncomment the line below according to the target STM8S device used in your
application.
Tip: To avoid modifying this file each time you need to switch between these
devices, you can define the device in your toolchain compiler preprocessor. */
#if !defined (STM8S208) && !defined (STM8S207) && !defined (STM8S105) && !defined (STM8S103) && !defined (STM8S903)
//#define STM8S208
/* #define STM8S207 */
#define STM8S105
/* #define STM8S103 */
/* #define STM8S903 */
#endif
在stm8s.h里!
详情回复
发表于 2010-6-12 15:41
情况同你一样,终于找到原因
/* Uncomment the line below according to the target STM8S device used in your
application.
Tip: To avoid modifying this file each time you need to switch between these
devices, you can define the device in your toolchain compiler preprocessor. */
#if !defined (STM8S208) && !defined (STM8S207) && !defined (STM8S105) && !defined (STM8S103) && !defined (STM8S903)
//#define STM8S208
/* #define STM8S207 */
#define STM8S105
/* #define STM8S103 */
/* #define STM8S903 */
#endif