??? 04/12/10 13:18 Read: times |
#174998 - separate source Responding to: ???'s previous message |
I guess that if you put the constant in a separate source file and use an extern declaration in the original then the compiler cannot optimize it out by using an immediate copy. This might give less overhead that comes with volatile if you use the data more than once. |
Topic | Author | Date |
Loading Flash EEPROM with defaults | 01/01/70 00:00 | |
this seems to work - any improvements | 01/01/70 00:00 | |
Always a key requirement! | 01/01/70 00:00 | |
toolchain dependent | 01/01/70 00:00 | |
A couple of points | 01/01/70 00:00 | |
volatile | 01/01/70 00:00 | |
separate source | 01/01/70 00:00 | |
So subtle | 01/01/70 00:00 | |
Excel is (also) among your friends | 01/01/70 00:00 | |
Yes missing initialisers do default to 0 | 01/01/70 00:00 | |
My Method... | 01/01/70 00:00 | |
an alternate suggestion (which I use) | 01/01/70 00:00 | |
That uses more memory | 01/01/70 00:00 | |
Oliver ??? | 01/01/70 00:00 | |
I believe that is what most devices do..![]() | 01/01/70 00:00 |