Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/paked/stm32-vscode-simple

a project template for assembly level hacking with the stm32l476vg with vscode.
https://github.com/paked/stm32-vscode-simple

assembly stm32 vscode

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# stm32-vscode-simple

a simple setup for hacking the stm32l476g 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 the st-link drivers from [here](https://cs.anu.edu.au/courses/comp2300/v_media/resources/stlink-windows-driver.zip)
4. (if you're on windows) install make from [here](http://gnuwin32.sourceforge.net/packages/make.htm) (if you already have make on your system via WSL or some other means, skip this step)
5. 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](https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/tag/v10.2.1-1.1). put it in ~/.comp2300/arm-none-eabi
2. download xpack'd openocd from [here](https://github.com/xpack-dev-tools/openocd-xpack/releases/tag/v0.10.0-15). put it in ~/.comp2300/openocd
3. (optional, if you want to use emulator) [build](https://gitlab.cecs.anu.edu.au/comp2300/2020/comp2300-disco-emulator) or otherwise acquire the discoserver binary, and put it at ~/.comp2300/discoserver
4. (if you're on windows) install the st-link drivers from [here](https://cs.anu.edu.au/courses/comp2300/v_media/resources/stlink-windows-driver.zip)
5. (if you're on windows) install make from [here](http://gnuwin32.sourceforge.net/packages/make.htm) (if you already have make on your system via WSL or some other means, skip this step)
6. open this repo in VSCode!