Occasional Error compiling for board Seeeduino XIAO

Hi,

I am having occasional issues compiling to a Seeeduino XIAO. Some programs compile just fine but many (that I have assembled) are not. I am attaching a portion of the sketch that fails to compile and verbose error codes in the hopes that some Pro from Dover will point out my errors.

This is not the same issue as having to reset the tabs in order to allow communication. It is, apparently, something I have injected or dueling support files.

Respectfully - Baran

float pressLength_milliSeconds = 0;  
int hi = 0;             
int xPos = 0;           
int counter = 0;        .
int level;             
int resetButton = 6;   
int BenDangle = 0;     
int BenDongle = 0;    
int val = 0;           
int newAngle;          
int x;                  
int y;                 
#include "I2Cdev.h"
#include "MPU6050_6Axis_MotionApps20.h"
#include "Wire.h"
#include "Seeed_BME280.h"
BME280 bme280;
MPU6050 mpu;

#include <Adafruit_GFX.h>                     // Calls up the OLED graphics folder.
#include <Adafruit_SSD1306.h>                 // Calls up the OLED display folder.
#define OUTPUT_READABLE_YAWPITCHROLL          // Holds the angular information.
#define INTERRUPT_PIN 7
#define SEALEVELPRESSURE_HPA (1013.25)
#define DEBUG
#ifdef DEBUG
//#define DPRINT(args...)  Serial.print(args)             //OR use the following syntax:
#define DPRINTSTIMER(t)    for (static unsigned long SpamTimer; (unsigned long)(millis() - SpamTimer) >= (t); SpamTimer = millis())
#define  DPRINTSFN(StrSize,Name,...) {char S[StrSize];Serial.print("\t");Serial.print(Name);Serial.print(" "); Serial.print(dtostrf((float)__VA_ARGS__ ,S));}//StringSize,Name,Variable,Spaces,Percision
#define DPRINTLN(...)      Serial.println(__VA_ARGS__)
#else
#define DPRINTSTIMER(t)    if(false)
#define DPRINTSFN(...)     //blank line
#define DPRINTLN(...)      //blank line
#endif
#define interruptPin 6
#define LED_PIN 13 // 

// gyro offsets here, scaled for min sensitivity: used MPU6050_calibration.ino
//                     XA    YA    ZA    XG    YG    ZG

int MPUOffsets[6] = {-4563, 1649, 1339, -13, 34, 58};// Test Board 9255


// ===                      i2c SETUP Items            


void i2cSetup() {
#if I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE
  Wire.begin();
#elif I2CDEV_IMPLEMENTATION == I2CDEV_BUILTIN_FASTWIRE
  Fastwire::setup(400, true);
#endif
}


// ===               INTERRUPT DETECTION ROUTINE         

volatile bool mpuInterrupt = false;     // indicates whether MPU interrupt pin has gone high
void dmpDataReady() {
  mpuInterrupt = true;
}


// ===                      MPU DMP SETUP                  

int FifoAlive = 0; 
int IsAlive = -20;  

// MPU control/status vars
uint8_t mpuIntStatus;   // holds actual interrupt status byte from MPU
uint8_t devStatus;      // return status after each device operation (0 = success, !0 = error)
uint16_t packetSize;    // expected DMP packet size (default is 42 bytes)
uint16_t fifoCount;     // count of all bytes currently in FIFO
uint8_t fifoBuffer[64]; // FIFO storage buffer

// orientation/motion vars
Quaternion q;           // [w, x, y, z]         quaternion container
VectorInt16 aa;         // [x, y, z]            accel sensor measurements
VectorInt16 aaReal;     // [x, y, z]      gravity-free accel sensor measurements
VectorInt16 aaWorld;    // [x, y, z]    world-frame accel sensor measurements
VectorFloat gravity;    // [x, y, z]            gravity vector
float euler[3];         // [psi, theta, phi]    Euler angle container
float ypr[3];           // [yaw, pitch, roll]   yaw/pitch/roll container and gravity vector
byte StartUP = 100; 

