avra
所属分类:处理器开发
开发工具:C
文件大小:763KB
下载次数:0
上传日期:2023-06-10 11:48:07
上 传 者:
sh-1993
说明: Atmel AVR微控制器系列的汇编程序
(Assembler for the Atmel AVR microcontroller family)
文件列表:
.travis.yml (31, 2022-05-30)
AUTHORS (942, 2022-05-30)
CHANGELOG.md (11258, 2022-05-30)
COPYING (18063, 2022-05-30)
Makefile (964, 2022-05-30)
TODO (2584, 2022-05-30)
USAGE.md (11696, 2022-05-30)
examples (0, 2022-05-30)
examples\testcode_avra-1_2_3.asm (1000, 2022-05-30)
examples\testcode_avra-1_3_0.asm (433, 2022-05-30)
examples\throttle.asm (47498, 2022-05-30)
examples\throttle_backemf.asm (17674, 2022-05-30)
examples\throttle_dev_set.inc (17636, 2022-05-30)
examples\throttle_divide.asm (5667, 2022-05-30)
examples\throttle_momentum.asm (17654, 2022-05-30)
examples\throttle_momentum_lowpass.asm (3339, 2022-05-30)
examples\throttle_multiply.asm (3399, 2022-05-30)
examples\throttle_op_set.inc (11018, 2022-05-30)
examples\throttle_pulse.asm (5889, 2022-05-30)
examples\throttle_set_lowpass.asm (3322, 2022-05-30)
examples\tn15def.inc (3900, 2022-05-30)
includes (0, 2022-05-30)
includes\1200def.inc (9094, 2022-05-30)
includes\2313def.inc (12883, 2022-05-30)
includes\2323def.inc (7348, 2022-05-30)
includes\2343def.inc (7522, 2022-05-30)
includes\4414def.inc (17954, 2022-05-30)
includes\4433def.inc (16982, 2022-05-30)
includes\4434def.inc (20940, 2022-05-30)
includes\8515def.inc (17554, 2022-05-30)
includes\8535def.inc (20940, 2022-05-30)
includes\m103def.inc (23657, 2022-05-30)
includes\m1280def.inc (66258, 2022-05-30)
includes\m1284Pdef.inc (44805, 2022-05-30)
includes\m1284RFR2def.inc (146321, 2022-05-30)
includes\m1284def.inc (44709, 2022-05-30)
... ...
# AVRA
*Assember for the Atmel AVR microcontroller family*
AVRA is an assembler for Atmel AVR microcontrollers, and it is almost
compatible with Atmel's own assembler, AVRASM32. AVRA is written in C99.
## Differences between AVRA and AVRASM32
There are some differences between the original Atmel assembler AVRASM32 and
AVRA. Basically, AVRA is designed to replace AVRASM32 without special changes
in your current Atmel AVR Studio enviroment. Command line options have been
adapted as far as possible. Jumping to fault-containing lines directly by
double-clicking on the error message in the output window does work as with
AVRASM32.
### The differences in detail
#### Support for some extra preprocessor directives
.define, .undef, .ifdef, .ifndef, .if, .else, .endif, .elif, .elseif, .warning
#### 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 is always in Intel hex
format. Other hex file formats are currently not supported.
#### Forward references not supported for .ifdef and .ifndef directives
This makes sure that directives like .ifdef and .undef are working as you
probably expect. If you are familiar with the C programming language, you
should get easily into AVRA.
#### Enhanced macro support
AVRA has some new features for writing flexible macros. This should
increase the ability to reuse code, e.g., build your own library.
#### Debugging support
AVRA creates a coff file everytime assembly is sucessful. This
file allows AVR Studio or any coff compatible debugger to simulate
or emulate the program.
#### Meta tags for assembly time
This helps you tracking versions of your software and can also be
used to generate customer specific serial numbers.
## Compatibility
It should be possible to compile AVRA on most system platforms.
If you have problems compiling AVRA, please open an issue in the tracker.
## History
The initial version of AVRA was written by John Anders Haugum. He released
all versions until v0.7. Tobias Weber later took over, followed by Burkhard
Arenfeld (v1.2) then Jerry Jacobs (v1.3).
After a long 8 years of inactivity, Virgil Dupras took over, preparing a
v1.4 release.
See AUTHORS for a complete list of contributors.
## Build
To build the `avra` executable, cd into the project's root directory and run
`make`. A `src/avra` binary will be produced. You can install it with `make
install`.
By default, make runs under the `linux` OS, which assumes a typical GNU
toolchain. If that doesn't work for you, look at the available platforms
available in `src/makefiles` and override `OS` when you call `make`. Note that
those platforms aren't all well tested. Please open an issue in the tracker if
you notice a platform not working.
To compile in Windows with MS Visual Studio 2019, you will need additional
files. Please see
[here](https://gist.github.com/hack-tramp/b19b7675670bb5463bb763c602b5bc05).
## Usage
See [USAGE.md](USAGE.md).
## Change log
See [CHANGELOG.md](CHANGELOG.md).
近期下载者:
相关文件:
收藏者: