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
- Host: GitHub
- URL: https://github.com/sonodima/vscode-arm-template
- Owner: sonodima
- Created: 2022-09-08T14:55:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-15T07:41:00.000Z (over 3 years ago)
- Last Synced: 2025-02-03T12:21:40.321Z (about 1 year ago)
- Topics: aarch64, arm64, assembly, project-template, visual-studio-code
- Language: Makefile
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```