anandmudgerikar / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
0 stars 0 forks source link

PrintfUART.h compile error on IRIS platform #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. cd apps/AnyAppDir/
2. vim Makefile ; add CFLAGS += PRINTFUART_ENBALED
3. make $(platform)

What is the expected output? What do you see instead?

the tos/lib/net/blip/PrintfUART.h do not define a printUART function for IRIS 
platform

What version of the product are you using? On what operating system?

r5538

Please provide any additional information below.

add IRIS platform-dependent code to the PrintfUART.h file to fit the bug.

Original issue reported on code.google.com by wangj...@gmail.com on 25 Apr 2011 at 12:12

GoogleCodeExporter commented 8 years ago

Original comment by philip.l...@gmail.com on 2 May 2011 at 7:12

GoogleCodeExporter commented 8 years ago
That printf was never meant to support many platforms, I grabbed it from 
Harvard back a couple of years.  I like it because it doesn't have any 
dependancies whatsoever and I've found it to be very reliable.  It also doesn't 
require a special client.  However, rather than extending its platform support, 
it would probably be better to switch to the tinyos standard printf/dbg.

Original comment by sdh...@gmail.com on 8 May 2011 at 11:40

GoogleCodeExporter commented 8 years ago
SerialPrintfC may suit your needs; it was added for this purpose, and is 
expected to be platform-independent.

Original comment by pabi...@gmail.com on 15 May 2011 at 3:49

GoogleCodeExporter commented 8 years ago
I just switched trunk to use the standard tinyos printf library; this should 
work on all supported platforms.

Original comment by sdh...@gmail.com on 7 Jun 2011 at 5:12