定义一个全局的@eeprom u8 test;
然后在函数里面执行test = 0x55;
编译器STVD,芯片stm8l152c6t6
编译时出现以下错误
clnk -l"C:\Program Files\COSMIC\CXSTM8_32K\Lib" -o Debug\rtu.sm8 -mDebug\rtu.map Debug\rtu.lkf
#error clnk Debug\rtu.lkf:1 symbol _FLASH_NCR2 not defined ((C:\Program Files\COSMIC\CXSTM8_32K\Lib\libm.sm8)eeprom.o )
The command: "clnk -l"C:\Program Files\COSMIC\CXSTM8_32K\Lib" -o Debug\rtu.sm8 -mDebug\rtu.map Debug\rtu.lkf " has failed, the returned value is: 1
exit code=1. |