为开发板 LOLIN(WeMos) D1 R1 编译时出错,请问这是什么意思呢
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 编译时出错。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
AVR版本的IRremote并不适用于ESP8266, 需要下载ESP8266 专用的IRremoteESP XlinliY.Zhang 发表于 2022-2-18 19:39
AVR版本的IRremote并不适用于ESP8266, 需要下载ESP8266 专用的IRremoteESP
哦,对,谢谢谢谢谢谢。在管理库那里下载irremoteesp
页:
[1]