Error with uploading unsupported file

I am trying to make a fake kano harry potter wand that is compatible with the kano harry potter app. I am using a microbit v2 and have installed all the correct libraries that should allow me to upload my code to it, however there was an error saying:
Arduino: 1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board: "BBC micro:bit V2, None"

In file included from C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src/utility/lib_aci.h:34:0,

             from C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src/nRF8001.h:9,

             from C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src/BLEPeripheral.h:26,

             from C:\Users\boys\Downloads\KanoWandHack-master (1)\KanoWandHack-master\microbit\microbit.ino:14:

C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src/utility/hal_platform.h:75:6: error: #error "Unsupported platform"

 #error "Unsupported platform"

  ^

exit status 1

Error compiling for board BBC micro:bit V2.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I did not write the code so I don't know if there is any errors in the program, here is the program:

/************************************************************

Kano Wand Hack - DIY Wand

This example demonstrates how emulate an Kano Wand

Development environment specifics:
IDE: Arduino 1.8.4
Hardware Platform:

  • Micro:Bit

Distributed as-is; no warranty is given.
************************************************************************/
#include <BLEPeripheral.h>
#include <MadgwickAHRS.h>

// create peripheral instance, see pinouts above
BLEPeripheral blePeripheral;

#define INFO_SERVICE_UUID "64a70010-f691-4b93-a6f4-0968f5b648f8"
#define IO_SERVICE_UUID "64A70012-F691-4B93-A6F4-0968F5B648F8"
#define SENSOR_SERVICE_UUID "64A70011-F691-4B93-A6F4-0968F5B648F8"

#define BleUUIDInformationOrganisationChar "64A7000B-F691-4B93-A6F4-0968F5B648F8"
#define BleUUIDInformationSwChar "64A70013-F691-4B93-A6F4-0968F5B648F8"
#define BleUUIDInformationHwChar "64A70001-F691-4B93-A6F4-0968F5B648F8"

#define BleUUIDIOBatteryChar "64A70007-F691-4B93-A6F4-0968F5B648F8"
#define BleUUIDIOUserButtonChar "64A7000D-F691-4B93-A6F4-0968F5B648F8"
#define BleUUIDIOVibratorChar "64A70008-F691-4B93-A6F4-0968F5B648F8"
#define BleUUIDIOLedChar "64A70009-F691-4B93-A6F4-0968F5B648F8" //LED RGB
#define BleUUIDIOKeepAliveChar "64A7000F-F691-4B93-A6F4-0968F5B648F8"

#define BleUUIDSensorQuaternionsChar "64A70002-F691-4B93-A6F4-0968F5B648F8"
#define BleUUIDSensorRawChar "64A7000A-F691-4B93-A6F4-0968F5B648F8"
#define BleUUIDSensorMotionChar "64A7000C-F691-4B93-A6F4-0968F5B648F8"
#define BleUUIDSensorMagnCalibrateChar "64A70021-F691-4B93-A6F4-0968F5B648F8"
#define BleUUIDSensorQuaternionsResetChar "64A70004-F691-4B93-A6F4-0968F5B648F8"
#define BleUUIDSensorTempChar "64A70014-F691-4B93-A6F4-0968F5B648F8"

// BLE INFO Service
BLEService infoService = BLEService(INFO_SERVICE_UUID);

// BLE IO Service
BLEService ioService = BLEService(IO_SERVICE_UUID);

// BLE Sensor Service
BLEService sensorService = BLEService(SENSOR_SERVICE_UUID);

// BLE Organisation Characteristic
BLECharacteristic organisationChar(BleUUIDInformationOrganisationChar, // standard 16-bit characteristic UUID
BLERead | BLENotify, 4); // remote clients will be able to get notifications if this characteristic changes
// BLE Information Software Characteristic
BLECharacteristic informationSwChar(BleUUIDInformationSwChar, // standard 16-bit characteristic UUID
BLERead | BLENotify,3); // remote clients will be able to get notifications if this characteristic changes
// BLE Information Hardware Characteristic
BLECharacteristic informationHwChar(BleUUIDInformationHwChar, // standard 16-bit characteristic UUID
BLERead | BLENotify,3); // remote clients will be able to get notifications if this characteristic changes

// BLE Battery Level Characteristic

