對照例程移植FreeRTOS,將例程中的目錄復(fù)制到對應(yīng)的位置,并添加了相應(yīng)的路徑,編譯時出現(xiàn)以下錯誤,不知道哪里沒有設(shè)置正確。
make -j20 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: ./FreeRTOS/portable/GCC/RISC-V/port.o:D:\開發(fā)\3-CH32V307\TcpClient\obj/../FreeRTOS/portable/GCC/RISC-V/port.c:80: undefined reference to `__freertos_irq_stack_top'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:59: TcpClient.elf] Error 1