[En-Nut-Discussion] Some questions ... debuging & device driver
Ernst Stippl
ernst at stippl.com
Thu Dec 30 00:38:02 CET 2004
Hi!
1) Digging around in Nut/OS, I found:
gets (buffer)
versa
fgets (stream, buffer, length)
why is there no length parameter in "gets"?
2) Program testing and debugging
Inserting printf statements in programs helps debugging, but it seems
arcane. Is there any other
debugging help available? I am not talking about simulation! I need the
Ethernut HW environment
for debugging to make sense. see below!
3) I am trying to write a device driver for an addon board consisting of
Maxim MAX3110 SPI - to async RS232 chips.
Other than reading uartavr.*, uartspi.*, (uart*.* in general) is there any
other information about device drivers and DCBs, ICBs, .... and the like? It
seems uartspi is a bit old and I am unsure how much I can take it as a
sample.
regards
ernst
More information about the En-Nut-Discussion
mailing list