avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] big string into the ROM


From: drvdrv
Subject: Re: [avr-gcc-list] big string into the ROM
Date: Sun, 16 Apr 2006 12:03:56 +0200 (CEST)

> Oh, you can have that with the onboard tools from the GNU 
AVR
> toolchain as well.
> 
> avr-objcopy -I binary -O ihex infile outfile
> 
> will also create you an ihex file from binary input.  Even 
better,
> 
> avr-objcopy -I binary -O elf32-avr infile.bin outfile.o
> 
> will yield you a relocatable object file (i. e. one you 
can use as
> input to the linker), and provide it with three symbols:

yes, I know and I tried it but when I linked everything went wrong (see 
my first letter)

/drv


> 
> _binary_infile_bin_start
> _binary_infile_bin_end
> _binary_infile_bin_size
> 



> So you could declare these symbols in your C file, like
> 
> extern void *_binary_infile_bin_start, 
_binary_infile_bin_end;
> extern size_t _binary_infile_bin_size;
> 
> -- 
> cheers, J"org               .-.-.   --... ...--   -.. .  
DL8DTL
> 
> http://www.sax.de/~joerg/                        NIC: 
JW11-RIPE
> Never trust an operating system you don't have sources 
for. ;-)
> 
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
> 
> 
> End of AVR-GCC-list Digest, Vol 15, Issue 12
> ********************************************
> 

_______________________________________________________________________________
Új Építésű ingatlanok, bankfüggetlen hitelajánlatok, kedvezményes konstrukciók:
http://ad.adverticum.net/b/cl,1,6022,97912,159457/click.prm






reply via email to

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