找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 3656|回復: 1
打印 上一主題 下一主題
收起左側

Target not created怎么解決啊?

[復制鏈接]
跳轉到指定樓層
樓主
ID:493254 發(fā)表于 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空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享淘帖 頂 踩
回復

使用道具 舉報

沙發(fā)
ID:452950 發(fā)表于 2020-4-2 13:11 | 只看該作者
添加頭文件reg52.h
回復

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

手機版|小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術交流QQ群281945664

Powered by 單片機教程網

快速回復 返回頂部 返回列表