Is there a setting in CodeWarrior IDE 7.2 so that all EWL library functions are compiled with standard_abi?
In the CodeWarrior IDE 7.0, setting the Coldfire Processor Parameter Passing to Standard solves this.
Is there way to accomplish this in CodeWarrior IDE 7.2?
Thanks,
John
Hi John Chan
If you are still looking for this information, please refers at the following application note
http://www.nxp.com/files/soft_dev_tools/doc/app_note/TN268.pdf
in the page 4 it said
The default parameter passing convention is Register, and it can not be changed from the "ColdFire Processor" panel.
But there are other available options, like using "function prototypes" or "pragma" to specify the calling convention.
You can also check the following links:
CW7.1 port to CW10.5, general purpose registers
Could not find or load the file C_4i_CF_StdABI_MSL.a
Hope this information helps you
Have a great day,
Jorge Alcala
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------