CH58X編譯錯(cuò)誤

CH58X的EVT中的BackupUpgrade_OTA里把HAL_LED設(shè)為TRUE,編譯的時(shí)候會(huì)出現(xiàn)如下錯(cuò)誤,請(qǐng)問如何解決。謝謝!

make -j4 all?

Memory region? ? ? ? ?Used Size? Region Size? %age Used

c:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: ./HAL/MCU.o: in function `HAL_ProcessEvent':

? ? ? ? ? ?FLASH:? ? ? 153040 B? ? ? ?216 KB? ? ?69.19%

D:/Users/EVT/EXAM/BLE/HAL/MCU.c:199: undefined reference to `HalLedUpdate'

? ? ? ? ? ? ?RAM:? ? ? ?18484 B? ? ? ? 32 KB? ? ?56.41%

c:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: ./HAL/MCU.o: in function `HAL_Init':

D:/Users/EVT/EXAM/BLE/HAL/MCU.c:215: undefined reference to `HAL_LedInit'

collect2.exe: error: ld returned 1 exit status

make: *** [makefile:56: BackupUpgrade_OTA.elf] Error 1


11:30:10 Build Failed. 5 errors, 0 warnings. (took 1s.500ms)



熱門產(chǎn)品 : USB3.0 HUB控制器:CH634

例程中LED.c是默認(rèn)沒有參與編譯的,右擊選擇參與編譯即可。

可參考此鏈接:https://www.cnblogs.com/risc5-ble/p/15989143.html

emobile_2023-02-10_11-43-16.png


好了。謝謝!


只有登錄才能回復(fù),可以選擇微信賬號(hào)登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频