開發環境STVD 默認芯片STM8S208MB改為STM8S903K3,編譯出錯誤,請高手幫忙。
Compiling mc_fwlib_scalar\src\mc_statemachine.c...
cxstm8 +warn +modsl -x -no +compact +split -pne -ga -oc -ov -pcp +fast -pnc -gna +strict -pp -pnc -pnp -prb -ps -psa -pu -pc99 -v -l -e -i"..\..\stm8 builder\stm8_mc_framework\param" -i"..\..\stm8 builder\mc_fwlib_scalar\param" -i"c:\documents and settings\gdwei.ccg\my documents\stm8 builder\stm8_mc_framework\param" -i"c:\documents and settings\gdwei.ccg\my documents\stm8 builder\mc_fwlib_scalar\param" -istm8_mc_framework\inc -iMC_FWLIB_SCALAR\inc -iMC_FWLIB_SCALAR\param -iSTM8_FWLIB\inc -iSTM8_MC_FRAMEWORK\inc -iSTM8_MC_FRAMEWORK\param -i"C:\Program Files\COSMIC\CXSTM8_32K\Hstm8" -clSTVD_COSMIC_Release\ -coSTVD_COSMIC_Release\ mc_fwlib_scalar\src\mc_statemachine.c
macros compact and fast are exclusive
The command: "cxstm8 +warn +modsl -x -no +compact +split -pne -ga -oc -ov -pcp +fast -pnc -gna +strict -pp -pnc -pnp -prb -ps -psa -pu -pc99 -v -l -e -i"..\..\stm8 builder\stm8_mc_framework\param" -i"..\..\stm8 builder\mc_fwlib_scalar\param" -i"c:\documents and settings\gdwei.ccg\my documents\stm8 builder\stm8_mc_framework\param" -i"c:\documents and settings\gdwei.ccg\my documents\stm8 builder\mc_fwlib_scalar\param" -istm8_mc_framework\inc -iMC_FWLIB_SCALAR\inc -iMC_FWLIB_SCALAR\param -iSTM8_FWLIB\inc -iSTM8_MC_FRAMEWORK\inc -iSTM8_MC_FRAMEWORK\param -i"C:\Program Files\COSMIC\CXSTM8_32K\Hstm8" -clSTVD_COSMIC_Release\ -coSTVD_COSMIC_Release\ mc_fwlib_scalar\src\mc_statemachine.c" has failed, the returned value is: 1
exit code=1.
STM8_STVD_COSMIC_BLDC.elf - 1 error(s), 0 warning(s) |