#include "stm8s.h"
void GpioInit()
{
}
main()
{
GpioInit();
while (1);
}
错误
Compiling main.c...
cxstm8 -ic:\users\lyh2064416\desktop\stm8\stm8s007c8\stm8s_stdperiph_lib_v2.1.0\libraries\stm8s_stdperiph_driver\inc +debug -pxp -no -l +mods0 -pp -i"C:\Program Files (x86)\STMicroelectronics\CXSTM8_32K\Hstm8" -clDebug\ -coDebug\ main.c
#error cpstm8 main.c:14(9) missing prototype
main.c:
The command: "cxstm8 -ic:\users\lyh2064416\desktop\stm8\stm8s007c8\stm8s_stdperiph_lib_v2.1.0\libraries\stm8s_stdperiph_driver\inc +debug -pxp -no -l +mods0 -pp -i"C:\Program Files (x86)\STMicroelectronics\CXSTM8_32K\Hstm8" -clDebug\ -coDebug\ main.c " has failed, the returned value is: 1
exit code=1.
lcd1.elf - 2 error(s), 0 warning(s)
|