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

https://github.com/sonodima/vscode-arm-template

Simple template for ARM assembly development with Visual Studio Code
https://github.com/sonodima/vscode-arm-template

aarch64 arm64 assembly project-template visual-studio-code

Last synced: 12 months ago
JSON representation

Simple template for ARM assembly development with Visual Studio Code

Awesome Lists containing this project

README

          

VSCode ARM Template 🤖










> Simple template for ARM assembly development with Visual Studio Code.

The default target is the `cortex-a53;aarch64-elf`, but it can be changed in the `build.config` file.

## Features:

- Visual Studio Code debugging with lldb _(with working breakpoints, stepping, etc.)_
- Separated compilation steps
- Remote development _(through SSH)_

## Build Commands:

- `build` builds all the `.s` files in the `src` directory to a binary in the `out` directory.
- `run` same as `make` but also runs the generated binary.
- `verify` checks if clang and ld.lld are installed and prints the build configuration.
- `clean` removes the content of the `out` and `obj` directories.
- `all` executes all the above commands except `run`.

### Debugging:

Launch the debugger by pressing F5 in Visual Studio Code.
NOTE: By default, the debugger will not stop the execution after the program launches.

Some Visual Studio Code extensions are required for this template.

These are listed in the `extensions.json` file and will be automatically installed when opening the project.

## Requirements:

The llvm compiler infrastructure is required for this project.

You can easily install it with the following command:

```bash
# Ubuntu / APT
apt install -y llvm clang lld lldb make

# Fedora / DNF
dnf -y install llvm clang lld lldb make
```