I am using CW 10.7 for MCU. Also, I borrowing pieces for the LCF from the demo project located here:
Linker Command File (LCF) P:RAM Clarification
Now, I am getting the message:
>"__pRAM_WIR_start_high" defined in the Linker Command File is not word-
>aligned, address in bytes is 1.
Below is the relevant excerpt from my LCF.
Regards...
-------------------------------------------------------------------------------
# You can add your sections here.
} > .p_internal_RAM
Hi
To remove this warning, please use the ALIGN command to align the ‘__pRAM_WIR_start_high’ on a word-boundary. for example:
. = ALIGN(2);
__pRAM_WIR_start_high = . ;
If this can't help you fix the issue, please upload your demo project here. thus we can check it directly.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------