IPB

Welcome Guest ( Log In | Register )

> #pragma Data _eeprom
fred
post Feb 13 2007, 07:48 PM
Post #1


Enthusiast
**

Group: EstablishedMember
Posts: 100
Joined: 1-December 06
From: Netherlands
Member No.: 2,116



is there a way to fill data to an address relative to _EEPROM

like
CODE
#pragma DATA _EEPROM,     1, 2, 3
#pragma DATA _EEPROM+10,  1, 2, 3
#pragma DATA _EEPROM+20,  1, 2, 3


because the preprocessor doesn't seem to accept this one
update SourceBoost release 6.97 is available.
Download Now
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Dave
post Feb 15 2007, 01:41 PM
Post #2


Super Maniac
*****

Group: Administrators
Posts: 1,830
Joined: 28-September 04
From: UK
Member No.: 469



QUOTE (fred @ Feb 13 2007, 07:48 PM)
is there a way to fill data to an address relative to _EEPROM

like
CODE
#pragma DATA _EEPROM,     1, 2, 3
#pragma DATA _EEPROM+10,  1, 2, 3
#pragma DATA _EEPROM+20,  1, 2, 3


because the preprocessor doesn't seem to accept this one
*
No this is a limitation sad.gif
Have a look at where _EPROM is defined, use this address manually adding the required offset.

Regards
Dave
Go to the top of the page
 
+Quote Post

Posts in this topic
- fred   #pragma Data _eeprom   Feb 13 2007, 07:48 PM
- - Dave   QUOTE (fred @ Feb 13 2007, 07:48 PM)is there ...   Feb 15 2007, 01:41 PM
- - fred   Coming back to an old limitation\topic I have...   Nov 16 2007, 10:09 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 3rd September 2010 - 02:49 PM