Topic : @eeprom Type Qualifier

Forum : ST7/STM8

Original Post
Post Information Post
October 13, 2009 - 12:18pm
Guest

Hi,

Does resonance compiler for STM8 supoorts the '@eeprom' type qualifier as supported by cosmic.

In cosmic, it is used as:

@eeprom char var;

Thanks

Replies
Post Information Post
+1
0
-1
October 13, 2009 - 2:23pm
Raisonance Support Team

Hi,

For raisonance you have the "eeprom" modifier, that you can use as follows:

eeprom char var = 0;

You need to initialize an eeprom variable, which is why I added "= 0" in your example.

I hope this helps,
Bruno