牛卧堂MCU技术交流

标题: M0518 HDMI CEC sample code問題請教 [打印本页]

作者: 匿名    时间: 2023-4-13 01:41
标题: M0518 HDMI CEC sample code問題請教
我參考如下技術文件想要利用M0518當作HDMI CEC的測試治具
https://www.nuvoton.com/resource ... -series/m0518lc2ae/

但遇到幾個問題
1.這文件有#include "cec_ctrl.h" ,但沒有說明cec_ctrl.h這個文件的內容是什麼?
2.我依照以下步驟build檔案,會出現如下錯誤
2-1.我用uVision 開啟M0518_Series_BSP_CMSIS_V3.00.005\SampleCode\Template\Keil\Template.uvprojx
2-2.將技術文件的source code貼到main.c裡面
2-3.將所有副程式移動到int main (void) 上方
2-4 將#include "cec_ctrl.h" 註解掉
2-4.Rebuild
2-5. 出現錯誤如下
   .\obj\template.axf: Error: L6218E: Undefined symbol GPIO_DisableInt (referred from main.o).
   .\obj\template.axf: Error: L6218E: Undefined symbol GPIO_EnableInt (referred from main.o).
   .\obj\template.axf: Error: L6218E: Undefined symbol GPIO_SetMode (referred from main.o).
   Not enough information to list image symbols.
   Not enough information to list load addresses in the image map.
   Finished: 2 information, 0 warning and 3 error messages.
   ".\obj\template.axf" - 3 Error(s), 0 Warning(s).


想請大家幫忙看一下哪邊有錯誤,謝謝,
附檔附上我的main.c

main.zip

5.53 KB, 下载次数: 414

main.c






欢迎光临 牛卧堂MCU技术交流 (http://www.nuvoton-mcu.com/) Powered by Discuz! X3.2