Do mean to change, for instance:
'16F59': {'RA0': ['RA0'],
'RA1': ['RA1'],
'RA2': ['RA2'],
'RA3': ['RA3'],
...
into:
'16F59': {'RA0': [''],
'RA1': [''],
'RA2': [''],
'RA3': [''],
...
If so, please don't ! The file reads like this: "for 16F59, for pin RA0,
declared in device files, there's one pin in datasheet corresponding to RA0"
(useful for instance when pins are named GPx). This is not a pin => aliases
mapping, but more a pin in device files => pin in datasheet mapping.
Seb
--
Sébastien Lelong
http://www.sirloon.net
http://sirbot.org
2009/8/9 Rob Hamerling <[email protected]>
>
>
>
> Sebastien Lelong wrote:
>
> > I'm sure to understand why you want to modify pinmap.py. Can you give an
> > example ?
> > Also remember pin aliases & dups are dealth with pinmap_pinsuffix.json
> file.
>
> I just want to update/complete it for the pins without aliases (one
> reason being to reduce the many messages I get with the dev2jal script).
> But do not want having to type pin names when the pin doesn't have an
> alias: which contributes exactly nothing to the contents of the device
> files. So while editing pinmap.py I might as well remove superfluous
> stuff (I suppose JSG will tell me at some time that pinmap.py contains
> only pins with a 'real' alias, as we agreed upon today!).
>
> Regards, Rob.
>
>
> >
> > Seb
> > --
> > Sébastien Lelong
> > http://www.sirloon.net
> > http://sirbot.org
> >
> >
> > 2009/8/9 Rob Hamerling <[email protected]>
> >
> >>
> >>
> >> Sebastien Lelong wrote:
> >>
> >>>> Now I'm about to update pinmap.py I see 2 methods of saying 'no alias'
> >>>> in pinmap.py:
> >>>> 1. do not mention the pin at all
> >>>> 2. mention the pin, but only with its own name as alias
> >>>> The first is probably the most efficient, but the second shows that
> the
> >>>> pin is not (accidently) forgotten.
> >>>> I think we should use only one method, and nevertheless the argument
> >>>> above I would prefer the first. What's your opinion?
> >>>
> >>> I prefer option 1 too. Pins can't be accidentally forgotten, a whole
> PIC
> >>> can. (but pins can be wrong...)
> >> OK, I'll skip (/remove) pins without any alias.
> >> I'll change the dev2jal script such that it gives 1 (just 1) warning
> >> when a whole PIC is missing. Currently the script generates far to many
> >> warnings one for each pin without alias!
> >>
> >> Regards, Rob.
> >>
> >>
> >> --
> >> Rob Hamerling, Vianen, NL (http://www.robh.nl/)
> >>
>
> --
> Rob Hamerling, Vianen, NL (http://www.robh.nl/)
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---