Hi Stanley,

> main.c:4: Undefined identifier '_OSC_INT_Port_on_RA6_Port_on_RA7_1H'
> main.c:5: Undefined identifier '_BODEN_OFF_2L'
> main.c:7: Undefined identifier '_MCLRE_MCLR_disabled_RA5_input_en_3H'

The values to be put into the configuration words are defined in the 
device-specific header files and are---unfortunately---not too 
consistent among them.

You probably need to look into pic18f2620.h and figure out the correct 
names. For the above items try

_OSC_INTIO7_1H or _OSC_INTIO67_1H,
_BOREN_OFF_2L, and
_MCLRE_MCLR_OFF_RE3_ON_3H

respectively.

Regards,
Raphael

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to