I am importing a project from classic CW to CW 10. With classic CW the following assigns a global variable to a designated address
#pragma DATA_SEG RAM
int variable_name @0x0070;
The CW 10. gives syntax errors and bad character sequence encountered: @
What is the correct method of assigning a variable to a specific address with CW 10.
Thanks in advance.
已解决! 转到解答。
which CW10 version do you work with? if you use CW10.4 with 8/16bit MCU, this will not produce this message.
and is CW10.4 is our recommendation. here is the 10.4 webpage and download:
https://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MICROCONTROLLERS
which CW10 version do you work with? if you use CW10.4 with 8/16bit MCU, this will not produce this message.
and is CW10.4 is our recommendation. here is the 10.4 webpage and download:
https://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MICROCONTROLLERS