Comment #23 on issue 194 by robhamerling: Device files with MPLAB-X
http://code.google.com/p/jallib/issues/detail?id=194

Progress report:

I'm reaching the point where the generation process from MPLAB-X files produces reasonable looking JalV2 device files. Previously I kept a new set separated from the committed set and used a script for a more-or-less automated compare of device files. This way I checked if changes were applied correctly and other parts were unchanged. Kdiff3 is very helpful to compare partly changed files!

However the MPLAB-X .pic files use a different sequence of bits within a byte than the MPLAB .dev files and addresses of registers and bit-offsets rely on this sequence. Thus the device files will change accordingly. For example: were the pins of portA declared in sequence pin_A7 to pin_A0, in the new device files the sequence will be pin_A0 to pin_A7. The compiler doesn't care, but it makes an automated comparison between new and old files almost impossible. So I can think only of a visual compare of about 500 device files.
Anyone a suggestion for a better method?

Compiling the samples may detect errors too, but I think most samples and libraries use only small parts of the device files, and errors in other parts may remain undetected.

Even when I would be ready to commit the new device files I'll have to wait for the JalV2 2.4q compiler because some changes need 2.4q (such as the removed 'shared' keyword of variables in shared memory).

BTW I have also new device files generated from MPLAB 8.91 waiting to be committed because of the missing 2.4q release! I think I prefer to commit these set first (and suggest to do a Jallib release before switching to device files from MPLAB-X)

Regards, Rob.








--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to