This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

xdata access by #define

I have to read a flash written by another program and am provided a file looking like this

// data locations
#define data1 0
#define data2 data1+0x100
...

I would like to use the file 'as is" but all my typecasting efforts have resulted in errors or wrong code.

In advance, thanks

Erik

0