File: avra.1

package info (click to toggle)
avra 1.3.0-3
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 2,704 kB
  • sloc: pascal: 31,903; ansic: 6,415; asm: 758; sh: 84; makefile: 46
file content (76 lines) | stat: -rw-r--r-- 2,871 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
.TH avra 1 "May 8, 2010" "Atmel AVR Assembler" "Atmel AVR Assembler"

.SH NAME
avra - Assembler for the Atmel AVR microcontroller family
.SH SYNOPSIS
.B avra
[\fB\-f\fR] [\fBO\fR|\fBM\fR|\fBI\fR|\fBG\fR\fR] output file type
 	[\fB\-o\fR \fIoutfile\fR] output file name
 	[\fB\-l\fR \fIlistfile\fR] generate list file
 	[\fB\-m\fR \fImapfile\fR] generate map file
 	[\fB\-\-define\fR \fIsymbol[=value]\fR] [\fB\-\-includepath\fR \fIpath\fR] [\fB\-listmac\fR]
 	[\fB\-\-max_errors\fR \fInumber\fR] [\fB\-\-devices\fR] [\fB\-\-version\fR]
 	[\fB\-h\fR] [\fB\-\-help\fR] general help
 	\fIinfile\fR
.SH DESCRIPTION
\fBAVRA\fR is an assembler for Atmel AVR microcontrollers, and it is almost
compatible with Atmel's own assembler AVRASM32.  The differences between the
two are:
.IP "Support for some extra preprocessor directives."
includes: .define, .undef, .ifdef, .ifndef, .if, .else, .endif, .elif, .elseif, .warning
.IP "Not all command line options are supported."
Specifying an eeprom file (\-e) is not supported. All eeprom data is
put out into a file called program.eep.hex and always Intel hex
format. Other hex file formats than Intel are currently not supported.
.IP "Forward references are not supported."
Like in C, you have to define everything before you are using it,
excepting labels. This makes sure, that directives like .ifdef and .undef
are working properly. If you are familiar with the C programming
language, you should get easily into \fBAVRA\fR. See chapter "Programming
techniques" for more information about how to write proper code.
.IP "Enhanced macro support."
\fBAVRA\fR has some new features for writing flexible macros. This should
increase the ability to reuse code e.g. build your own library.
.IP "Debugging support."
\fBAVRA\fR creates a coff file everytime the assembly was sucessful. This
file allows AVR Studio or any coff compatible debugger to simulate
or emulate the program.
.IP "Meta tags for assembly time."
This helps you tracking versions of your software and can also be
used to generate customer specific serial numbers.
.SH OPTIONS
Several option can be given after one '\-', but if an option requires an
argument; the argument must be given after that option.
.TP
.B \-\-listfile, \-l
Create list file
.TP
.B \-\-mapfile, \-m
Create map file
.TP
.B \-\-define, \-D
Define symbol.
.TP
.B \-\-includepath, \-I
Additional include paths.
.TP
.B \-\-listmac
List macro expansion in listfile.
.TP
.B \-\-max_errors
Maximum number of errors before exit (default: 10)
.TP
.B \-\-devices
List out supported devices.
.TP
.B \-\-version
Version information.
.TP
.B \-\-help, \-h
Show summary of options.
.SH "SEE ALSO"
.BR avrp (1)
.SH AUTHOR
The initial version of AVRA was written by John Anders Haugum. He released
all versions until v0.7. Later versions were released by Tobias Weber. Version
1.3.0 was released by Jerry Jacobs.