在STM8的标准库中做了选择,STM8S003, /* #define STM8S208 */ /*!< STM8S High density devices with CAN */ /* #define STM8S207 */ /*!< STM8S High density devices without CAN */ /* #define STM8S007 */ /*!< STM8S Value Line High density devices */ /* #define STM8AF52Ax */ /*!< STM8A High density devices with CAN */ /* #define STM8AF62Ax */ /*!< STM8A High density devices without CAN */ /* #define STM8S105 */ /*!< STM8S Medium density devices */ /* #define STM8S005 */ /*!< STM8S Value Line Medium density devices */ /* #define STM8AF626x */ /*!< STM8A Medium density devices */ /* #define STM8AF622x */ /*!< STM8A Low density devices */ /* #define STM8S103 */ /*!< STM8S Low density devices */ #define STM8S003 /*!< STM8S Value Line Low density devices */ /* #define STM8S903 */ /*!< STM8S Low density devices */ 编译出现两个错误, Error[Pe513]: a value of type "uint8_t *" cannot be assigned to an entity of type "uint32_t *" D:\work\声眼项目\软件\声眼程序3\Libraries\STM8S_StdPeriph_Driver\src\stm8s_flash.c 624 Error[Pe1578]: case label value has already appeared in this switch at line 180 D:\work\声眼项目\软件\声眼程序3\Libraries\STM8S_StdPeriph_Driver\src\stm8s_itc.c 184 Error[Pe1578]: case label value has already appeared in this switch at line 307 D:\work\声眼项目\软件\声眼程序3\Libraries\STM8S_StdPeriph_Driver\src\stm8s_itc.c 312 请问谁遇到过这类问题,怎么解决的,谢谢 |
STMS005K6T6 如何采集内部参考电压。
stm8s003 adc中断和通道切换的问题
adc施密特触发器stm8
stm8l051f3 TSSOP20 封装,待机模式下,2天后,电流突然增加到140UA
STM8S用STVP烧录怎么加密?
如何使用ST官网例程_LIN总线通讯_STM8AF
STM8 LIN
IAR代码编辑太费劲了,想问一下有没有好的方法,试了VScode但是头文件老是报错,调了很久也没调好,想换个方法了。
想问一下各位大佬,IAR下载调试代码时出现 warning: is an illegal data sample expression IAR是什么意思啊?
STM8S标准库TIM1编码器功能不计数,请大师帮我看看
Error[Pe513]是指针类型不一致,一个是"uint8_t *",另一个是"uint32_t *";
Error[Pe1578]是case值冲突,同一个switch中出现了两个相同的case值,看一下 180和184行,是否相同。
评分
查看全部评分