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

Compiling Error with FAR declaration

I try to access a large data buffer using a far pointer that can exceed the 64k boundary, using the method introduced in http://www.keil.com/support/docs/2663.htm.

But when I made the declaration as follows and compiled the codes, an compiling error came up: SF1PROG.C(82): error C129: missing ';' before '*'

#include <absacc.h>

unsigned char far *farBuff = FARRAY(unsigned char, 0x110000);

Can anyone help me out? Thank you so much.

Parents
  • Thank you for your kind help. You noted that:

    or configure the simulator to know that you have such hardware, even though the device you picked does not.

    Would you please explain in detail how I can configure the simulator? Do I need to configure XBANKING.A51?

    Thank you!

Reply
  • Thank you for your kind help. You noted that:

    or configure the simulator to know that you have such hardware, even though the device you picked does not.

    Would you please explain in detail how I can configure the simulator? Do I need to configure XBANKING.A51?

    Thank you!

Children
No data