将工程转化为c++后直接报错了
下面是报错提示。
18:36:31 **** Incremental Build of configura
tion obj for project CH573F ****
make -j12 all
c:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: ./StdPeriphDriver/CH57x_sys.o: in function `SYS_ResetExecute':
E:code_projectCH57X_testnew_testCH573Fobj/../StdPeriphDriver/CH57x_sys.c:148: undefined reference to `FLASH_EEPROM_CMD'
c:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: ./StdPeriphDriver/CH57x_sys.o: in function `HardFault_Handler':
E:code_projectCH57X_testnew_testCH573Fobj/../StdPeriphDriver/CH57x_sys.c:282: undefined reference to `FLASH_EEPROM_CMD'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:69: CH573F.elf] Error 1
18:36:32 Build Failed. 5 errors, 0 warnings. (took 378ms)
求指导