BLEUnsignedCharCharacteristic ioBatteryChar(BleUUIDIOBatteryChar, // standard 16-bit characteristic UUID
BLERead | BLENotify); // remote clients will be able to get notifications if this characteristic changes
// BLE User Button Characteristic
BLEUnsignedCharCharacteristic ioUserButtonChar(BleUUIDIOUserButtonChar, // standard 16-bit characteristic UUID
BLERead | BLENotify); // remote clients will be able to get notifications if this characteristic changes
// BLE Vibrator Characteristic
BLEUnsignedCharCharacteristic ioVibratorChar(BleUUIDIOVibratorChar, // standard 16-bit characteristic UUID
BLERead | BLENotify); // remote clients will be able to get notifications if this characteristic changes
// BLE Led Characteristic
BLECharacteristic LedChar(BleUUIDIOLedChar, // standard 16-bit characteristic UUID
BLEWrite | BLENotify,3); // remote clients will be able to get notifications if this characteristic changes
// BLE Keep Alive Characteristic
BLEUnsignedCharCharacteristic ioKeepAliveChar(BleUUIDIOKeepAliveChar, // standard 16-bit characteristic UUID
BLERead | BLENotify); // remote clients will be able to get notifications if this characteristic changes

// BLE Quaternions Characteristic

BLEUnsignedCharCharacteristic sensorQuaternionsChar(BleUUIDSensorQuaternionsChar, // standard 16-bit characteristic UUID
BLERead | BLENotify); // remote clients will be able to get notifications if this characteristic changes
// BLE idSensorRaw Characteristic
BLEUnsignedCharCharacteristic idSensorRawChar(BleUUIDSensorRawChar, // standard 16-bit characteristic UUID
BLERead | BLENotify); // remote clients will be able to get notifications if this characteristic changes
// BLE sensorMotion Characteristic
BLEUnsignedCharCharacteristic sensorMotionChar(BleUUIDSensorMotionChar, // standard 16-bit characteristic UUID
BLERead | BLENotify); // remote clients will be able to get notifications if this characteristic changes
// BLE MagnCalibrate Characteristic
BLEUnsignedCharCharacteristic sensorMagnCalibrateChar(BleUUIDSensorMagnCalibrateChar, // standard 16-bit characteristic UUID
BLERead | BLENotify); // remote clients will be able to get notifications if this characteristic changes
// BLE QuaternionsReset Characteristic
BLEUnsignedCharCharacteristic sensorQuaternionsResetChar(BleUUIDSensorQuaternionsResetChar, // standard 16-bit characteristic UUID
BLERead | BLENotify); // remote clients will be able to get notifications if this characteristic changes
// BLE Temperature Characteristic
BLEUnsignedCharCharacteristic sensorTempChar(BleUUIDSensorTempChar, // standard 16-bit characteristic UUID
BLERead | BLENotify); // remote clients will be able to get notifications if this characteristic changes

const int buttonA = 5; // the number of the pushbutton pin
const int buttonB = 11; // the number of the pushbutton pin

long previousMillis = 0; // last time checked, in ms
int oldBatteryLevel = 0; // last battery level reading from analog input

Madgwick filter;
unsigned long microsPerReading, microsPrevious;
float accelScale, gyroScale;

