#assembly #avr #micro-controller #source-file

bin+lib avra-rs

Assembler for Microchip AVR Microcontroller family (similar to Atmel)

5 releases (3 breaking)

0.4.0 Nov 15, 2024
0.3.0 Mar 16, 2020
0.2.1 Mar 11, 2020
0.2.0 Mar 9, 2020
0.1.0 Feb 28, 2020

#307 in Embedded development

Download history 1/week @ 2024-09-17 6/week @ 2024-09-24 1/week @ 2024-10-29 1/week @ 2024-11-05 118/week @ 2024-11-12 20/week @ 2024-11-19 3/week @ 2024-11-26

141 downloads per month

Apache-2.0

2MB
52K SLoC

Bitbake 46K SLoC // 0.0% comments Rust 6.5K SLoC // 0.0% comments

AVRA-RS

Assembler for Microchip AVR Microcontroller family (similar to Atmel).

AVRA-RS is a Rust rewrite of AVRA. I have created AVRA-RS to fix various shortcomings of the original software. This project now became something more.

First of all, this is not a complete implementation of the original assembler. It also has some important differences, for example, it is tested as much as possible.

Differences between AVRA-RS and AVRA

  • AVRA-RS contains full implementation of assembler opcodes and directives. It does not, however, support full command-line options of AVRA.
  • AVRA-RS supports ATmega and ATtiny MCUs.

Build and Install

To build the avra-rs you can use cargo build and cargo install, or you can install avra-rs from https://crates.io

Usage

To compile source file you need to run avra-rs with argument -s with path to the source and optionally you can provide output path with -o. To provide another place in EEPROM store you can use -e.

For more verbose output you can use -v.

Other options aren't supported. Detail information of assembler will be added in near future.

MSRV

cargo msrv puts it at 1.80.1.

Change log

See CHANGELOG.md.

Dependencies

~3–12MB
~126K SLoC