Yes, now I rememer the parsing process: - I extract pin from device files - for each pin, I try to find interesting thing in datasheet
So, if some pins are missing in device files, I won't search for them... I've seen you opened an issue on this. I'll parse datasheet again once fixed. > There are no corresponding TRIS bits either: these pins are input only! Is there any thing we do to avoid setting them as output, so users are informed about this ? Something in pseudo-var *_direction ? Or maybe it's not detectable at compile time, only at runtime... Cheers, Seb > >> I've noticed some pins are missing in pinmap.py, for 18F4550: RC4 and >> RC5 (RC3 does not exist). >> I'm about to fix this, but I was also if there was a way to >> cross-check this with device files, while you, Rob, are generating >> aliases. Something like: "if I have a pin in device file which isn't >> in pinmap then print bad". > > Believe it or not I already have a test for missing pins in the mapping > file! But I didn't see a warning for the 18f4550 .... curious! > > Well, as it turns out pin_C4 and pin_C5 are not declared in the device > files (although PORT_RC4 and PORT_RC5 are declared). I see also the > reason for this: the pins for the 18Fs are declared from the > specifications of the LAT registers and these don't have bits 4 and 5. > There are no corresponding TRIS bits either: these pins are input only! > > It looks like I have to change my script to generate the pins for the > 18Fs from the PORT registers. Maybe there are more input-only pins > missing in the device files. > >> PS: while fixing this, I'll convert the whole in JSON format, on the >> whole chain. > > Shouldn't be a problem! > > Regards, Rob. > > -- > Rob Hamerling, Vianen, NL (http://www.robh.nl/) > > > > > -- 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 -~----------~----~----~----~------~----~------~--~---