void setup() {

Serial.begin(9600);
//while (!Serial);
Serial.println("Processor came out of reset.\n");

pinMode(buttonA, INPUT);
pinMode(buttonB, INPUT);

/* Set a local name for the BLE device
This name will appear in advertising packets
and can be used by remote devices to identify this BLE device
The name can be changed but maybe be truncated based on space left in advertisement packet
*/
blePeripheral.setLocalName("Kano-Wand-75-80-89");

blePeripheral.setAdvertisedServiceUuid(infoService.uuid()); // add the service UUID
blePeripheral.addAttribute(infoService); // Add the info service
blePeripheral.addAttribute(organisationChar); // add the organisationChar characteristic
blePeripheral.addAttribute(informationSwChar); // add the organisationChar characteristic
blePeripheral.addAttribute(informationHwChar); // add the organisationChar characteristic

blePeripheral.setAdvertisedServiceUuid(ioService.uuid()); // add the service UUID
blePeripheral.addAttribute(ioService); // Add the info service
blePeripheral.addAttribute(ioBatteryChar); // add the stepsTaken characteristic
blePeripheral.addAttribute(ioUserButtonChar); // add the organisationChar characteristic
blePeripheral.addAttribute(ioVibratorChar); // add the organisationChar characteristic
blePeripheral.addAttribute(LedChar); // add the organisationChar characteristic
blePeripheral.addAttribute(ioKeepAliveChar); // add the organisationChar characteristic

blePeripheral.setAdvertisedServiceUuid(sensorService.uuid()); // add the service UUID
blePeripheral.addAttribute(sensorService); // Add the info service
blePeripheral.addAttribute(sensorQuaternionsChar); // add the stepsTaken characteristic
blePeripheral.addAttribute(idSensorRawChar); // add the organisationChar characteristic
blePeripheral.addAttribute(sensorMotionChar); // add the organisationChar characteristic
blePeripheral.addAttribute(sensorMagnCalibrateChar); // add the organisationChar characteristic
blePeripheral.addAttribute(sensorQuaternionsResetChar); // add the organisationChar characteristic
blePeripheral.addAttribute(sensorTempChar); // add the organisationChar characteristic

// assign event handlers for connected, disconnected to peripheral
blePeripheral.setEventHandler(BLEConnected, blePeripheralConnectHandler);
blePeripheral.setEventHandler(BLEDisconnected, blePeripheralDisconnectHandler);

// assign event handlers for characteristic
LedChar.setEventHandler(BLEWritten, ledCharacteristicWritten);

// assign event handlers for characteristic
//sensorQuaternionsChar.setEventHandler(BLERead, MotionCharacteristicWritten);
// set an initial value for the characteristic
//sensorQuaternionsChar.setValue(0);

//Defualt Factory
organisationChar.setValue("Kano");
informationSwChar.setValue("1.1");
informationHwChar.setValue("1");

/* Start advertising BLE. It will start continuously transmitting BLE
advertising packets and will be visible to remote BLE central devices
until it receives a new connection */

// begin initialization
blePeripheral.begin();

Serial.println("Bluetooth device active, waiting for connections...");
}

void loop() {

// poll peripheral
blePeripheral.poll();

// read the current button pin state
char buttonValue = digitalRead(buttonA);

// has the value changed since the last read
bool buttonChanged = (ioUserButtonChar.value() != buttonValue);

if (buttonChanged) {
// button state changed, update characteristics
ioUserButtonChar.setValue(buttonValue);
Serial.println(F("Pressed Button"));
}

}

void blePeripheralConnectHandler(BLECentral& central) {
Serial.print(F("Connected event, central: "));
Serial.println(central.address());
}

void blePeripheralDisconnectHandler(BLECentral& central) {
Serial.print(F("Disconnected event, central: "));
Serial.println(central.address());
}

void updateBatteryLevel() {
/* Read the current voltage level on the A0 analog input pin.
This is used here to simulate the charge level of a battery.
*/
int battery = analogRead(A0);
int batteryLevel = map(battery, 0, 1023, 0, 100);

if (batteryLevel != oldBatteryLevel) { // if the battery level has changed
Serial.print("Battery Level % is now: "); // print it
Serial.println(batteryLevel);
ioBatteryChar.setValue(batteryLevel); // and update the battery level characteristic
oldBatteryLevel = batteryLevel; // save the level for next comparison
}
}

void buttonCharacteristicWritten() {
// set an value for the characteristic
ioUserButtonChar.setValue(0);
}

void ledCharacteristicWritten(BLECentral& central, BLECharacteristic& characteristic) {
// central wrote new value to characteristic, update LED
Serial.print("Characteristic event, written: ");
if (LedChar.value()) {
Serial.write(LedChar.value(), LedChar.valueLength());
} else {
Serial.write(LedChar.value(), LedChar.valueLength());
}
}

PLEASE HELP!!!

Hi @hayden12581. I'm going to ask you to provide some additional information that might provide us with information to determine the cause of the problem.

Please do this:

  1. Select File > Preferences from the Arduino IDE's menus.
  2. Check the box next to "Show verbose output during: compilation".
  3. Click the OK button.
  4. Select Sketch > Verify/Compile from the Arduino IDE's menus.
  5. After the compilation fails you'll see a button on the right side of the orange bar in the Arduino IDE: Copy error messages. Click that button. This copies the full output to the clipboard.
  6. Open a forum reply here by clicking the Reply button.
  7. Click the </> icon on the post composer toolbar. This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  8. Press Ctrl+V. This will paste the compilation output into the code block.
  9. Move the cursor outside of the code tags before you add any additional text to your reply.
  10. Click the Reply button to post the output.

