[Top][All Lists]

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

RE: [avr-gcc-list] define const char

From: Schwichtenberg, Knut
Subject: RE: [avr-gcc-list] define const char
Date: Mon, 15 Dec 2008 15:52:04 +0100

Look to the avrlibc documentation and search for progmem. That's for only keeping the data in the flash. To find data always at the same location (address) you need to define a specific segment and update the linker script to address that segment. There have been several articles on this list as well as on the avrfreaks forum

From: address@hidden [mailto:address@hidden On Behalf Of Wynand Weyers
Sent: Monday, December 15, 2008 10:47 AM
To: address@hidden
Subject: [avr-gcc-list] define const char

How can I define a const char, to ensure that the data will always be stored in program memory at the same address?


I would like to acquire the application version number from the bootloader software.




Wynand Weyers




Mobile:  082 387 2496

Tel:       012 667 2028

Fax:      012 667 4655


__________ Information from ESET NOD32 Antivirus, version of virus signature database 3691 (20081214) __________

The message was checked by ESET NOD32 Antivirus.


This message was checked by MailScan for WorkgroupMail.

reply via email to

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