> Some processors don't even have this feature, so moving
> this to the
> compiler might be quite an effort, since for every new
> processor
> incarnation one might have to change the compiler ...

I had thought of something like

pragma osccal GET=0x3ff
pragma osccal SET=0x05
(or, as it then can appear anywhere in the program,
pragma osccal set=OSCCAL)

If there is no "GET" value set, the compiler can assume the calibration value 
is in the w register on startup. The directives can be in the chip include 
files, so for each device the right code can be generated.

Greets,
Kiste

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