Skip to content
/ avr Public

Learning programming to avr microcontrollers

Notifications You must be signed in to change notification settings

G-Milevski/avr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

variants compilering source assembler: First variant: 1.avra <file.hex> https://www.instructables.com/id/Command-Line-AVR-Tutorials/

Second variant:
1.avr-gcc -mmcu=atmega328p -o out_file.elf source_file.S     
2.avr-objcopy -j .text -j .data -O ihex out_file.elf out_file.hex
http://polprog.net/blog/asm/

how to install var-gcc:
    http://www.linuxandubuntu.com/home/setting-up-avr-gcc-toolchain-and-avrdude-to-program-an-avr-development-board-in-ubuntu

Flesh microcontroller: sudo avrdude -v -p m328p -c arduino -b 115200 -P /dev/ttyACM0 -C /home/georg/avr/tools/avrdude-6.3/avrdude.conf -D -Uflash:w:/home/georg/avr/hello.hex http://microsin.net/programming/avr/starting-out-with-avrdude.html

About

Learning programming to avr microcontrollers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published