[En-Nut-Discussion] Ethernut Trace function on Sam7x Board
Wiegelmann, Jörg
Joerg.Wiegelmann at ces-tronics.de
Tue Oct 25 15:06:47 CEST 2011
Hey folks,
I have a damned bug which I would like to find with the ethernut trace function. When I switch on osdebug in the configurator I got some compiler errors:
cc1.exe: warnings being treated as errors
../../nut/dev/x12rtc.c: In function 'X12WaitReady':
../../nut/dev/x12rtc.c:159: error: implicit declaration of function 'printf'
../../nut/dev/x12rtc.c:159: error: incompatible implicit declaration of built-in function 'printf'
../../nut/dev/x12rtc.c: In function 'X12RtcReadRegs':
../../nut/dev/x12rtc.c:183: error: incompatible implicit declaration of built-in function 'printf'
../../nut/dev/x12rtc.c:187: error: implicit declaration of function 'putchar'
../../nut/dev/x12rtc.c: In function 'X12RtcWrite':
And so on...
I'm afraid that the trace and debug functions use a rtc that isn't available on this board. What can I do?
If its works I would like to watch the trace output on the uart like at this example http://www.lokker.net/hardware/ethernut3/docs/ethernut/api/timers_2timers_8c-example.html .
Thanks to all for helping
Best regards Joerg
More information about the En-Nut-Discussion
mailing list