gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: Setting CONFIG bits from SDCC?
From: Rick Mann
Date: Thu, 25 Sep 2003 00:50:12 -0700

Is there a way to set the config bits from SDCC? In gpasm, I've used 
something like:

			__config		_XT_OSC & _WDT_OFF & _PWRTE_ON & _BODEN_OFF & _LVP_OFF & 
_CPD_OFF & _WRT_ENABLE_ON & _DEBUG_OFF & _CP_OFF

But nothing jumped out at me as equivalent in C. Any ideas?

TIA,

-- 
Rick


gnupic@linuxhacker.org