avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] Need a make guru; embedding web pages


From: David Kelly
Subject: Re: [avr-chat] Need a make guru; embedding web pages
Date: Tue, 30 Aug 2011 16:18:09 -0500
User-agent: Mutt/1.4.2.3i

On Tue, Aug 30, 2011 at 02:41:38PM -0500, David Kelly wrote:
> 
> Then in your Makefile add a pattern rule:
> 
> %.html : %.o
>       avr-objcopy -B elf $< $@

OK, the above should probably be:

.SUFFIXES .html

%.html : %.o
        avr-objcopy -I binary -B avr -O elf32-avr $< $@

And the symbolic references generated will be
_binary_<sourcefile>_[start|size|end]

(use avr-nm to list)

-- 
David Kelly N4HHE, address@hidden
========================================================================
Whom computers would destroy, they must first drive mad.



reply via email to

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