Created
December 24, 2013 16:15
-
-
Save roboter/8115227 to your computer and use it in GitHub Desktop.
Compile attiny26 blink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
avr-gcc -c -mmcu=attiny26 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=blink_led.lst -std=gnu99 blink_led.c -o blink_led.o | |
avr-gcc -mmcu=attiny26 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=blink_led.o -std=gnu99 blink_led.o --output blink_led.elf -Wl,-Map=blink_led.map,--cref -lm | |
avr-objcopy -O ihex -R .eeprom blink_led.elf blink_led.hex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment