gnupic@linuxhacker.org
gnupic@linuxhacker.org
Greg,
Take a look for the inc2h.pl script in <path to
sdcc>/support/scripts/inc2h.pl.
If you can't find it or need more help, drop me an email.
Later!
On Wednesday 19 March 2003 07:17 pm, Greg Hill wrote:
> I'm beginning a new project where I plan to use the 16F628. I would like
> to try SDCC for most of my coding, but I'm having trouble getting started.
>
> I have downloaded, compiled, and installed recent versions of gputils and
> sdcc. I also fetched Scott's led-1.tar.gz example which he mentioned here
> last July.
>
> After studying the files in that package, I think I have some feel for how
> to write the code. The biggest problem is that I don't know how to
> generate the p16f628.h file. The p16f877.h file from the led-1 package
> mentions that it was automatically generated by inc2h.pl, which I remember
> hearing of here previously, but I haven't been able to track it down
> anywhere. Where do I get this program?
>
> One more question whose answer isn't immediately clear to me: If I want to
> use interrupts in my code (tmr0 interrupt, for example), how do I install
> an interrupt handler for that? In the asm world, I just put a .orig 0x004
> before my interrupt-handler block of code. How is it done with sdcc?
>
> Greg Hill
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: gnupic-unsubscribe@linuxhacker.org
> For additional commands, e-mail: gnupic-help@linuxhacker.org
gnupic@linuxhacker.org