[求助] CH554 GPIO例程警告@沁恒USB单片机

firefly2k   2017-9-5 06:34 楼主
导入最基本的GPIO项目,编译报了好多警告,求解决


*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_PORT1CFG?GPIO
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_PORT3CFG?GPIO
*** WARNING L15: MULTIPLE CALL TO SEGMENT
    SEGMENT: ?PR?PRINTF?PRINTF
    CALLER1: ?PR?GPIOINTERRUPT?GPIO
    CALLER2: ?C_C51STARTUP
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MINITSTDIO
    MODULE:  Main.obj (MAIN)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  _MDELAYMS
    MODULE:  Main.obj (MAIN)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  CFGFSYS
    MODULE:  Main.obj (MAIN)
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  CFGFSYS
    MODULE:  Main.obj (MAIN)
    ADDRESS: 04AFH
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  _MDELAYMS
    MODULE:  Main.obj (MAIN)
    ADDRESS: 04B6H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MINITSTDIO
    MODULE:  Main.obj (MAIN)
    ADDRESS: 04B9H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  _MDELAYMS
    MODULE:  Main.obj (MAIN)
    ADDRESS: 04E0H

回复评论 (2)

前面2个是未调用的警告,没影响;
后面的错误调用了未声明的函数,工程里面包含DEBUG.C就可以了;
这种类似的错误,百度一下解释很详细,建议下次可以直接百度或者直接邮件技术支持 lb@wch.cn


单价1元含税的USB和Touchkey单片机CH551G已大批量出货,试样QQ:1258305301
点赞  2017-9-5 08:54
好的,谢谢!
点赞  2017-9-5 13:10
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复