void MPU6050Connect() {
  static int MPUInitCntr = 0;
  // initialize device
  mpu.initialize(); // same
  // load and configure the DMP
  devStatus = mpu.dmpInitialize();// same

  if (devStatus != 0) {
    // ERROR!
    // 1 = initial memory load failed
    // 2 = DMP configuration updates failed
    // (if it's going to break, usually the code will be 1)

    char * StatStr[5] { "No Error", "initial memory load failed", "DMP configuration updates failed", "3", "4"};

    MPUInitCntr++;

    Serial.print(F("MPU connection Try #"));
    Serial.println(MPUInitCntr);
    Serial.print(F("DMP Initialization failed (code "));
    Serial.print(StatStr[devStatus]);
    Serial.println(F(")"));

    if (MPUInitCntr >= 10) return; 
    delay(1000);
    MPU6050Connect(); // Lets try again
    return;
  }
  mpu.setXAccelOffset(MPUOffsets[0]);
  mpu.setYAccelOffset(MPUOffsets[1]);
  mpu.setZAccelOffset(MPUOffsets[2]);
  mpu.setXGyroOffset(MPUOffsets[3]);
  mpu.setYGyroOffset(MPUOffsets[4]);
  mpu.setZGyroOffset(MPUOffsets[5]);

  Serial.println(F("Enabling DMP..."));
  mpu.setDMPEnabled(true);
  Serial.println(F("Enabling interrupt detection (Arduino external interrupt pin 2 on the Uno)..."));
  Serial.print("mpu.getInterruptDrive=  "); Serial.println(mpu.getInterruptDrive());
  attachInterrupt(digitalPinToInterrupt(interruptPin), dmpDataReady, RISING);
  mpuIntStatus = mpu.getIntStatus();
  packetSize = mpu.dmpGetFIFOPacketSize();
  delay(1000); // Let it Stabalize
  mpu.resetFIFO(); // Clear fifo buffer
  mpu.getIntStatus();
  mpuInterrupt = false; 
}


// ===           MPU DMP Get Data 

void GetDMP() {
  // Serial.println(F("FIFO interrupt at:"));
  // Serial.println(micros());
  static unsigned long LastGoodPacketTime;
  mpuInterrupt = false;
  FifoAlive = 1;
  fifoCount = mpu.getFIFOCount();
  if ((!fifoCount) || (fifoCount % packetSize)) {
    digitalWrite(LED_PIN, LOW);
    mpu.resetFIFO();
  } else {
    while (fifoCount  >= packetSize) { 
      mpu.getFIFOBytes(fifoBuffer, packetSize); 
      fifoCount -= packetSize;
    }
    LastGoodPacketTime = millis();
    MPUMath(); 
    digitalWrite(LED_PIN, !digitalRead(LED_PIN)); 
  }
}

// ===              MPU Math 

float Yaw, Pitch, Roll;
void MPUMath() {
  mpu.dmpGetQuaternion(&q, fifoBuffer);
  mpu.dmpGetGravity(&gravity, &q);
  mpu.dmpGetYawPitchRoll(ypr, &q, &gravity);
  Yaw = (ypr[0] * 180.0 / M_PI);
  Pitch = (ypr[1] *  180.0 / M_PI);
  Roll = (ypr[2] *  180.0 / M_PI);
  Roll = -Roll; 
}

// ===        MPU DMP Get Data 1 

void GetDMP1() { 
  // Serial.println(F("FIFO interrupt at:"));
  // Serial.println(micros());
  static unsigned long LastGoodPacketTime;
  mpuInterrupt = false;
  FifoAlive = 1;
  fifoCount = mpu.getFIFOCount();
  if ((!fifoCount) || (fifoCount % packetSize)) { 
    digitalWrite(LED_PIN, LOW); 
    mpu.resetFIFO();  } else {
    while (fifoCount  >= packetSize) { 
      mpu.getFIFOBytes(fifoBuffer, packetSize); 
      fifoCount -= packetSize;
    }
    LastGoodPacketTime = millis();
    MPUMath1(); 
    digitalWrite(LED_PIN, !digitalRead(LED_PIN));
  }
}

