[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] generate intel-hex fioles with avr-gcc

From: Theodore A. Roth
Subject: Re: [avr-gcc-list] generate intel-hex fioles with avr-gcc
Date: Mon, 22 Oct 2001 10:48:16 -0600 (MDT)

You can use avr-objcopy (from binutils) to do this. Here's a Makefile I
use on linux to automate it.


OPTS    = -mmcu=at90s8515
AS      = avr-as
OBJCOPY = avr-objcopy

all: test.bin test.hex

%.bin: %.out
    $(OBJCOPY) -O binary $< $@

%.hex: %.out
    $(OBJCOPY) -O ihex $< $@

%.out: %.asm
    $(AS) $(OPTS) -o $@ $<

    rm -f *.hex *.lst *.obj *.rom *.out *.bin

On Mon, 22 Oct 2001, Michael Jerger wrote:

:)im using the new stk 500 with the avr studio @win98.
:)I installed the avr-gcc 2000/02/13 from http://8bit.at/avr.
:)Compiling and debuggin looks fine, but flushing the controller
:)demands an intel-hex file (avr-isp2.4 wont flush my stk500).
:)How can i generate intel hexfiles instead of motorola ?
:)PS: Are pgp signatures allowed in this list ?
:)avr-gcc-list mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]