为开发板 LOLIN(WeMos) D1 R1 编译时出错,请问这是什么意思呢-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 804|回复: 2

为开发板 LOLIN(WeMos) D1 R1 编译时出错,请问这是什么意思呢

[复制链接]
发表于 2022-2-18 17:44 | 显示全部楼层 |阅读模式
Arduino:1.8.19 (Windows Store 1.8.57.0) (Windows 10), 开发板:"LOLIN(WeMos) D1 R1, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"





















In file included from C:\Users\用户\Documents\Arduino\libraries\IRremote\src\private/IRremoteInt.h:27,

"IRremote.h" 对应多个库

                 from C:\Users\用户\Documents\Arduino\libraries\IRremote\src\IRremote.h:28,

已使用: C:\Users\用户\Documents\Arduino\libraries\IRremote

                 from C:\Users\用户\Documents\Arduino\libraries\IRremote\src\IRremote.cpp:23:

未使用:C:\Users\用户\Documents\Arduino\libraries\Arduino-IRremote-master

C:\Users\用户\Documents\Arduino\libraries\IRremote\src\private/IRremoteBoardDefs.h:354:2: error: #error Board could not be identified from pre-processor symbols. Please extend IRremoteBoardDefs.h.

  354 | #error Board could not be identified from pre-processor symbols. Please extend IRremoteBoardDefs.h.

      |  ^~~~~

C:\Users\用户\Documents\Arduino\libraries\IRremote\src\private/IRremoteBoardDefs.h:912:2: error: #error "Internal code configuration error, no known IR_USE_TIMER* defined\n"

  912 | #error "Internal code configuration error, no known IR_USE_TIMER* defined\n"

      |  ^~~~~

C:\Users\用户\Documents\Arduino\libraries\IRremote\src\IRremote.cpp:27:10: fatal error: avr/interrupt.h: No such file or directory

   27 | #include <avr/interrupt.h>

      |          ^~~~~~~~~~~~~~~~~

compilation terminated.

exit status 1

为开发板 LOLIN(WeMos) D1 R1 编译时出错。



在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。

发表于 2022-2-18 19:39 | 显示全部楼层
AVR版本的IRremote并不适用于ESP8266, 需要下载ESP8266 专用的IRremoteESP
 楼主| 发表于 2022-2-18 20:02 来自手机 | 显示全部楼层
XlinliY.Zhang 发表于 2022-2-18 19:39
AVR版本的IRremote并不适用于ESP8266, 需要下载ESP8266 专用的IRremoteESP

哦,对,谢谢谢谢谢谢。在管理库那里下载irremoteesp
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-12-1 05:45 , Processed in 0.081065 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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