Compiler directives for EEPROM

Post your requests and ideas on the future development of mikroC PRO for PIC.
Post Reply
Author
Message
doggy
Posts: 38
Joined: 14 Sep 2018 12:48

Compiler directives for EEPROM

#1 Post by doggy » 15 Sep 2018 08:30

Hello, forgive me if I have missed something. However, from reading and testing it seems the only way to initialise EEPROM is through the Tools>>EEPROM editor.

Here is an example from another compiler I use. Far more elegant, easy to read, comments.....

A number of people have asked about this sort of thing.

#pragma EEPROM 0=0x1c; //sets first EEPROM address location to 0x1c

Surely it would be very easy to implement?

David

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Compiler directives for EEPROM

#2 Post by filip » 17 Sep 2018 13:05

Hi,

This is an interesting idea, I will pass this to our developers.
For now, you can use the standard EEPROM library function for this purpose.

Regards,
Filip.

Post Reply

Return to “mikroC PRO for PIC Wish List”