找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[M051] M0518 HDMI CEC sample code問題請教

[复制链接]
跳转到指定楼层
楼主
匿名  发表于 2023-4-13 01:41:00 回帖奖励 |倒序浏览 |阅读模式
我參考如下技術文件想要利用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, 下载次数: 404

main.c

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
回复

使用道具

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU