Joep Suijs wrote:
> The only risc I see is that keywords look the same but turn out to be
> similar later on. But if this should be the case, I'm sure we (you ;)
> can handle this.
I'm sure it will not be perfect, certainly not with the first attempt!
But it will be a significant improvement w.r.t to the current release.
> An aother thing we should be aware of is that with this aproach, we
> make an exception to the rule that the microchip documents are
> leading. But that's good, since it is called new insight ;)
> Would it make sense to keep the original keyword, next to the
> jallib-normalized one?
The point is: there are no defined keywords, not in the MPLAB .dev files
and not in the datasheets, there are only 'descriptions' (which can be 2
letters, but are frequently several words).
Seb: for this reason datasheet parsing is no option, I think.
But pragma fuse_def requires a keyword, which should preferrably be easy
to remember by a Jal user. HS and XT are good examples, but there are
far more bad examples in the current device files.
In the current situation the parsing of the descriptions generates many
duplicate keywords. Because of this there is no 'pragma OSC' declared in
the device files, and consequently these settings cannot be selected by
the user. A table with unique keywords will also solve this issue.
I don't expect maintenance of this table to be a time-consuming task:
- the time between MPLAB releases is counted in months
- a compare script will quickly reveal differences
- most descriptions won't change from one to the other release
Of course 'devicefiles.html' will contain a list of possible keywords.
But not every keyword is applicable to every PIC, the device file will
have to be consulted for the allowed keywords for a specific PIC (I
don't think it is practical to include a keyword-per-fusebit-per-PIC
table in the user docs!).
Regards, Rob.
--
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
-~----------~----~----~----~------~----~------~--~---