[Tinyos-2-commits] CVS: tinyos-2.x/doc/html/tutorial lesson15.html,
1.6, 1.7
Kevin Klues
klueska at users.sourceforge.net
Mon Aug 20 10:40:33 PDT 2007
Update of /cvsroot/tinyos/tinyos-2.x/doc/html/tutorial
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv22365/doc/html/tutorial
Modified Files:
lesson15.html
Log Message:
Added note about #including printf.h in all files taht make calls to printf.
Index: lesson15.html
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/doc/html/tutorial/lesson15.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** lesson15.html 20 Aug 2007 17:27:04 -0000 1.6
--- lesson15.html 20 Aug 2007 17:40:30 -0000 1.7
***************
*** 10,15 ****
<p>This lesson demonstrates how to use the <code>printf</code> library located in
! tos/lib/printf to debug TinyOS applications by printing messages over the serial
! port.</p>
<h1>Overview</h1>
--- 10,15 ----
<p>This lesson demonstrates how to use the <code>printf</code> library located in
! <code>tos/lib/printf</code> to debug TinyOS applications by printing messages over
! the serial port.</p>
<h1>Overview</h1>
***************
*** 343,346 ****
--- 343,351 ----
<pre>
CFLAGS += -I$(TOSDIR)/lib/printf</pre></li>
+ <li>You MUST be sure to #include <code>"printf.h"</code> header file in
+ every component in which you would like to call the <code>printf()</code>
+ command. Failure
+ to do so will result in obscure error messages making it difficult to identify
+ the problem.</li>
</ol>
More information about the Tinyos-2-commits
mailing list