a simple setup for hacking the BBC micro:bit v2 with assembly in VSCode.
- install the "COMP2300 2021 Extension" from the VSCode marketplace
- a notification will show up in the bottom right telling you showing you download progress, wait for this to finish
- (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)
- clone this repository, open it in VSCode and press the debug "Build and run" button (with a disco board plugged in)
- download xpack'd arm-none-eabi from here. put it in ~/.comp2300/arm-none-eabi
- download xpack'd openocd from here. put it in ~/.comp2300/openocd
- (optional, if you want to use emulator) build or otherwise acquire the discoserver binary, and put it at ~/.comp2300/discoserver
- (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)
- open this repo in VSCode!