----------- Project 2018-10-16-dz0017-09-开窗控制器-三路输出-24v - STM8 Cosmic - Configuration Debug -------------
Removing intermediate files ... Done!
----------- Project 2018-10-16-dz0017-09-开窗控制器-三路输出-24v - STM8 Cosmic - Configuration Debug -------------
Compiling main.c...
cxstm8 +mods0 +debug -pxp -no -pp -l -i"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Hstm8" -clDebug\ -coDebug\ main.c
main.c:
Compiling stm8_interrupt_vector.c...
cxstm8 +mods0 +debug -pxp -no -pp -l -i"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Hstm8" -clDebug\ -coDebug\ stm8_interrupt_vector.c
stm8_interrupt_vector.c:
Running Linker
clnk -m Debug\2018-10-16-dz0017-09-开窗控制器-三路输出-24v.map -l"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Lib" -o Debug\2018-10-16-dz0017-09-开窗控制器-三路输出-24v.sm8 Debug\2018-10-16-dz0017-09-开窗控制器-三路输出-24v.lkf
#error clnk Debug\2018-10-16-dz0017-09-开窗控制器-三路输出-24v.lkf:1 symbol _FLASH_NCR2 not defined ((C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Lib\libm0.sm8)eeprom.o )
The command: "clnk -m Debug\2018-10-16-dz0017-09-开窗控制器-三路输出-24v.map -l"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Lib" -o Debug\2018-10-16-dz0017-09-开窗控制器-三路输出-24v.sm8 Debug\2018-10-16-dz0017-09-开窗控制器-三路输出-24v.lkf " has failed, the returned value is: 1
exit code=1.
2018-10-16-dz0017-09-开窗控制器-三路输出-24v.elf - 2 error(s), 0 warning(s)
STM8L151C8
只有:
/* Flash control register 1 */
DEF_8BIT_REG_AT(FLASH_CR1,0x5050);
/* Flash control register 2 */
DEF_8BIT_REG_AT(FLASH_CR2,0x5051);
/* Flash Program memory unprotection register */
DEF_8BIT_REG_AT(FLASH_PUKR,0x5052);
/* Data EEPROM unprotection register */
DEF_8BIT_REG_AT(FLASH_DUKR,0x5053);
/* Flash in-application programming status register */
DEF_8BIT_REG_AT(FLASH_IAPSR,0x5054);
就没有:FLASH_NCR2
怎么搞?谢谢! |