// ===          MPU Math 1

void MPUMath1() {
  mpu.dmpGetQuaternion(&q, fifoBuffer);
  mpu.dmpGetGravity(&gravity, &q);
  mpu.dmpGetYawPitchRoll(ypr, &q, &gravity);
  Roll = (ypr[2] *  180.0 / M_PI);
  Roll = -Roll;
  y = round(Roll);

 if (y>90)
  {
val = y-360;}
  else{val=y;}
   }

// ===        MPU DMP Get Data  

void GetDMP2() {
  // Serial.println(F("FIFO interrupt at:"));
  // Serial.println(micros());
  static unsigned long LastGoodPacketTime;
  mpuInterrupt = false;
  FifoAlive = 1;
  fifoCount = mpu.getFIFOCount();
  if ((!fifoCount) || (fifoCount % packetSize)) { 
    digitalWrite(LED_PIN, LOW);
    mpu.resetFIFO();
  }
 else
 {
    while (fifoCount  >= packetSize) { 
      mpu.getFIFOBytes(fifoBuffer, packetSize); 
      fifoCount -= packetSize;
    }
    LastGoodPacketTime = millis();
    MPUMath2(); 
    digitalWrite(LED_PIN, !digitalRead(LED_PIN));
  }
}

// ===           MPU Math               ===


void MPUMath2() {
  mpu.dmpGetQuaternion(&q, fifoBuffer);
  mpu.dmpGetGravity(&gravity, &q);
  mpu.dmpGetYawPitchRoll(ypr, &q, &gravity);
  Pitch = (ypr[1] *  180.0 / M_PI);
  counter = round(Pitch);
}


void setup() {
  
  Serial.begin(115200); //115200
  i2cSetup();
  MPU6050Connect();
  pinMode(LED_PIN, OUTPUT);
   if (!bme280.init()) {Serial.println("Device error!");}
  pinMode(resetButton, INPUT_PULLUP);   

}
           FOLLOWING IS THE VERBOSE COMPILATION DATA RECORD

Arduino: 1.8.15 (Windows 10), Board: "Seeeduino XIAO, Arduino, On"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Baran\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Baran\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Baran\sketchbook\libraries -fqbn=Seeeduino:samd:seeed_XIAO_m0:usbstack=arduino,debug=on -ide-version=10815 -build-path C:\Users\Baran\AppData\Local\Temp\arduino_build_34347 -warnings=none -build-cache C:\Users\Baran\AppData\Local\Temp\arduino_cache_29700 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:\Users\Baran\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\Baran\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.bossac.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\bossac\1.8.0-48-gb176eee -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1 -prefs=runtime.tools.CMSIS-Atmel-1.2.1.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.CMSIS.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0 -verbose C:\Users\Baran\sketchbook\SuperFinalBB\SuperFinalBB.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Baran\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Baran\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Baran\sketchbook\libraries -fqbn=Seeeduino:samd:seeed_XIAO_m0:usbstack=arduino,debug=on -ide-version=10815 -build-path C:\Users\Baran\AppData\Local\Temp\arduino_build_34347 -warnings=none -build-cache C:\Users\Baran\AppData\Local\Temp\arduino_cache_29700 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:\Users\Baran\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\Baran\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.bossac.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.bossac-1.8.0-48-gb176eee.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\bossac\1.8.0-48-gb176eee -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1 -prefs=runtime.tools.CMSIS-Atmel-1.2.1.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.CMSIS.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0 -verbose C:\Users\Baran\sketchbook\SuperFinalBB\SuperFinalBB.ino

Using board 'seeed_XIAO_m0' from platform in folder: C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2

Using core 'arduino' from platform in folder: C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2

Detecting libraries used...

