Processing mayfly (board: mayfly; platform: atmelavr; framework: arduino) --------------------------------------------------------------------------------------- Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/mayfly.html PLATFORM: Atmel AVR 2.0.0 > EnviroDIY Mayfly HARDWARE: ATMEGA1284P 8MHz, 16KB RAM, 127KB Flash PACKAGES: - framework-arduino-avr 5.0.0 - toolchain-atmelavr 1.50400.190710 (5.4.0) LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF Modes: Finder ~ deep+, Compatibility ~ soft Warning! Ignoring broken library manifest in C:\Users\Josh Biddle\.platformio\lib\Libraries Found 27 compatible libraries Scanning dependencies... Dependency Graph |-- 0.23.16 | |-- 1.3.2 | | |-- 1.0 | |-- 1.1.0 | |-- 1.1.0 | | |-- 1.0 | |-- 1.2.0 #7d67b45 | | |-- 1.0 | |-- 2.0.0 | | |-- 1.0 | |-- 1.0.10 | | |-- 1.0.3 | | |-- 1.0 | | |-- 1.0 | |-- 1.3.7 | | |-- 1.0.3 | |-- 1.0.5 | | |-- 1.0 | |-- 1.1.0 | | |-- 1.0 | |-- 1.0.3 | |-- 3.8.0 | | |-- 2.3.5 | |-- 2.3.5 | |-- 1.3.6 | |-- 0.2.1 | | |-- 0.6.8 | |-- 0.1.2 | | |-- 1.0 | |-- 2.7 | |-- 0.6.8 | |-- 0.10.0 #0efe729 | |-- 0.2.1 | | |-- 0.6.8 | |-- 1.0 | |-- 1.0 |-- 1.1.0 |-- 1.3.2 | |-- 1.0 |-- 1.1.0 | |-- 1.0 |-- 1.0 |-- 0.10.0 #0efe729 |-- 1.3.6 Building in release mode Compiling .pio\build\mayfly\src\main.cpp.o Compiling .pio\build\mayfly\lib4de\EnviroDIY_ModularSensors_ID1648\modems\DigiXBee.cpp.o Compiling .pio\build\mayfly\lib4de\EnviroDIY_ModularSensors_ID1648\modems\DigiXBee3GBypass.cpp.o Compiling .pio\build\mayfly\lib4de\EnviroDIY_ModularSensors_ID1648\modems\DigiXBeeCellularTransparent.cpp.o Compiling .pio\build\mayfly\lib4de\EnviroDIY_ModularSensors_ID1648\modems\DigiXBeeLTEBypass.cpp.o Compiling .pio\build\mayfly\lib4de\EnviroDIY_ModularSensors_ID1648\modems\DigiXBeeWifi.cpp.o Compiling .pio\build\mayfly\lib4de\EnviroDIY_ModularSensors_ID1648\modems\EspressifESP8266.cpp.o Compiling .pio\build\mayfly\lib4de\EnviroDIY_ModularSensors_ID1648\modems\QuectelBG96.cpp.o Compiling .pio\build\mayfly\lib4de\EnviroDIY_ModularSensors_ID1648\modems\SIMComSIM7000.cpp.o Compiling .pio\build\mayfly\lib4de\EnviroDIY_ModularSensors_ID1648\modems\SIMComSIM800.cpp.o Compiling .pio\build\mayfly\lib4de\EnviroDIY_ModularSensors_ID1648\modems\SequansMonarch.cpp.o src\main.cpp:242:5: error: expected initializer before 'Serial' Compiling .pio\build\mayfly\lib4de\EnviroDIY_ModularSensors_ID1648\modems\Sodaq2GBeeR6.cpp.o Serial.begin(serialBaud); ^ src\main.cpp:245:5: error: 'Serial' does not name a type Serial.print(F("Now running ")); ^ In file included from C:\Users\Josh Biddle\.platformio\packages\framework-arduino-avr\cores\arduino/Arduino.h:28:0, from src\main.cpp:31: C:\Users\Josh Biddle\.platformio\packages\framework-arduino-avr\cores\arduino/WString.h:38:74: error: expected unqualified-id before ')' token #define F(string_literal) (reinterpret_cast(PSTR(string_literal))) ^ src\main.cpp:245:18: note: in expansion of macro 'F' Serial.print(F("Now running ")); ^ src\main.cpp:246:5: error: 'Serial' does not name a type Serial.print(sketchName); ^ src\main.cpp:247:5: error: 'Serial' does not name a type Serial.print(F(" on Logger ")); ^ In file included from C:\Users\Josh Biddle\.platformio\packages\framework-arduino-avr\cores\arduino/Arduino.h:28:0, from src\main.cpp:31: C:\Users\Josh Biddle\.platformio\packages\framework-arduino-avr\cores\arduino/WString.h:38:74: error: expected unqualified-id before ')' token #define F(string_literal) (reinterpret_cast(PSTR(string_literal))) ^ src\main.cpp:247:18: note: in expansion of macro 'F' Serial.print(F(" on Logger ")); ^ src\main.cpp:248:5: error: 'Serial' does not name a type Serial.println(LoggerID); ^ src\main.cpp:249:5: error: 'Serial' does not name a type Serial.println(); ^ src\main.cpp:251:5: error: 'Serial' does not name a type Serial.print(F("Using ModularSensors Library version ")); ^ In file included from C:\Users\Josh Biddle\.platformio\packages\framework-arduino-avr\cores\arduino/Arduino.h:28:0, from src\main.cpp:31: C:\Users\Josh Biddle\.platformio\packages\framework-arduino-avr\cores\arduino/WString.h:38:74: error: expected unqualified-id before ')' token #define F(string_literal) (reinterpret_cast(PSTR(string_literal))) ^ src\main.cpp:251:18: note: in expansion of macro 'F' Serial.print(F("Using ModularSensors Library version ")); ^ src\main.cpp:252:5: error: 'Serial' does not name a type Serial.println(MODULAR_SENSORS_VERSION); ^ src\main.cpp:254:5: error: expected unqualified-id before 'if' if (String(MODULAR_SENSORS_VERSION) != String(libraryVersion)) ^ In file included from C:\Users\Josh Biddle\.platformio\packages\framework-arduino-avr\cores\arduino/Arduino.h:28:0, from src\main.cpp:31: C:\Users\Josh Biddle\.platformio\packages\framework-arduino-avr\cores\arduino/WString.h:38:74: error: expected unqualified-id before ')' token #define F(string_literal) (reinterpret_cast(PSTR(string_literal))) ^ src\main.cpp:255:24: note: in expansion of macro 'F' Serial.println(F( ^ src\main.cpp:259:5: error: 'modemSerial' does not name a type modemSerial.begin(modemBaud); ^ src\main.cpp:262:12: error: expected constructor, destructor, or type conversion before '(' token pinMode(greenLED, OUTPUT); ^ src\main.cpp:263:17: error: expected constructor, destructor, or type conversion before '(' token digitalWrite(greenLED, LOW); ^ src\main.cpp:264:12: error: expected constructor, destructor, or type conversion before '(' token pinMode(redLED, OUTPUT); ^ src\main.cpp:265:17: error: expected constructor, destructor, or type conversion before '(' token digitalWrite(redLED, LOW); ^ src\main.cpp:267:20: error: expected constructor, destructor, or type conversion before ';' token greenredflash(); ^ src\main.cpp:271:30: error: expected constructor, destructor, or type conversion before '(' token Logger::setLoggerTimeZone(timeZone); ^ src\main.cpp:273:27: error: expected constructor, destructor, or type conversion before '(' token Logger::setRTCTimeZone(0); ^ src\main.cpp:276:5: error: 'dataLogger' does not name a type dataLogger.attachModem(modem); ^ src\main.cpp:277:5: error: 'modem' does not name a type modem.setModemLED(modemLEDPin); ^ src\main.cpp:278:5: error: 'dataLogger' does not name a type dataLogger.setLoggerPins(wakePin, sdCardSSPin, sdCardPwrPin, buttonPin, greenLED); ^ src\main.cpp:281:5: error: 'dataLogger' does not name a type dataLogger.begin(); ^ src\main.cpp:285:5: error: expected unqualified-id before 'if' if (getBatteryVoltage() > 3.55 || !dataLogger.isRTCSane()) ^ *** [.pio\build\mayfly\src\main.cpp.o] Error 1 ============================= [FAILED] Took 5.60 seconds ============================= The terminal process terminated with exit code: 1