Was the program originally written for a micro-bit ?

@in0 here is the output:
Arduino: 1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board: "BBC micro:bit V2, None"

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\boys\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\boys\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\boys\Documents\Arduino\libraries -fqbn=sandeepmistry:nRF5:BBCmicrobitV2:softdevice=none -vid-pid=0D28_0204 -ide-version=10815 -build-path C:\Users\boys\AppData\Local\Temp\arduino_build_719573 -warnings=none -build-cache C:\Users\boys\AppData\Local\Temp\arduino_cache_255819 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.gcc-arm-none-eabi.path=C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4 -prefs=runtime.tools.gcc-arm-none-eabi-5_2-2015q4.path=C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4 -prefs=runtime.tools.openocd.path=C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\openocd\0.10.0-dev.nrf5 -prefs=runtime.tools.openocd-0.10.0-dev.nrf5.path=C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\openocd\0.10.0-dev.nrf5 -verbose C:\Users\boys\Downloads\KanoWandHack-master (1)\KanoWandHack-master\microbit\microbit.ino

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\arduino-builder -compile -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\boys\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\boys\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\boys\Documents\Arduino\libraries -fqbn=sandeepmistry:nRF5:BBCmicrobitV2:softdevice=none -vid-pid=0D28_0204 -ide-version=10815 -build-path C:\Users\boys\AppData\Local\Temp\arduino_build_719573 -warnings=none -build-cache C:\Users\boys\AppData\Local\Temp\arduino_cache_255819 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.gcc-arm-none-eabi.path=C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4 -prefs=runtime.tools.gcc-arm-none-eabi-5_2-2015q4.path=C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4 -prefs=runtime.tools.openocd.path=C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\openocd\0.10.0-dev.nrf5 -prefs=runtime.tools.openocd-0.10.0-dev.nrf5.path=C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\openocd\0.10.0-dev.nrf5 -verbose C:\Users\boys\Downloads\KanoWandHack-master (1)\KanoWandHack-master\microbit\microbit.ino

Using board 'BBCmicrobitV2' from platform in folder: C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0

Using core 'nRF5' from platform in folder: C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0

Detecting libraries used...

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "C:\Users\boys\AppData\Local\Temp\arduino_build_719573\sketch\microbit.ino.cpp" -o nul

Alternatives for BLEPeripheral.h: [BLEPeripheral@0.4.0]

ResolveLibrary(BLEPeripheral.h)

-> candidates: [BLEPeripheral@0.4.0]

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "C:\Users\boys\AppData\Local\Temp\arduino_build_719573\sketch\microbit.ino.cpp" -o nul

Alternatives for MadgwickAHRS.h: [Madgwick@1.2.0]

ResolveLibrary(MadgwickAHRS.h)

-> candidates: [Madgwick@1.2.0]

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\AppData\Local\Temp\arduino_build_719573\sketch\microbit.ino.cpp" -o nul

Error while detecting libraries included by C:\Users\boys\AppData\Local\Temp\arduino_build_719573\sketch\microbit.ino.cpp

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEAttribute.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEBondStore.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLECentral.cpp" -o nul

Error while detecting libraries included by C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLECentral.cpp

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLECharacteristic.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEConstantCharacteristic.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEDescriptor.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEDevice.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEFixedLengthCharacteristic.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEHID.cpp" -o nul

Error while detecting libraries included by C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEHID.cpp

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEHIDPeripheral.cpp" -o nul

Error while detecting libraries included by C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEHIDPeripheral.cpp

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEHIDReportMapCharacteristic.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEHIDReportReferenceDescriptor.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEKeyboard.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLELocalAttribute.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEMouse.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEMultimedia.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEPeripheral.cpp" -o nul

Error while detecting libraries included by C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEPeripheral.cpp

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEProgmemConstantCharacteristic.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLERemoteAttribute.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLERemoteCharacteristic.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLERemoteService.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEService.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLESystemControl.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLETypedCharacteristics.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEUtil.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\BLEUuid.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\EddystoneBeacon.cpp" -o nul

