Hi Rob,
I think providing 2 'qualified' aliases in the device files as per your
>> suggestion could lead to a workable situation. However it is somewhat
>> difficult in my current script, it would require to 'look ahead' to know
>> in advance that functional pins are multiplexed.
>
>
> I clearly see the problem... :)
> I let you know if I have another solution.
>
I think I got a solution ! What don't we put the pin suffix directly within
pinmap file ? I guess you just concatenate strings from it, so this should
generate "qualified" aliases in device file, without modifying your script.
For 16F88:
'16F88': {'RA0': ['RA0', 'AN0'],
'RA1': ['RA1', 'AN1'],
'RA2': ['RA2', 'AN2', 'CVREF'],
'RA3': ['RA3', 'AN3', 'VREF+'],
'RA4': ['RA4', 'AN4', 'T0CKI'],
'RA5': ['RA5', 'MCLR', 'VPP'],
'RA6': ['RA6', 'OSC2', 'CLKO'],
'RA7': ['RA7', 'OSC1', 'CLKI'],
'RB0': ['RB0', 'INT', 'CCP1_B0'],
'RB1': ['RB1', 'SDI', 'SDA'],
'RB2': ['RB2', 'SDO', 'RX', 'DT'],
'RB3': ['RB3', 'PGM', 'CCP1_B3'],
'RB4': ['RB4', 'SCK', 'SCL'],
'RB5': ['RB5', 'SS', 'TX', 'CK'],
'RB6': ['RB6', 'AN5', 'PGC'],
'RB7': ['RB7', 'AN6', 'PGD']},
(PICs with CCP1MUX: 16f818, 16f819, 16f87, 16f88. Few manual modifications)
What do you think about this solution ?
Cheers,
Seb
--
Sébastien Lelong
http://www.sirloon.net
http://sirbot.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---