Improve duplicate ports warning
Posted: Tue Feb 22, 2011 8:23 pm
When I'm compiling my model, I get the following:
I get this error 5 separate times, yet I can't find in my model where this port is used multiple times. This warning and compilation both don't give me any hint as to what's causing this conflict either. Would it be possible to improve these warning so that they say what block was being evaluated when the duplicate port use was found? It would also be nice is during compilation a list of all used ports and which ones they were could be output instead of just how many pins are used.
Code: Select all
Warning: --- =========> PORT A0 is used by at least two peripheral <========= ---
> In E:\Documents and Settings\Bryant Mairs\My Documents\MATLAB\blocks\dsPIC_PortSetting.p>setTypePort at 525
In E:\Documents and Settings\Bryant Mairs\My Documents\MATLAB\blocks\dsPIC_PortSetting.p>dsPIC_PortSetting at 349
In E:\Documents and Settings\Bryant Mairs\My Documents\MATLAB\blocks\dsPIC_MASTER_callback.p>dsPIC_MASTER_callback at 89
In general\private\openmdl at 13
In open at 158
In uiopen at 196