thanks!! i solve the problem, the other part of the solution was in sdcc 
man in section 4.5.4 configuration bits

On 04/22/2016 05:12 PM, Don Wooton wrote:
> Notice /usr/local/share/sdcc/non-free/include/pic14/pic16f818.h
>
> #include <pic16f818.h>
>
>
> sdcc -mpic14 -p16f818 --use-non-free foo.c
>
>      - Don
>
> On Apr 22, Yordan propounded certain bytes, to wit:
>> Subject: [Sdcc-user] disable watchdog
>>
>> hi, im new in microcontroller programming, so i need help to disable 
>> watchdog timer, can anybody tell me how to do it using sdcc?
>> i found this snippet
>> __code uint16_t __at (_CONFIG1) __configword = _INTRC_OSC_NOCLKOUT & 
>> _WDTE_OFF & _LVP_OFF;
>> but it results in this error
>> error 20: Undefined identifier '_WDTE_OFF'
>> im working for a pic16f818 mcu and im using
>> SDCC : mcs51/gbz80/z80/ds390/pic16/pic14/TININative/ds400/hc08 3.0.2 # (Apr 
>> 19 2016) (Linux)
>> thanks
>>
>> ------------------------------------------------------------------------------
>> Find and fix application performance issues faster with Applications Manager
>> Applications Manager provides deep performance insights into multiple tiers 
>> of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>> _______________________________________________
>> Sdcc-user mailing list
>> Sdcc-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>> -- End of excerpt from Yordan'
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user

La UCI presente este 1ro. de Mayo en la Plaza de la Revolución
junto a todo el pueblo.¡Por Cuba: Unidad y Compromiso!

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to