kike-canaries / canairio_firmware

CanAirIO is a citizen science initiative. We are developing a mobile application that is able to set a PM2.5 or CO2 sensors, and other related sensors, as a fixed station using WiFi or mobile station with an smartphone by using a Bluetooth connection.
https://canair.io
GNU General Public License v3.0
104 stars 23 forks source link

lora32 PR is broken on other flavors #261

Open hpsaturn opened 11 months ago

hpsaturn commented 11 months ago

Overview

The current lora32-v1 branch is broken for the different flavors that we have

Debug output


Compiling .pio/build/TTGO_TDISPLAY/lib80a/EEPROM/EEPROM.cpp.o
In file included from src/main.cpp:18:
lib/lorawan/lorawan.h:6:10: fatal error: lmic.h: No such file or directory

**************************************************************
* Looking for lmic.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:lmic.h"
* Web  > https://registry.platformio.org/search?q=header:lmic.h
*
**************************************************************

 #include <lmic.h>
          ^~~~~~~~
compilation terminated.
Compiling .pio/build/TTGO_TDISPLAY/lib6da/WiFi/WiFi.cpp.o
*** [.pio/build/TTGO_TDISPLAY/src/main.cpp.o] Error 1
============================================================================== [FAILED] Took 5.86 seconds ==============================================================================

Environment    Status    Duration
-------------  --------  ------------
TTGO_TDISPLAY  FAILED    00:00:05.860
========================================================================= 1 failed, 0 succeeded in 00:00:05.860