Hi Rob,

I've just tried to compile a small sample for 18f13k22, and some asm code is
missing (I'm fixing issue 76). This is about ANSEL_ANSELx bits.
It appears last device file doesn't have these bits defined. I think last
revision having them was 1045 (line starting with "-" means "missing in
current revision")


svn diff -r1045 include/device/18f13k22.jal

...
 var volatile byte   ANSEL                shared at
0xF7E
-var volatile bit    ANSEL_ANSEL7         shared at ANSEL :
7
-var volatile bit    ANSEL_ANSEL6         shared at ANSEL :
6
-var volatile bit    ANSEL_ANSEL5         shared at ANSEL :
5
-var volatile bit    ANSEL_ANSEL4         shared at ANSEL :
4
-var volatile bit    ANSEL_ANSEL3         shared at ANSEL :
3
-var volatile bit    ANSEL_ANSEL2         shared at ANSEL :
2
-var volatile bit    ANSEL_ANSEL1         shared at ANSEL :
1
-var volatile bit    ANSEL_ANSEL0         shared at ANSEL : 0
...

As a consequence, ADC libs can't work anymore with this PIC (and probably
with some others I guess ?)


Lots of other bits' register have been modified too, PCFG and VCFG bits

 var volatile byte   ADCON1               shared at
0xFC1
-var volatile bit    ADCON1_VCFG1         shared at ADCON1 :
5
-var volatile bit    ADCON1_VCFG0         shared at ADCON1 :
4
-var volatile bit*2  ADCON1_VCFG          shared at ADCON1 :
4
-var volatile bit*4  ADCON1_PCFG          shared at ADCON1 :
0
+var volatile bit    ADCON1_PVCFG1        shared at ADCON1 :
3
+var volatile bit    ADCON1_PVCFG0        shared at ADCON1 :
2
+var volatile bit*2  ADCON1_PVCFG         shared at ADCON1 :
2
+var volatile bit    ADCON1_NVCFG1        shared at ADCON1 :
1
+var volatile bit    ADCON1_NVCFG0        shared at ADCON1 :
0
+var volatile bit*2  ADCON1_NVCFG         shared at ADCON1 : 0


I think these don't have impacts, since ADC libs handles both (eg.
ADCON1_PCFG and ADCON1_PCFG0/1), but this kind of modifications add a lot of
noise that I can't handle/manage (I could write some famous unittests (...)
but 18F aren't supported...).

I guess this is about last 8.33 MPLAB files, but is there any chance
identify such modifications ? And most importantly, can you re-generate them
and include these bits ?


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
-~----------~----~----~----~------~----~------~--~---

Reply via email to