[sdiy] My latest project

Eric Brombaugh ebrombaugh1 at cox.net
Tue Feb 16 16:00:35 CET 2010


On Feb 16, 2010, at 7:45 AM, Jerry Gray-Eskue wrote:

> I am curious, why did you add these instead of supplying the C primitives?
> No access to the C library source?
> 
> void U1putc(char ch)
> 
> void U1printstring( char *str)
> 
> int U1getc(void)

I was in a hurry to get this working and didn't feel like hunting through the MCHP C library code (not even sure the source is available, nor how to rebuild it) to figure out how to redirect it to my UART. Notice I built up an alternate printf() too. Comes down to time - spend a few hours reverse-engineering their stuff, or 5 minutes writing my own.

Eric





More information about the Synth-diy mailing list