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

FARRAY fails in latest version of the C51 compiler

I use
#define Ring FARRAY (log_message_t, RING_LOCATION)

with version 7.07

I can cross 64K banks as long as the structure log_message_t has a size which is a power of 2.

For example if log_message_t is 8 bytes
I can address
Ring[(unsigned long)Idx].reader
and the index Idx can be 10000 addressing 80000 bytes.

with version 7.50 of the compiler
this DOES NOT WORK

what should I use.

Thank you

0