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

HCONST User Class

Hi,

Does anyone know how to create a user class for the HCONST memory type using the c251 compiler similar to creating one for the ECODE memory type:

#pragma userclass (ucode = foo).

The above would create the user class ECODE_FOO

I want to do this:

#pragma userclass (hconst = foo)

to create the user class HCONST_FOO so I can position the constants in the file foo.c in an absolute memory address range at link time.

However, hconst does not seem to be a memory type that the C251 compiler can assign a user class to.

Any help would be greatly appreciated.

Thanks,

Trevor.

0