Error while detecting libraries included by C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\EddystoneBeacon.cpp

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\iBeacon.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\nRF51822.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\nRF8001.cpp" -o nul

Alternatives for SPI.h: [SPI@1.0]

ResolveLibrary(SPI.h)

-> candidates: [SPI@1.0]

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\libraries\SPI" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\nRF8001.cpp" -o nul

Error while detecting libraries included by C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\nRF8001.cpp

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\libraries\SPI" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\utility\aci_queue.cpp" -o nul

Error while detecting libraries included by C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\utility\aci_queue.cpp

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\libraries\SPI" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\utility\acilib.cpp" -o nul

Error while detecting libraries included by C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\utility\acilib.cpp

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\libraries\SPI" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\utility\hal_aci_tl.cpp" -o nul

Error while detecting libraries included by C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\utility\hal_aci_tl.cpp

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\libraries\SPI" "C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\utility\lib_aci.cpp" -o nul

Error while detecting libraries included by C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src\utility\lib_aci.cpp

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\libraries\SPI" "C:\Users\boys\Documents\Arduino\libraries\Madgwick\src\MadgwickAHRS.cpp" -o nul

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\libraries\SPI" "C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\libraries\SPI\SPI.cpp" -o nul

Generating function prototypes...

"C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -mfloat-abi=hard -mfpu=fpv4-sp-d16 -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=10815 -DARDUINO_BBC_MICROBIT_V2 -DARDUINO_ARCH_NRF5 -DNRF52833_XXAA -DNRF5 "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/CMSIS/Include" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/toolchain/gcc/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/device/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/drivers_nrf/delay/" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5/SDK/components/softdevice/none/headers/" -DUSE_LFSYNT "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\cores\nRF5" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\variants\BBCmicrobitV2" "-IC:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src" "-IC:\Users\boys\Documents\Arduino\libraries\Madgwick\src" "-IC:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\libraries\SPI" "C:\Users\boys\AppData\Local\Temp\arduino_build_719573\sketch\microbit.ino.cpp" -o "C:\Users\boys\AppData\Local\Temp\arduino_build_719573\preproc\ctags_target_for_gcc_minus_e.cpp"

In file included from C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src/utility/lib_aci.h:34:0,

             from C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src/nRF8001.h:9,

             from C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src/BLEPeripheral.h:26,

             from C:\Users\boys\Downloads\KanoWandHack-master (1)\KanoWandHack-master\microbit\microbit.ino:14:

C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral\src/utility/hal_platform.h:75:6: error: #error "Unsupported platform"

 #error "Unsupported platform"

  ^

Using library BLEPeripheral at version 0.4.0 in folder: C:\Users\boys\Documents\Arduino\libraries\BLEPeripheral

Using library Madgwick at version 1.2.0 in folder: C:\Users\boys\Documents\Arduino\libraries\Madgwick

Using library SPI at version 1.0 in folder: C:\Users\boys\Documents\ArduinoData\packages\sandeepmistry\hardware\nRF5\0.7.0\libraries\SPI

exit status 1

Error compiling for board BBC micro:bit V2.

@sterretje the code was originally written for the microbit and two other devices here is the link to the creators github page:
GitHub - sabas1080/KanoWandHack: Project to create a DIY version of Kano Wand

I just installed the latest BLEPeripheral library (0.4.0) and it does not contain the file: src/utility/lib_aci.h

Maybe you have an outdated version of BLEPeripheral?

You are attempting to compile it for the micro:bit V2. The sketch was written for the standard micro:bit. This is the reason for the error.

@johnwasser I have tried the program with different visions of the library, however it still doesn't work.

@in0 I have tried to compile it as a microbit v1, but it still doesn't work. however if what you are saying is true is there a way to update the program to work with microbit v2?

Make sure to select one of the SoftDevices from the Arduino IDE's Tools > Softdevice menu before compiling.

is there a way to update the program to work with microbit v2?

Unfortunately, I don't know enough about the subject to answer that question. Maybe someone else here on the forum will know.

how do you select softdevices tools because when I do it, it only comes up with none

Then you must have Tools > Board > Nordic Semiconductor nRF5 Boards > BBC micro:bit V2 selected from the Arduino IDE's menus.

My instructions about the SoftDevice were in response to this comment from you:

Those instructions will only work after you have selected Tools > Board > Nordic Semiconductor nRF5 Boards > BBC micro:bit.