导入最基本的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个是未调用的警告,没影响;
后面的错误调用了未声明的函数,工程里面包含DEBUG.C就可以了;
这种类似的错误,百度一下解释很详细,建议下次可以直接百度或者直接邮件技术支持 lb@wch.cn。
单价1元含税的USB和Touchkey单片机CH551G已大批量出货,试样QQ:1258305301