Closed kurtjcu closed 6 years ago
This library does not support ESP chips.
If anyone from the ESP community is willing to add the code and submit a pull request, I would be happy to merge (of course, if it doesn't mess with the non-ESP code...)
unfortunately it is listed as being compatible on the platformio library browser. :(
That's not my doing. Please report this to the PlatformIO folks.
Description
Describe your problem. unable to compile using VSCode, Platform.io, for a wemos D1 (esp8266 based).
".piolibdeps\DmxSimple_ID898\DmxSimple.cpp:7:20: fatal error: avr/io.h: No such file or directory"
Steps To Reproduce Problem
added header file to a project after installing the library via pio lib install
Hardware & Software
Board Wemos D1 Mini Shields / modules used none Arduino IDE version VSCode using platform.io Teensyduino version (if using Teensy) //na Version info & package name (from Tools > Boards > Board Manager) Operating system & version Win10 Any other software or hardware?
Arduino Sketch
Errors or Incorrect Output
''' [06/12/18 15:31:50] Processing d1_mini (platform: espressif8266; board: d1_mini; framework: arduino)
Verbose mode can be enabled via v1.0
|-- v3.1
Archiving .pioenvs\d1_mini\lib99e\libESP8266WiFi.a
Compiling .pioenvs\d1_mini\liba6d\DmxSimple_ID898\DmxSimple.cpp.o
Compiling .pioenvs\d1_mini\FrameworkArduino\Esp-version.cpp.o
Compiling .pioenvs\d1_mini\FrameworkArduino\Esp.cpp.o
.piolibdeps\DmxSimple_ID898\DmxSimple.cpp:7:20: fatal error: avr/io.h: No such file or directory
-v, --verbose
option PLATFORM: Espressif 8266 > WeMos D1 R2 & mini SYSTEM: ESP8266 80MHz 80KB RAM (4MB Flash) Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF MODES: FINDER(chain) COMPATIBILITY(soft) Collected 31 compatible libraries Scanning dependencies... Dependency Graph |--include <avr/io.h>
^ compilation terminated. Compiling .pioenvs\d1_mini\FrameworkArduino\FS.cpp.o Compiling .pioenvs\d1_mini\FrameworkArduino\FunctionalInterrupt.cpp.o Compiling .pioenvs\d1_mini\FrameworkArduino\HardwareSerial.cpp.o Compiling .pioenvs\d1_mini\FrameworkArduino\IPAddress.cpp.o *** [.pioenvs\d1_mini\liba6d\DmxSimple_ID898\DmxSimple.cpp.o] Error 1 ===================================================================================== [ERROR] Took 2.30 seconds ===================================================================================== The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it. '''