/microbit-vscode-simple

a project template for assembly level hacking with the microbit with vscode.

Primary LanguageAssembly

microbit-vscode-simple

a simple setup for hacking the BBC micro:bit v2 with assembly in VSCode.

setup instructions

  1. install the "COMP2300 2021 Extension" from the VSCode marketplace
  2. a notification will show up in the bottom right telling you showing you download progress, wait for this to finish
  3. (if you're on windows) install make from here (if you already have make on your system via WSL or some other means, skip this step)
  4. clone this repository, open it in VSCode and press the debug "Build and run" button (with a disco board plugged in)

manual setup instructions

  1. download xpack'd arm-none-eabi from here. put it in ~/.comp2300/arm-none-eabi
  2. download xpack'd openocd from here. put it in ~/.comp2300/openocd
  3. (optional, if you want to use emulator) build or otherwise acquire the discoserver binary, and put it at ~/.comp2300/discoserver
  4. (if you're on windows) install make from here (if you already have make on your system via WSL or some other means, skip this step)
  5. open this repo in VSCode!