Uploading code to BBC Microbit

Hi All,

I am currently undertaking a project where i am using the accelerometer within bbc microbit but cannot seem to upload basic code from IDE to the Microbit.

i am currently following this tutorial: Install board and blink! | Micro:bit with Arduino | Adafruit Learning System

i am receiving this error message compiling the sketch:
exec: "C:\Users\Alexander\Documents\ArduinoData\packages\sandeepmistry\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-g++": file does not exist
Error compiling for board BBC micro:bit.

I have uninstalled and reinstalled IDE and re downloaded the nordic semiconductor board manager install.
The soft device, port and programmer are all set as instructed within the tutorial.
if somebody could help me out if i am doing something wrong that would be great.

This error indicates something has gone wrong with the Nordic Semiconductor nRF5 Boards hardware package installation. The solution is to remove and then re-install the packages. Be aware this will remove any boards you have installed via Boards Manager:

  • (In the Arduino IDE) File > Preferences
  • Click the link on the line following "More preferences can be edited directly in the file". This will open the Arduino15 (or similar name depending on OS) folder.
  • Delete all files and folders under the Arduino15 folder except for preferences.txt. Please be very careful when deleting things from your computer. When in doubt, back up!
  • (In the Arduino IDE) Tools > Board > Boards Manager
  • Wait for the downloads to finish.
  • Follow the instructions here Install board and blink! | Micro:bit with Arduino | Adafruit Learning System to reinstall the package.
  • Click "Close"