在使用 IAR FOR STM8 编译器时,对DEMO程序稍作改动就出现101个错误。
Error[Pe007]: unrecognized token F:\Program Files\IAR Systems\Embedded Workbench 7.3\stm8\examples\STM8L\STM8L152C6-Board\Project\Demo\src\main.c 1
Error[Pe077]: this declaration has no storage class or type specifier F:\Program Files\IAR Systems\Embedded Workbench 7.3\stm8\examples\STM8L\STM8L152C6-Board\Project\Demo\src\main.c 1
Error[Pe065]: expected a ";" F:\Program Files\IAR Systems\Embedded Workbench 7.3\stm8\examples\STM8L\STM8L152C6-Board\Project\Demo\src\main.c 1
Error[Pe010]: "#" not expected here F:\Program Files\IAR Systems\Embedded Workbench 7.3\stm8\examples\STM8L\STM8L152C6-Board\Project\Demo\src\main.c 1
Error[Pe861]: invalid character in input line F:\Program Files\IAR Systems\Embedded Workbench 7.3\stm8\examples\STM8L\STM8L152C6-Board\Project\Demo\src\main.c 1