#77 Configuration word for PIC16

open
nobody
5
2010-05-21
2004-06-18
Anonymous
No

Is there already any way of specifying the
configuration words (used to select the oscillator to
use, whether or not to use brown-out detection,
power-up-delay...) in SDCC in the source files?
I tried something like

word at CONFIG1H cfg1 = 0x22;

but the value 0x22 just does not seem to be placed at
the address specified (CONFIG1H is DEFINEd to be 0x300001).

This might be related to request #859412, but I thought
configuration data could also be implemented using e.g.
#pragmas...

Any hints welcome and keep up the great work!

Raphael Neider

eMail: neider@teco.edu

Discussion

    • labels: --> pic16 target