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

Defaulting variables in HDATA

Hi all,

I have an existing C-code base that we need to re-use in a new product(DS80C400). I'm running into an issue where uVision is throwing all of the variables into XDATA (thus overflowing and causing an error).

Declaring all of the vars as 'far' is not an option since this code base is used on an active existing product. We are looking for minimal "dual compilation" as possible for this code base.

Is there any way via the compiler or linker to default variables into HDATA? Thanks.

0