找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 3327|回复: 1
打印 上一主题 下一主题
收起左侧

Target not created怎么解决啊?

[复制链接]
跳转到指定楼层
楼主
ID:493254 发表于 2020-4-1 18:24 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Rebuild target 'Target 1'
compiling mian.c...
.\IIC_OLED\oled.h(17): error C202: 'P2': undefined identifier
.\IIC_OLED\oled.h(18): error C202: 'P2': undefined identifier
UART2.h(31): error C202: 'EA': undefined identifier
UART2.h(37): error C202: 'TMOD': undefined identifier
UART2.h(38): error C202: 'TL1': undefined identifier
UART2.h(39): error C202: 'TH1': undefined identifier
UART2.h(40): error C202: 'TF1': undefined identifier
UART2.h(41): error C202: 'TR1': undefined identifier
UART2.h(42): error C202: 'ET1': undefined identifier
UART2.h(74): error C202: 'TL1': undefined identifier
UART2.h(75): error C202: 'TH1': undefined identifier
UART2.h(78): error C202: 'TR1': undefined identifier
UART2.h(93): error C202: 'TL1': undefined identifier
UART2.h(94): error C202: 'TH1': undefined identifier
UART2.h(95): error C202: 'TR1': undefined identifier
KEY.h(8): error C202: 'P0': undefined identifier
KEY.h(9): error C202: 'P0': undefined identifier
KEY.h(10): error C202: 'P0': undefined identifier
KEY.h(11): error C202: 'P0': undefined identifier
KEY.h(12): error C202: 'P0': undefined identifier
KEY.h(38): error C202: 'KEY1': undefined identifier
KEY.h(42): error C202: 'KEY1': undefined identifier
KEY.h(43): error C202: 'KEY2': undefined identifier
KEY.h(44): error C202: 'KEY3': undefined identifier
KEY.h(45): error C202: 'KEY4': undefined identifier
KEY.h(46): error C202: 'KEY5': undefined identifier
KEY.h(47): error C202: 'KEY1': undefined identifier
compiling oled.c...
IIC_OLED\oled.h(17): error C202: 'P2': undefined identifier
IIC_OLED\oled.h(18): error C202: 'P2': undefined identifier
IIC_OLED\oled.c(37): error C202: 'OLED_SCL': undefined identifier
IIC_OLED\oled.c(38): error C202: 'OLED_SDIN': undefined identifier
IIC_OLED\oled.c(39): error C202: 'OLED_SDIN': undefined identifier
IIC_OLED\oled.c(40): error C202: 'OLED_SCL': undefined identifier
IIC_OLED\oled.c(48): error C202: 'OLED_SCL': undefined identifier
IIC_OLED\oled.c(50): error C202: 'OLED_SDIN': undefined identifier
IIC_OLED\oled.c(51): error C202: 'OLED_SDIN': undefined identifier
IIC_OLED\oled.c(57): error C202: 'OLED_SCL': undefined identifier
IIC_OLED\oled.c(58): error C202: 'OLED_SCL': undefined identifier
IIC_OLED\oled.c(69): error C202: 'OLED_SCL': undefined identifier
IIC_OLED\oled.c(77): error C202: 'OLED_SDIN': undefined identifier
IIC_OLED\oled.c(79): error C202: 'OLED_SDIN': undefined identifier
IIC_OLED\oled.c(81): error C202: 'OLED_SCL': undefined identifier
IIC_OLED\oled.c(82): error C202: 'OLED_SCL': undefined identifier
Target not created
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 顶 踩
回复

使用道具 举报

沙发
ID:452950 发表于 2020-4-2 13:11 | 只看该作者
添加头文件reg52.h
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表