This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
We were trying to use __int20 to replace the __data20. But it is not recognized by CCS (GCC) compiler as well.
Please suggest if any specific mechanism to distinguish the 20bit large pointers from regular data pointers to use in GCC compiler.
Thanks.
Best Regards,
Kannan M
Hi Kannan,
There is not a 1:1 equivalent for __data20 in CCS, but you can set the behavior using the memory model options. Section 6.1 of the MSP430 Compiler User's Guide has more information on this. Section 6.7.1 of the User's Guide also has information on intrinsics the compiler supports that can also possibly help.
Best,
Amruta
**Attention** This is a public forum