#assembly #avr #source-file

bin+lib avra-rs

Assembler for Microchip(similar to Atmel) AVR microcontroller family

4 releases (2 breaking)

0.3.0 Mar 16, 2020
0.2.1 Mar 11, 2020
0.2.0 Mar 9, 2020
0.1.0 Feb 28, 2020

#1178 in Embedded development

Apache-2.0

2MB
52K SLoC

Bitbake 45K 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 for describe path to source and optionally you can provide output path by -o. for provide another place of eeprom store you can use -e key.

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

Change log

See CHANGELOG.md.

Dependencies

~2.4–3.5MB
~59K SLoC