你好@WCHTech2 ,我才用沁恒的CH582官方提供的例程,利用其中UART的工程进行修改,主要添加了定时器0的配置,然后出现
02:43:20 **** Incremental Build of configuration obj for project UART1 ****
make -j12 all
Memory region Used Size Region Size %age Used
f:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: ./StdPeriphDriver/QS_100.o: in function `UART1_Init':
有中文.c:34: undefined reference to `TMR0_TimerInit'
collect2.exe: error: ld returned 1 exit status
FLASH: 11968 B 448 KB 2.61%
RAM: 3744 B 32 KB 11.43%
make: *** [makefile:54: UART1.elf] Error 1
02:43:21 Build Failed. 3 errors, 0 warnings. (took 445ms)
请问这是什么问题啊?是哪里配置不对吗?
|