编译环境:STVD4.1.2 +COSMIC Version: 4.2.8.
报错如下:
#error cpstm8 stm8s_it.h:27 can't open stm8s_lib.h
#error cpstm8 stm8s_it.c:626(9+3) bad struct/union operand
#error cpstm8 stm8s_it.c:629(23) missing prototype
#error cpstm8 stm8s_it.c:629(24+14) TIM4_IT_UPDATE undefined
#error cpstm8 stm8s_it.c:626(2+5) GPIOD undefined
stm8s_it.c:
The command: "cxstm8 +mods0 -pp -i"C:\Program Files\STMicroelectronics\st_toolset\CXSTM8\Hstm8" -clRelease\ -coRelease\ stm8s_it.c" has failed, the returned value is: 1
exit code=1.
project.elf - 7 error(s), 0 warning(s) |