It's possible that you could use stdio functions in a simulated program,
but you are trying to make a micaz executable, and there isn't any support
for such in the embedded code.
If you build for the simulator, you could try putting "include <stdio.h>"
in your source file to take care of the fopen() declaration, but I'm
not sure that it will actually link and execute.
MS
DAE HEE KIM wrote:
Hello.
I am using Micaz, TinyOS 2.0.2, Mib510(or Mib520).
I want to open and read data from file. For this reason, I used fopen().
However,
When I tried to do "make micaz", It complains " implicit declaration of
function `fopen' "
Can I use fopen() or open() for TinyOS Testbed ?
Thanks.
--
DaeHee Kim (Danny)
Department of Computer Science, State University of NewYork at Binghamton.
Cell Phone : 1-607-321-9574
Address : 13-A Andrea Dr, Vestal, NY, 13850
email-address : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>,
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help