"C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__="""SuperFinalBB.ino"""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -g -DDEBUG=1 -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/Core/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\variants\XIAO_m0" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\sketch\SuperFinalBB.ino.cpp" -o nul

Alternatives for I2Cdev.h: [Seeed_Arduino_IMU10DOF-master MPU6050@0.3.0 I2Cdev]

ResolveLibrary(I2Cdev.h)

-> candidates: [Seeed_Arduino_IMU10DOF-master MPU6050@0.3.0 I2Cdev]

"C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__="""SuperFinalBB.ino"""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -g -DDEBUG=1 -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/Core/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\variants\XIAO_m0" "-IC:\Users\Baran\sketchbook\libraries\I2Cdev" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\sketch\SuperFinalBB.ino.cpp" -o nul

Alternatives for Wire.h: [Wire@1.0]

ResolveLibrary(Wire.h)

-> candidates: [Wire@1.0]

"C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__="""SuperFinalBB.ino"""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -g -DDEBUG=1 -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/Core/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\variants\XIAO_m0" "-IC:\Users\Baran\sketchbook\libraries\I2Cdev" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Wire" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\sketch\SuperFinalBB.ino.cpp" -o nul

Alternatives for MPU6050_6Axis_MotionApps20.h: [MPU6050@0.3.0]

ResolveLibrary(MPU6050_6Axis_MotionApps20.h)

-> candidates: [MPU6050@0.3.0]

"C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__="""SuperFinalBB.ino"""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -g -DDEBUG=1 -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/Core/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\variants\XIAO_m0" "-IC:\Users\Baran\sketchbook\libraries\I2Cdev" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Wire" "-IC:\Users\Baran\sketchbook\libraries\MPU6050\src" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\sketch\SuperFinalBB.ino.cpp" -o nul

Alternatives for Seeed_BME280.h: [Grove_BME280-master@1.0.2]

ResolveLibrary(Seeed_BME280.h)

-> candidates: [Grove_BME280-master@1.0.2]

"C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__="""SuperFinalBB.ino"""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -g -DDEBUG=1 -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/Core/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\variants\XIAO_m0" "-IC:\Users\Baran\sketchbook\libraries\I2Cdev" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Wire" "-IC:\Users\Baran\sketchbook\libraries\MPU6050\src" "-IC:\Users\Baran\sketchbook\libraries\Grove_BME280-master" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\sketch\SuperFinalBB.ino.cpp" -o nul

Alternatives for Adafruit_GFX.h: [Adafruit_GFX_Library@1.10.10]

ResolveLibrary(Adafruit_GFX.h)

-> candidates: [Adafruit_GFX_Library@1.10.10]

"C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__="""SuperFinalBB.ino"""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -g -DDEBUG=1 -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/Core/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\variants\XIAO_m0" "-IC:\Users\Baran\sketchbook\libraries\I2Cdev" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Wire" "-IC:\Users\Baran\sketchbook\libraries\MPU6050\src" "-IC:\Users\Baran\sketchbook\libraries\Grove_BME280-master" "-IC:\Users\Baran\sketchbook\libraries\Adafruit_GFX_Library" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\sketch\SuperFinalBB.ino.cpp" -o nul

Alternatives for Adafruit_SSD1306.h: [Adafruit_SSD1306@2.4.6]

ResolveLibrary(Adafruit_SSD1306.h)

-> candidates: [Adafruit_SSD1306@2.4.6]

"C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__="""SuperFinalBB.ino"""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -g -DDEBUG=1 -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/Core/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\variants\XIAO_m0" "-IC:\Users\Baran\sketchbook\libraries\I2Cdev" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Wire" "-IC:\Users\Baran\sketchbook\libraries\MPU6050\src" "-IC:\Users\Baran\sketchbook\libraries\Grove_BME280-master" "-IC:\Users\Baran\sketchbook\libraries\Adafruit_GFX_Library" "-IC:\Users\Baran\sketchbook\libraries\Adafruit_SSD1306" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\sketch\SuperFinalBB.ino.cpp" -o nul

Alternatives for SPI.h: [SPI@1.0]

ResolveLibrary(SPI.h)

-> candidates: [SPI@1.0]

"C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__="""SuperFinalBB.ino"""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -g -DDEBUG=1 -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/Core/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\variants\XIAO_m0" "-IC:\Users\Baran\sketchbook\libraries\I2Cdev" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Wire" "-IC:\Users\Baran\sketchbook\libraries\MPU6050\src" "-IC:\Users\Baran\sketchbook\libraries\Grove_BME280-master" "-IC:\Users\Baran\sketchbook\libraries\Adafruit_GFX_Library" "-IC:\Users\Baran\sketchbook\libraries\Adafruit_SSD1306" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\SPI" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\sketch\SuperFinalBB.ino.cpp" -o nul

Alternatives for Adafruit_ZeroDMA.h: [Adafruit_ZeroDMA@1.0.4]

ResolveLibrary(Adafruit_ZeroDMA.h)

-> candidates: [Adafruit_ZeroDMA@1.0.4]

"C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__="""SuperFinalBB.ino"""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -g -DDEBUG=1 -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/Core/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\variants\XIAO_m0" "-IC:\Users\Baran\sketchbook\libraries\I2Cdev" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Wire" "-IC:\Users\Baran\sketchbook\libraries\MPU6050\src" "-IC:\Users\Baran\sketchbook\libraries\Grove_BME280-master" "-IC:\Users\Baran\sketchbook\libraries\Adafruit_GFX_Library" "-IC:\Users\Baran\sketchbook\libraries\Adafruit_SSD1306" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\SPI" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Adafruit_ZeroDMA" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\sketch\SuperFinalBB.ino.cpp" -o nul

Using cached library dependencies for file: C:\Users\Baran\sketchbook\libraries\I2Cdev\I2Cdev.cpp

Using cached library dependencies for file: C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Wire\Wire.cpp

Using cached library dependencies for file: C:\Users\Baran\sketchbook\libraries\MPU6050\src\I2Cdev.cpp

Using cached library dependencies for file: C:\Users\Baran\sketchbook\libraries\MPU6050\src\MPU6050.cpp

Using cached library dependencies for file: C:\Users\Baran\sketchbook\libraries\Grove_BME280-master\Seeed_BME280.cpp

Using cached library dependencies for file: C:\Users\Baran\sketchbook\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp

Using cached library dependencies for file: C:\Users\Baran\sketchbook\libraries\Adafruit_GFX_Library\Adafruit_GrayOLED.cpp

Alternatives for Adafruit_I2CDevice.h: [Adafruit_BusIO@1.8.3]

ResolveLibrary(Adafruit_I2CDevice.h)

-> candidates: [Adafruit_BusIO@1.8.3]

Using cached library dependencies for file: C:\Users\Baran\sketchbook\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp

Using cached library dependencies for file: C:\Users\Baran\sketchbook\libraries\Adafruit_GFX_Library\glcdfont.c

Using cached library dependencies for file: C:\Users\Baran\sketchbook\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp

Using cached library dependencies for file: C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\SPI\SPI.cpp

Using cached library dependencies for file: C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Adafruit_ZeroDMA\Adafruit_ZeroDMA.cpp

Using cached library dependencies for file: C:\Users\Baran\sketchbook\libraries\Adafruit_BusIO\Adafruit_BusIO_Register.cpp

Using cached library dependencies for file: C:\Users\Baran\sketchbook\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp

Using cached library dependencies for file: C:\Users\Baran\sketchbook\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp

Generating function prototypes...

"C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions "-D__SKETCH_NAME__="""SuperFinalBB.ino"""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -g -DDEBUG=1 -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/Core/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\variants\XIAO_m0" "-IC:\Users\Baran\sketchbook\libraries\I2Cdev" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Wire" "-IC:\Users\Baran\sketchbook\libraries\MPU6050\src" "-IC:\Users\Baran\sketchbook\libraries\Grove_BME280-master" "-IC:\Users\Baran\sketchbook\libraries\Adafruit_GFX_Library" "-IC:\Users\Baran\sketchbook\libraries\Adafruit_SSD1306" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\SPI" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Adafruit_ZeroDMA" "-IC:\Users\Baran\sketchbook\libraries\Adafruit_BusIO" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\sketch\SuperFinalBB.ino.cpp" -o "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\preproc\ctags_target_for_gcc_minus_e.cpp"

"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\preproc\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++14 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD "-D__SKETCH_NAME__="""SuperFinalBB.ino"""" -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SEEED_XIAO_M0 -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" -g -DDEBUG=1 -DARDUINO_SAMD_ZERO -D__SAMD21__ -D__SAMD21G18A__ -DARM_MATH_CM0PLUS -DSEEED_XIAO_M0 -DUSB_VID=0x2886 -DUSB_PID=0x802F -DUSBCON -DUSB_CONFIG_POWER=100 "-DUSB_MANUFACTURER="Seeed"" "-DUSB_PRODUCT="Seeed XIAO M0"" -g -DDEBUG=1 "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/TinyUSB/Adafruit_TinyUSB_ArduinoCore/tinyusb/src" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/Core/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Include/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS-Atmel\1.2.1/CMSIS-Atmel/CMSIS/Device/ATMEL/" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\variants\XIAO_m0" "-IC:\Users\Baran\sketchbook\libraries\I2Cdev" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Wire" "-IC:\Users\Baran\sketchbook\libraries\MPU6050\src" "-IC:\Users\Baran\sketchbook\libraries\Grove_BME280-master" "-IC:\Users\Baran\sketchbook\libraries\Adafruit_GFX_Library" "-IC:\Users\Baran\sketchbook\libraries\Adafruit_SSD1306" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\SPI" "-IC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Adafruit_ZeroDMA" "-IC:\Users\Baran\sketchbook\libraries\Adafruit_BusIO" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\sketch\SuperFinalBB.ino.cpp" -o "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\sketch\SuperFinalBB.ino.cpp.o"

Compiling libraries...

Compiling library "I2Cdev"

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o

Compiling library "Wire"

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Wire\Wire.cpp.o

Compiling library "MPU6050"

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\MPU6050.cpp.o

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o

Compiling library "Grove_BME280-master"

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Grove_BME280-master\Seeed_BME280.cpp.o

Compiling library "Adafruit_GFX_Library"

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_GFX_Library\glcdfont.c.o

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_GFX_Library\Adafruit_GrayOLED.cpp.o

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp.o

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp.o

Compiling library "Adafruit_SSD1306"

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp.o

Compiling library "SPI"

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\SPI\SPI.cpp.o

Compiling library "Adafruit_ZeroDMA"

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_ZeroDMA\Adafruit_ZeroDMA.cpp.o

Compiling library "Adafruit_BusIO"

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp.o

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp.o

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_BusIO\Adafruit_BusIO_Register.cpp.o

Compiling core...

Using previously compiled file: C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\core\variant.cpp.o

Using precompiled core: C:\Users\Baran\AppData\Local\Temp\arduino_cache_29700\core\core_Seeeduino_samd_seeed_XIAO_m0_usbstack_arduino,debug_on_7134da0d1e821d41aa14f67af42ccb57.a

Linking everything together...

"C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++" "-LC:\Users\Baran\AppData\Local\Temp\arduino_build_34347" -Os -Wl,--gc-sections -save-temps "-TC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\variants\XIAO_m0/linker_scripts/gcc/flash_with_bootloader.ld" "-Wl,-Map,C:\Users\Baran\AppData\Local\Temp\arduino_build_34347/SuperFinalBB.ino.map" --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m0plus -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -u _printf_float -u _scanf_float -Wl,--wrap,_write -u __wrap__write -o "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347/SuperFinalBB.ino.elf" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\sketch\SuperFinalBB.ino.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Wire\Wire.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\MPU6050.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Grove_BME280-master\Seeed_BME280.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_GFX_Library\glcdfont.c.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_GFX_Library\Adafruit_GrayOLED.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\SPI\SPI.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_ZeroDMA\Adafruit_ZeroDMA.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_BusIO\Adafruit_BusIO_Register.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp.o" "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\core\variant.cpp.o" -Wl,--start-group "-LC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Lib/GCC/" -larm_cortexM0l_math -lm "-LC:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\variants\XIAO_m0" -lm "C:\Users\Baran\AppData\Local\Temp\arduino_build_34347/..\arduino_cache_29700\core\core_Seeeduino_samd_seeed_XIAO_m0_usbstack_arduino,debug_on_7134da0d1e821d41aa14f67af42ccb57.a" -Wl,--end-group

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::I2Cdev()':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:98: multiple definition of `I2Cdev::I2Cdev()'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:98: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::I2Cdev()':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:98: multiple definition of `I2Cdev::I2Cdev()'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:98: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::writeBytes(unsigned char, unsigned char, unsigned char, unsigned char*)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:588: multiple definition of `I2Cdev::writeBytes(unsigned char, unsigned char, unsigned char, unsigned char*)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:588: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::writeByte(unsigned char, unsigned char, unsigned char)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:567: multiple definition of `I2Cdev::writeByte(unsigned char, unsigned char, unsigned char)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:567: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::writeWords(unsigned char, unsigned char, unsigned char, unsigned short*)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:649: multiple definition of `I2Cdev::writeWords(unsigned char, unsigned char, unsigned char, unsigned short*)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:649: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::writeWord(unsigned char, unsigned char, unsigned short)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:577: multiple definition of `I2Cdev::writeWord(unsigned char, unsigned char, unsigned short)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:577: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::readBytes(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:211: multiple definition of `I2Cdev::readBytes(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:211: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::readByte(unsigned char, unsigned char, unsigned char*, unsigned short)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:188: multiple definition of `I2Cdev::readByte(unsigned char, unsigned char, unsigned char*, unsigned short)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:188: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::readBit(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:108: multiple definition of `I2Cdev::readBit(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:108: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::readBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:139: multiple definition of `I2Cdev::readBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:139: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::writeBit(unsigned char, unsigned char, unsigned char, unsigned char)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:482: multiple definition of `I2Cdev::writeBit(unsigned char, unsigned char, unsigned char, unsigned char)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:482: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::writeBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:511: multiple definition of `I2Cdev::writeBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)'

Multiple libraries were found for "I2Cdev.h"

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:511: first defined here

Used: C:\Users\Baran\sketchbook\libraries\I2Cdev

Not used: C:\Users\Baran\sketchbook\libraries\Seeed_Arduino_IMU10DOF-master

Not used: C:\Users\Baran\sketchbook\libraries\MPU6050

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::readWords(unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:331: multiple definition of `I2Cdev::readWords(unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:331: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::readWord(unsigned char, unsigned char, unsigned short*, unsigned short)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:199: multiple definition of `I2Cdev::readWord(unsigned char, unsigned char, unsigned short*, unsigned short)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:199: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::readBitW(unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:123: multiple definition of `I2Cdev::readBitW(unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:123: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::readBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:164: multiple definition of `I2Cdev::readBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:164: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::writeBitW(unsigned char, unsigned char, unsigned char, unsigned short)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:496: multiple definition of `I2Cdev::writeBitW(unsigned char, unsigned char, unsigned char, unsigned short)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:496: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o: In function `I2Cdev::writeBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned short)':

C:\Users\Baran\sketchbook\libraries\MPU6050\src/I2Cdev.cpp:540: multiple definition of `I2Cdev::writeBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned short)'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:C:\Users\Baran\sketchbook\libraries\I2Cdev/I2Cdev.cpp:540: first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\MPU6050\I2Cdev.cpp.o:(.data._ZN6I2Cdev11readTimeoutE+0x0): multiple definition of `I2Cdev::readTimeout'

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347\libraries\I2Cdev\I2Cdev.cpp.o:(.data._ZN6I2Cdev11readTimeoutE+0x0): first defined here

C:\Users\Baran\AppData\Local\Temp\arduino_build_34347/..\arduino_cache_29700\core\core_Seeeduino_samd_seeed_XIAO_m0_usbstack_arduino,debug_on_7134da0d1e821d41aa14f67af42ccb57.a(main.cpp.o): In function `_real_body()':

C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\cores\arduino/main.cpp:43: undefined reference to `loop'

collect2.exe: error: ld returned 1 exit status

Using library I2Cdev in folder: C:\Users\Baran\sketchbook\libraries\I2Cdev (legacy)

Using library Wire at version 1.0 in folder: C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Wire

Using library MPU6050 at version 0.3.0 in folder: C:\Users\Baran\sketchbook\libraries\MPU6050

Using library Grove_BME280-master at version 1.0.2 in folder: C:\Users\Baran\sketchbook\libraries\Grove_BME280-master

Using library Adafruit_GFX_Library at version 1.10.10 in folder: C:\Users\Baran\sketchbook\libraries\Adafruit_GFX_Library

Using library Adafruit_SSD1306 at version 2.4.6 in folder: C:\Users\Baran\sketchbook\libraries\Adafruit_SSD1306

Using library SPI at version 1.0 in folder: C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\SPI

Using library Adafruit_ZeroDMA at version 1.0.4 in folder: C:\Users\Baran\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.2\libraries\Adafruit_ZeroDMA

Using library Adafruit_BusIO at version 1.8.3 in folder: C:\Users\Baran\sketchbook\libraries\Adafruit_BusIO

exit status 1

Error compiling for board Seeeduino XIAO.

Every Arduino sketch must have a setup function and a loop function. When they are missing, you get this "undefined reference to 'loop'" or "undefined reference to 'setup'" error.

So the solution is to add the missing required function. If you don't have any code that needs to be put in the function, you can simply leave it empty:

void setup() {
}

@RamDog, your topic has been moved to a more suitable location on the forum.Compiler errors have nothing to no with avrdude, stk500 or the boot loader :wink:

1 Like

Greetings,

I tricked you by placing the void setup() at the end of the sketch. While this example is missing the void loop() for brevity, my source program has such a component.

Here is the most puzzling aspect of this whole experience. Sketches that l compiled and uploaded just fine a couple of days ago now give me this "exit status 1 Error compiling for board Seeeduino XIAO message." However, I can still compile and upload simple sketches like the "Blink" example. If fact, my XIAO is blinking but will not accept previously running sketches.

Is there some aspect of the XIAO that needs reprogramming or is it just not ready for prime time? How could some aspect burn out that allows simple sketches but fails at more complex ones? For gets and shiggles, I reset the XIAO a couple of times but to no avail (other than it went through the motions with the amber light).

I will wire a new XIAO tomorrow and report back. If the sketch complies and uploads, I will know there is some internal error or fault lurking in the background of the XIAO.

No, I saw it. The error message I quoted clearly indicates that the loop function is missing in this case. The reason my reply mentions setup in addition to loop is because this is from my collection of stock answers to common subjects we see here on the forum.

We can't help you with code you don't post.

Brevity is very much welcome, but you should achieve that by providing a complete minimal demonstration of the problem with any irrelevant unnecessary code removed, and that you have verified to still produce the issue.

Note that this is a generic error message that only means something went wrong. There are a near infinite number of possible causes. So you shouldn't assume that all such errors have the same cause.

OK, this is a good situation to be in. Now you need to bisect the difference between the sketch that compiles and the sketch that does not compile. Once you have found the specific difference between the two that causes the error, you will be very close to having a solution to the problem.

Compilation errors are not caused by a problem with the development board hardware. You will get the same error even if you don't have a XIAO board connected to your computer. You should only look at the hardware when troubleshooting upload or run time issues. Compilation errors are exclusively in the domain of the PC.

Greetings everyone (especially pert),

I reviewed my error messages and found the problem by rote. I have seen this before but it has never caused me an issue until now. I had multiple instances of my i2Cdev.h file due to it being included in the support files for my MPU6050 but also me having inserted it into my code as [#include "I2Cdev.h"]. I commented out the line and (imagine) the program compiles and uploads. Obviously, I popped this code into various sketches after the last time I uploaded without regard for my habit of keeping a "safe copy."

I have found that the verbose output from the compiler is like Mr. Toad's Wild Ride. It ends with the error but there is quite a dance getting there.

Thank you, again, for being here and your willingness to hold my hand and those of so many others seeking understanding.