How to fix it when Libraries conflict

Hello there,

I am using a Xiao with an expansion board to read and display blood oxygen measurements. The sensor is MAXREFDES 117 which I have connected to pin 0, SDA, SCL, 3.3v, and GND.
I also use the Arduini IDE.
Both the display and sensor work when I upload separate examples.

However, When I include the libraries and files below in one .ino file, I get an error and the upload is not successfully complete.

libraries:
#include <Wire.h>
#include “MAX30105.h”
#include “spo2_algorithm.h”
#include <Servo.h>
#include <pitches.h>
#include <Arduino.h>
#include <U8x8lib.h>

The error:

c:/users/17787/appdata/local/arduino15/packages/seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/…/lib/gcc/arm-none-eabi/7.2.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes
c:/users/17787/appdata/local/arduino15/packages/seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/…/lib/gcc/arm-none-eabi/7.2.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes
c:/users/17787/appdata/local/arduino15/packages/seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/…/lib/gcc/arm-none-eabi/7.2.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes
c:/users/17787/appdata/local/arduino15/packages/seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/…/lib/gcc/arm-none-eabi/7.2.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes
c:/users/17787/appdata/local/arduino15/packages/seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/…/lib/gcc/arm-none-eabi/7.2.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes
Sketch uses 47796 bytes (18%) of program storage space. Maximum is 262144 bytes.
No device found on COM7
Failed uploading: uploading error: exit status 1

I am wondering if someone could guide me through fixing this issue.

Hello, this does not look like a library conflict, the prompt information is warning, but it appears that No device found on COM7, Failed uploading. You can try to enter the bootloader mode to solve the problem of not uploading.

Thank you! It fixed the problem.

1 Like