element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Internet of Things
  • Technologies
  • More
Internet of Things
Blog Xiao BLE Sense nRF52840
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ralphjy
  • Date Created: 12 Feb 2022 12:02 AM Date Created
  • Views 13310 views
  • Likes 13 likes
  • Comments 16 comments
  • seeed xiao ble nrf52840
  • imu
  • pdm microphone
Related
Recommended

Xiao BLE Sense nRF52840

ralphjy
ralphjy
12 Feb 2022

In my quest to find wireless IoT solutions, I find a lot of interesting and useful products manufactured by Seeed Studio.  I posted about a WiFi dev board yesterday: Wio RP2040 Mini Dev Board.

In addition to WiFi, I've been looking for BLE solutions.  Seeed has a small form factor (21 x 17.5mm) module, the Xiao, that I've used before: Samd21 Mini Modules.  And Adafruit makes a footprint compatible Qt Py module that I tried recently with a RP2040 version: Qt Py RP2040.  Seeed recently came out with two Xiao BLE modules that use the nRF52840 as the MCU.  Seems like the nRF52840 is showing up everywhere - just like the RP2040.  It is used in one of my favorite Arduino boards the Arduino Nano 33 BLE Sense.

After a long postal journey from China, I received a Xiao BLE and a Xiao BLE Sense yesterday. 

XIAO BLE nRF52840                  $9.90
XIAO BLE Sense nRF52840    $15.99

Here is a spec comparison of the Seeed Xiao boards:

image

The only way to differentiate the two boards is if the PDM microphone is populated or not in the lower right of the board.  The IMU is internal to the shield and the labels are identical Scream.

image

image

These boards are supported in the Arduino IDE, so start up is easy.

 image

Finding where it installed confused me for a second as it was with the Arduino Mbed OS boards.

image

And to find the ArduinoBLE example you had to look under the "INCOMPATIBLE" library examples.

image

I decided to try a Peripheral example with the with the board connected with my iPhone as the Central to test out the BLE operation.

I'll use the "LightBlue" iOS app from PunchThrough.

LED.ino

/*
  LED

  This example creates a BLE peripheral with service that contains a
  characteristic to control an LED.

  The circuit:
  - Arduino MKR WiFi 1010, Arduino Uno WiFi Rev2 board, Arduino Nano 33 IoT,
    Arduino Nano 33 BLE, or Arduino Nano 33 BLE Sense board.

  You can use a generic BLE central app, like LightBlue (iOS and Android) or
  nRF Connect (Android), to interact with the services and characteristics
  created in this sketch.

  This example code is in the public domain.
*/

#include <ArduinoBLE.h>

BLEService ledService("19B10000-E8F2-537E-4F6C-D104768A1214"); // BLE LED Service

// BLE LED Switch Characteristic - custom 128-bit UUID, read and writable by central
BLEByteCharacteristic switchCharacteristic("19B10001-E8F2-537E-4F6C-D104768A1214", BLERead | BLEWrite);

const int ledPin = LED_BUILTIN; // pin to use for the LED

void setup() {
  Serial.begin(9600);
  while (!Serial);

  // set LED pin to output mode
  pinMode(ledPin, OUTPUT);

  // begin initialization
  if (!BLE.begin()) {
    Serial.println("starting BLE failed!");

    while (1);
  }

  // set advertised local name and service UUID:
  BLE.setLocalName("LED");
  BLE.setAdvertisedService(ledService);

  // add the characteristic to the service
  ledService.addCharacteristic(switchCharacteristic);

  // add service
  BLE.addService(ledService);

  // set the initial value for the characeristic:
  switchCharacteristic.writeValue(0);

  // start advertising
  BLE.advertise();

  Serial.println("BLE LED Peripheral");
}

void loop() {
  // listen for BLE peripherals to connect:
  BLEDevice central = BLE.central();

  // if a central is connected to peripheral:
  if (central) {
    Serial.print("Connected to central: ");
    // print the central's MAC address:
    Serial.println(central.address());

    // while the central is still connected to peripheral:
    while (central.connected()) {
      // if the remote device wrote to the characteristic,
      // use the value to control the LED:
      if (switchCharacteristic.written()) {
        if (switchCharacteristic.value()) {   // any value other than 0
          Serial.println("LED on");
          digitalWrite(ledPin, HIGH);         // will turn the LED on
        } else {                              // a 0 value
          Serial.println(F("LED off"));
          digitalWrite(ledPin, LOW);          // will turn the LED off
        }
      }
    }

    // when the central disconnects, print it out:
    Serial.print(F("Disconnected from central: "));
    Serial.println(central.address());
  }
}

