Mark Swayne wrote:
> Dennis,
>
> I have another thought as to what may be the problem.  Do you see any 
> linker warnings when you build the sample from Keil with SDCC?
>
> If you use the source from the keil site, the code will not work since 
> there is no putchar() function defined in the sdcc stdio.h.  The 
> function is declared in stdio.h, but it must be defined by the user 
> because different projects will need to handle output very differently.  
> For example, for one project, I have a putchar() that can be switched 
> between several different serial ports and the SPI.  Each option has a 
> different handler.
>
> When you added the serial_IO library, you added a basic serial putchar() 
> function. 
>   

In my Keil ports, I provided my own putchar routine, which was pretty 
much copied from the serial_IO header from sdcc.

-Dennis

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to