mcci-catena / arduino-lorawan

User-friendly library for using arduino-lmic with The Things Network and other LoRaWAN® networks
MIT License
284 stars 54 forks source link

PlatformIO CI fails looking for Adafruit Zero DMA library <Adafruit_ZeroDMA.h> #117

Closed terrillmoore closed 5 years ago

terrillmoore commented 5 years ago

Here's the relevant log. My guess is that the SPI library changed to require this, but dependencies weren't updated.

git version 2.15.1

Cloning into '/home/travis/build/mcci-catena/arduino-lorawan/test_platformio_deps/.pio/libdeps/adafruit_feather_m0/_tmp_installing-N1xWkn-package'...

MCCI Arduino Development Kit ADK @ 08e0c97 has been successfully installed!

Found 11 compatible libraries

Scanning dependencies...

Dependency Graph

|-- <SPI> 1.0

|-- <MCCI Arduino LoRaWAN Library> 0.6.0 #703e776

|   |-- <MCCI LoRaWAN LMIC library> 2.3.2 #457b032

|   |   |-- <SPI> 1.0

|   |-- <MCCI Arduino Development Kit ADK> 0.2.1 #08e0c97

Compiling .pio/build/adafruit_feather_m0/src/main.cpp.o

Compiling .pio/build/adafruit_feather_m0/lib394/SPI/SPI.cpp.o

Compiling .pio/build/adafruit_feather_m0/libb6b/MCCI LoRaWAN LMIC library/aes/ideetron/AES-128_V10.cpp.o

In file included from /home/travis/.platformio/packages/framework-arduinosam/libraries/__cores__/adafruit/SPI/SPI.cpp:20:0:

/home/travis/.platformio/packages/framework-arduinosam/libraries/__cores__/adafruit/SPI/SPI.h:24:10: fatal error: Adafruit_ZeroDMA.h: No such file or directory

**************************************************************************

* Looking for Adafruit_ZeroDMA.h dependency? Check our library registry!

*

* CLI  > platformio lib search "header:Adafruit_ZeroDMA.h"

* Web  > https://platformio.org/lib/search?query=header:Adafruit_ZeroDMA.h

*

**************************************************************************

 #include <Adafruit_ZeroDMA.h>

          ^~~~~~~~~~~~~~~~~~~~

compilation terminated.

*** [.pio/build/adafruit_feather_m0/lib394/SPI/SPI.cpp.o] Error 1

========================== [ERROR] Took 3.64 seconds ==========================

The command "platformio run" exited with 1.