Compile and upload the program.

Start scanning with LightBlue.

The Peripheral shows up as LED

image

Locate the LED characteristic

image   image   image

Write values to "1" and "0" (looks like I missed a screenshot, but you get the idea)

image   image

The output on the Serial Console

image

And the response on the board (I did not do a video).  Worked as expected except that ("1" was "Off" and "0" was "On").

image

Off to a good start.  I think I'll try some ML with the microphone and IMU using Edge Impulse.  I'll post that later.

  • Sign in to reply

Top Comments

  • rafeh1
    rafeh1 over 3 years ago +1
    had compile error. but example blimk led is working Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Seeed XIAO nRF52840 Sense, S140 7.3.0, Level 0 (Release)" WARNING: library ArduinoBLE…
  • elaya
    elaya over 2 years ago in reply to rafeh1

    I too have got this error...help me solve it guys...

    WARNING: library ArduinoBLE claims to run on samd, megaavr, mbed, apollo3, mbed_nano, mbed_portenta, mbed_nicla, esp32 architecture(s) and may be incompatible with your current board which runs on nrf52 architecture(s).
    c:\Users\ASUS\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:33:2: error: #error "Unsupported board selected!"
    33 | #error "Unsupported board selected!"
    | ^~~~~
    c:\Users\ASUS\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:99:40: error: 'SerialHCI' was not declared in this scope; did you mean 'Serial'?
    99 | HCIUartTransportClass HCIUartTransport(SerialHCI, 912600);
    | ^~~~~~~~~
    | Serial

    exit status 1

    Compilation error: exit status 1

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ralphjy
    ralphjy over 3 years ago in reply to rafeh1

    You are using a very old board library.  You should try updating it.

    From your log output:

    Using board 'xiaonRF52840Sense' from platform in folder: C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\hardware\nrf52\1.0.0

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • rafeh1
    rafeh1 over 3 years ago in reply to rafeh1

    Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Seeed XIAO nRF52840 Sense, S140 7.3.0, Level 0 (Release)"


    C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\rafeh\OneDrive\Documents\Arduino\libraries -fqbn=Seeeduino:nrf52:xiaonRF52840Sense:softdevice=s140v6,debug=l0 -vid-pid=2886_8045 -ide-version=10819 -build-path C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289 -warnings=none -build-cache C:\Users\rafeh\AppData\Local\Temp\arduino_cache_731780 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\CMSIS\5.7.0 -prefs=runtime.tools.nrfjprog.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\nrfjprog\9.4.0 -prefs=runtime.tools.nrfjprog-9.4.0.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\nrfjprog\9.4.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\arm-none-eabi-gcc\9-2019q4 -prefs=runtime.tools.arm-none-eabi-gcc-9-2019q4.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\arm-none-eabi-gcc\9-2019q4 -verbose C:\Users\rafeh\AppData\Local\Temp\arduino_modified_sketch_693611\central_bleuart.ino

    C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\arduino-builder -compile -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\rafeh\OneDrive\Documents\Arduino\libraries -fqbn=Seeeduino:nrf52:xiaonRF52840Sense:softdevice=s140v6,debug=l0 -vid-pid=2886_8045 -ide-version=10819 -build-path C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289 -warnings=none -build-cache C:\Users\rafeh\AppData\Local\Temp\arduino_cache_731780 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\CMSIS\5.7.0 -prefs=runtime.tools.nrfjprog.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\nrfjprog\9.4.0 -prefs=runtime.tools.nrfjprog-9.4.0.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\nrfjprog\9.4.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\arm-none-eabi-gcc\9-2019q4 -prefs=runtime.tools.arm-none-eabi-gcc-9-2019q4.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\arm-none-eabi-gcc\9-2019q4 -verbose C:\Users\rafeh\AppData\Local\Temp\arduino_modified_sketch_693611\central_bleuart.ino

    Using board 'xiaonRF52840Sense' from platform in folder: C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\hardware\nrf52\1.0.0

    Using core 'nRF5' from platform in folder: C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\hardware\nrf52\1.0.0

    Detecting libraries used...

    "C:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_Seeed_XIAO_nRF52840_Sense -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.0.0\"" -DNRF52840_XXAA -DUSBCON -DTINYUSB_ENABLED -DUSB_VID=0x2886 -DUSB_PID=0x8045 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"XIAO nRF52840 Sense\"" -DSOFTDEVICE_PRESENT -DARDUINO_NRF52 -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=1 -DCFG_SYSVIEW=0 "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/hal" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/mdk" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/soc" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/src" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/Source/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/GCC/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/CMSIS/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/SEGGER" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/Config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\variants\\Seeed_XIAO_nRF52840_Sense" "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\sketch\\central_bleuart.ino.cpp" -o nul

    Alternatives for ArduinoBLE.h: [ArduinoBLE 1.3.0 ArduinoBLE-master 1.2.2]

    ResolveLibrary(ArduinoBLE.h)

    -> candidates: [ArduinoBLE 1.3.0 ArduinoBLE-master 1.2.2]

    "C:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_Seeed_XIAO_nRF52840_Sense -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.0.0\"" -DNRF52840_XXAA -DUSBCON -DTINYUSB_ENABLED -DUSB_VID=0x2886 -DUSB_PID=0x8045 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"XIAO nRF52840 Sense\"" -DSOFTDEVICE_PRESENT -DARDUINO_NRF52 -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=1 -DCFG_SYSVIEW=0 "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/hal" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/mdk" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/soc" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/src" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/Source/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/GCC/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/CMSIS/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/SEGGER" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/Config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\variants\\Seeed_XIAO_nRF52840_Sense" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src" "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\sketch\\central_bleuart.ino.cpp" -o nul

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLEAdvertisingData.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLECharacteristic.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLEDescriptor.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLEDevice.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLEService.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLEStringCharacteristic.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLETypedCharacteristics.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\local\BLELocalAttribute.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\local\BLELocalCharacteristic.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\local\BLELocalDescriptor.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\local\BLELocalDevice.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\local\BLELocalService.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\remote\BLERemoteAttribute.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\remote\BLERemoteCharacteristic.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\remote\BLERemoteDescriptor.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\remote\BLERemoteDevice.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\remote\BLERemoteService.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\ATT.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\BLEUuid.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\GAP.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\GATT.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCI.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCICordioTransport.cpp

    "C:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_Seeed_XIAO_nRF52840_Sense -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.0.0\"" -DNRF52840_XXAA -DUSBCON -DTINYUSB_ENABLED -DUSB_VID=0x2886 -DUSB_PID=0x8045 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"XIAO nRF52840 Sense\"" -DSOFTDEVICE_PRESENT -DARDUINO_NRF52 -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=1 -DCFG_SYSVIEW=0 "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/hal" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/mdk" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/soc" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/src" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/Source/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/GCC/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/CMSIS/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/SEGGER" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/Config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\variants\\Seeed_XIAO_nRF52840_Sense" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src" "C:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src\\utility\\HCIUartTransport.cpp" -o nul

    Error while detecting libraries included by C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\L2CAPSignaling.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\bitDescriptions.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\btct.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\keyDistribution.cpp

    WARNING: library ArduinoBLE claims to run on samd, megaavr, mbed, apollo3, mbed_nano, mbed_portenta, mbed_nicla architecture(s) and may be incompatible with your current board which runs on nrf52 architecture(s).

    Generating function prototypes...

    "C:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_Seeed_XIAO_nRF52840_Sense -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.0.0\"" -DNRF52840_XXAA -DUSBCON -DTINYUSB_ENABLED -DUSB_VID=0x2886 -DUSB_PID=0x8045 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"XIAO nRF52840 Sense\"" -DSOFTDEVICE_PRESENT -DARDUINO_NRF52 -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=1 -DCFG_SYSVIEW=0 "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/hal" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/mdk" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/soc" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/src" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/Source/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/GCC/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/CMSIS/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/SEGGER" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/Config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\variants\\Seeed_XIAO_nRF52840_Sense" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src" "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\sketch\\central_bleuart.ino.cpp" -o "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\preproc\\ctags_target_for_gcc_minus_e.cpp"

    "C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\preproc\\ctags_target_for_gcc_minus_e.cpp"

    Compiling sketch...

    "C:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_Seeed_XIAO_nRF52840_Sense -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.0.0\"" -DNRF52840_XXAA -DUSBCON -DTINYUSB_ENABLED -DUSB_VID=0x2886 -DUSB_PID=0x8045 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"XIAO nRF52840 Sense\"" -DSOFTDEVICE_PRESENT -DARDUINO_NRF52 -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=1 -DCFG_SYSVIEW=0 "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/hal" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/mdk" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/soc" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/src" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/Source/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/GCC/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/CMSIS/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/SEGGER" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/Config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\variants\\Seeed_XIAO_nRF52840_Sense" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src" "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\sketch\\central_bleuart.ino.cpp" -o "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\sketch\\central_bleuart.ino.cpp.o"

    Compiling libraries...

    Compiling library "ArduinoBLE"

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLEAdvertisingData.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLEDevice.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLEDescriptor.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLECharacteristic.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLEService.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLEStringCharacteristic.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLETypedCharacteristics.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\local\BLELocalAttribute.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\local\BLELocalCharacteristic.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\local\BLELocalDescriptor.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\local\BLELocalDevice.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\local\BLELocalService.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\remote\BLERemoteDevice.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\remote\BLERemoteDescriptor.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\remote\BLERemoteAttribute.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\remote\BLERemoteCharacteristic.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\remote\BLERemoteService.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\ATT.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\BLEUuid.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\GAP.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\GATT.cpp.o

    "C:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_Seeed_XIAO_nRF52840_Sense -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.0.0\"" -DNRF52840_XXAA -DUSBCON -DTINYUSB_ENABLED -DUSB_VID=0x2886 -DUSB_PID=0x8045 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"XIAO nRF52840 Sense\"" -DSOFTDEVICE_PRESENT -DARDUINO_NRF52 -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=1 -DCFG_SYSVIEW=0 "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/hal" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/mdk" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/soc" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/src" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/Source/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/GCC/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/CMSIS/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/SEGGER" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/Config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\variants\\Seeed_XIAO_nRF52840_Sense" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src" "C:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src\\utility\\HCIUartTransport.cpp" -o "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\libraries\\ArduinoBLE\\utility\\HCIUartTransport.cpp.o"

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\HCICordioTransport.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\L2CAPSignaling.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\HCI.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\bitDescriptions.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\keyDistribution.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\btct.cpp.o

    C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:33:2: error: #error "Unsupported board selected!"

    33 | #error "Unsupported board selected!"

    | ^~~~~

    C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:99:40: error: 'SerialHCI' was not declared in this scope; did you mean 'Serial1'?

    99 | HCIUartTransportClass HCIUartTransport(SerialHCI, 912600);

    | ^~~~~~~~~

    | Serial1

    Multiple libraries were found for "ArduinoBLE.h"

    Used: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE

    Not used: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE-master

    Using library ArduinoBLE at version 1.3.0 in folder: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE

    exit status 1

    Error compiling for board Seeed XIAO nRF52840 Sense.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • rafeh1
    rafeh1 over 3 years ago in reply to ralphjy

    got example led to flash ok but ble is issue

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • rafeh1
    rafeh1 over 3 years ago in reply to ralphjy

    my arduino ble is 1.3 (i tried 1.2 earlier)

    i see Seeed XIAO nRF52840 Sense option in boards but doesnt give library version

    turned on verbose

    Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Seeed XIAO nRF52840 Sense, S140 7.3.0, Level 0 (Release)"


    C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\rafeh\OneDrive\Documents\Arduino\libraries -fqbn=Seeeduino:nrf52:xiaonRF52840Sense:softdevice=s140v6,debug=l0 -vid-pid=2886_8045 -ide-version=10819 -build-path C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289 -warnings=none -build-cache C:\Users\rafeh\AppData\Local\Temp\arduino_cache_731780 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\CMSIS\5.7.0 -prefs=runtime.tools.nrfjprog.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\nrfjprog\9.4.0 -prefs=runtime.tools.nrfjprog-9.4.0.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\nrfjprog\9.4.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\arm-none-eabi-gcc\9-2019q4 -prefs=runtime.tools.arm-none-eabi-gcc-9-2019q4.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\arm-none-eabi-gcc\9-2019q4 -verbose C:\Users\rafeh\AppData\Local\Temp\arduino_modified_sketch_693611\central_bleuart.ino

    C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\arduino-builder -compile -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\rafeh\OneDrive\Documents\Arduino\libraries -fqbn=Seeeduino:nrf52:xiaonRF52840Sense:softdevice=s140v6,debug=l0 -vid-pid=2886_8045 -ide-version=10819 -build-path C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289 -warnings=none -build-cache C:\Users\rafeh\AppData\Local\Temp\arduino_cache_731780 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\CMSIS\5.7.0 -prefs=runtime.tools.CMSIS-5.7.0.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\CMSIS\5.7.0 -prefs=runtime.tools.nrfjprog.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\nrfjprog\9.4.0 -prefs=runtime.tools.nrfjprog-9.4.0.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\nrfjprog\9.4.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\arm-none-eabi-gcc\9-2019q4 -prefs=runtime.tools.arm-none-eabi-gcc-9-2019q4.path=C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\tools\arm-none-eabi-gcc\9-2019q4 -verbose C:\Users\rafeh\AppData\Local\Temp\arduino_modified_sketch_693611\central_bleuart.ino

    Using board 'xiaonRF52840Sense' from platform in folder: C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\hardware\nrf52\1.0.0

    Using core 'nRF5' from platform in folder: C:\Users\rafeh\OneDrive\Documents\ArduinoData\packages\Seeeduino\hardware\nrf52\1.0.0

    Detecting libraries used...

    "C:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_Seeed_XIAO_nRF52840_Sense -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.0.0\"" -DNRF52840_XXAA -DUSBCON -DTINYUSB_ENABLED -DUSB_VID=0x2886 -DUSB_PID=0x8045 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"XIAO nRF52840 Sense\"" -DSOFTDEVICE_PRESENT -DARDUINO_NRF52 -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=1 -DCFG_SYSVIEW=0 "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/hal" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/mdk" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/soc" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/src" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/Source/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/GCC/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/CMSIS/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/SEGGER" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/Config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\variants\\Seeed_XIAO_nRF52840_Sense" "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\sketch\\central_bleuart.ino.cpp" -o nul

    Alternatives for ArduinoBLE.h: [ArduinoBLE@1.3.0 ArduinoBLE-master@1.2.2]

    ResolveLibrary(ArduinoBLE.h)

    -> candidates: [ArduinoBLE@1.3.0 ArduinoBLE-master@1.2.2]

    "C:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_Seeed_XIAO_nRF52840_Sense -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.0.0\"" -DNRF52840_XXAA -DUSBCON -DTINYUSB_ENABLED -DUSB_VID=0x2886 -DUSB_PID=0x8045 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"XIAO nRF52840 Sense\"" -DSOFTDEVICE_PRESENT -DARDUINO_NRF52 -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=1 -DCFG_SYSVIEW=0 "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/hal" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/mdk" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/soc" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/src" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/Source/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/GCC/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/CMSIS/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/SEGGER" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/Config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\variants\\Seeed_XIAO_nRF52840_Sense" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src" "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\sketch\\central_bleuart.ino.cpp" -o nul

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLEAdvertisingData.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLECharacteristic.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLEDescriptor.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLEDevice.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLEService.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLEStringCharacteristic.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\BLETypedCharacteristics.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\local\BLELocalAttribute.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\local\BLELocalCharacteristic.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\local\BLELocalDescriptor.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\local\BLELocalDevice.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\local\BLELocalService.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\remote\BLERemoteAttribute.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\remote\BLERemoteCharacteristic.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\remote\BLERemoteDescriptor.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\remote\BLERemoteDevice.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\remote\BLERemoteService.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\ATT.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\BLEUuid.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\GAP.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\GATT.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCI.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCICordioTransport.cpp

    "C:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_Seeed_XIAO_nRF52840_Sense -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.0.0\"" -DNRF52840_XXAA -DUSBCON -DTINYUSB_ENABLED -DUSB_VID=0x2886 -DUSB_PID=0x8045 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"XIAO nRF52840 Sense\"" -DSOFTDEVICE_PRESENT -DARDUINO_NRF52 -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=1 -DCFG_SYSVIEW=0 "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/hal" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/mdk" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/soc" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/src" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/Source/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/GCC/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/CMSIS/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/SEGGER" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/Config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\variants\\Seeed_XIAO_nRF52840_Sense" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src" "C:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src\\utility\\HCIUartTransport.cpp" -o nul

    Error while detecting libraries included by C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\L2CAPSignaling.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\bitDescriptions.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\btct.cpp

    Using cached library dependencies for file: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\keyDistribution.cpp

    WARNING: library ArduinoBLE claims to run on samd, megaavr, mbed, apollo3, mbed_nano, mbed_portenta, mbed_nicla architecture(s) and may be incompatible with your current board which runs on nrf52 architecture(s).

    Generating function prototypes...

    "C:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_Seeed_XIAO_nRF52840_Sense -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.0.0\"" -DNRF52840_XXAA -DUSBCON -DTINYUSB_ENABLED -DUSB_VID=0x2886 -DUSB_PID=0x8045 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"XIAO nRF52840 Sense\"" -DSOFTDEVICE_PRESENT -DARDUINO_NRF52 -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=1 -DCFG_SYSVIEW=0 "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/hal" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/mdk" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/soc" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/src" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/Source/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/GCC/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/CMSIS/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/SEGGER" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/Config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\variants\\Seeed_XIAO_nRF52840_Sense" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src" "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\sketch\\central_bleuart.ino.cpp" -o "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\preproc\\ctags_target_for_gcc_minus_e.cpp"

    "C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\preproc\\ctags_target_for_gcc_minus_e.cpp"

    Compiling sketch...

    "C:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_Seeed_XIAO_nRF52840_Sense -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.0.0\"" -DNRF52840_XXAA -DUSBCON -DTINYUSB_ENABLED -DUSB_VID=0x2886 -DUSB_PID=0x8045 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"XIAO nRF52840 Sense\"" -DSOFTDEVICE_PRESENT -DARDUINO_NRF52 -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=1 -DCFG_SYSVIEW=0 "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/hal" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/mdk" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/soc" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/src" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/Source/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/GCC/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/CMSIS/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/SEGGER" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/Config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\variants\\Seeed_XIAO_nRF52840_Sense" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src" "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\sketch\\central_bleuart.ino.cpp" -o "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\sketch\\central_bleuart.ino.cpp.o"

    Compiling libraries...

    Compiling library "ArduinoBLE"

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLEAdvertisingData.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLEDevice.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLEDescriptor.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLECharacteristic.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLEService.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLEStringCharacteristic.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\BLETypedCharacteristics.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\local\BLELocalAttribute.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\local\BLELocalCharacteristic.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\local\BLELocalDescriptor.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\local\BLELocalDevice.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\local\BLELocalService.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\remote\BLERemoteDevice.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\remote\BLERemoteDescriptor.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\remote\BLERemoteAttribute.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\remote\BLERemoteCharacteristic.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\remote\BLERemoteService.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\ATT.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\BLEUuid.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\GAP.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\GATT.cpp.o

    "C:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=64000000 -DARDUINO=10819 -DARDUINO_Seeed_XIAO_nRF52840_Sense -DARDUINO_ARCH_NRF52 "-DARDUINO_BSP_VERSION=\"1.0.0\"" -DNRF52840_XXAA -DUSBCON -DTINYUSB_ENABLED -DUSB_VID=0x2886 -DUSB_PID=0x8045 "-DUSB_MANUFACTURER=\"Seeed\"" "-DUSB_PRODUCT=\"XIAO nRF52840 Sense\"" -DSOFTDEVICE_PRESENT -DARDUINO_NRF52 -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=1 -DCFG_SYSVIEW=0 "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/Core/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\tools\\CMSIS\\5.7.0/CMSIS/DSP/Include/" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/hal" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/mdk" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/soc" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/nrfx/drivers/src" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/Source/include" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/GCC/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/freertos/portable/CMSIS/nrf52" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/SEGGER" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5/sysview/Config" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\cores\\nRF5" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\ArduinoData\\packages\\Seeeduino\\hardware\\nrf52\\1.0.0\\variants\\Seeed_XIAO_nRF52840_Sense" "-IC:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src" "C:\\Users\\rafeh\\OneDrive\\Documents\\Arduino\\libraries\\ArduinoBLE\\src\\utility\\HCIUartTransport.cpp" -o "C:\\Users\\rafeh\\AppData\\Local\\Temp\\arduino_build_483289\\libraries\\ArduinoBLE\\utility\\HCIUartTransport.cpp.o"

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\HCICordioTransport.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\L2CAPSignaling.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\HCI.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\bitDescriptions.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\keyDistribution.cpp.o

    Using previously compiled file: C:\Users\rafeh\AppData\Local\Temp\arduino_build_483289\libraries\ArduinoBLE\utility\btct.cpp.o

    C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:33:2: error: #error "Unsupported board selected!"

    33 | #error "Unsupported board selected!"

    | ^~~~~

    C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:99:40: error: 'SerialHCI' was not declared in this scope; did you mean 'Serial1'?

    99 | HCIUartTransportClass HCIUartTransport(SerialHCI, 912600);

    | ^~~~~~~~~

    | Serial1

    Multiple libraries were found for "ArduinoBLE.h"

    Used: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE

    Not used: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE-master

    Using library ArduinoBLE at version 1.3.0 in folder: C:\Users\rafeh\OneDrive\Documents\Arduino\libraries\ArduinoBLE

    exit status 1

    Error compiling for board Seeed XIAO nRF52840 Sense.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube