As to the use of mica2 files in micaz, David Gay (I think) once sent me
a pointer to doc on the nesc include path...which I of course cannot find
now...but that's the way it works. There's some worse ones that go all
the way back to mica, and I think even avrmote (but don't quote me on
that). Think of confusion as a TOS feature, not a bug...
MS
Harri Siirtola wrote:
I'm using MoteWorks 2.0, so I don't know which TinyOS tree it is. "rpm
-qa" shows:
$ rpm -qa
tinyos-tools-1.2.0-2
avr-binutils-2.15tinyos-3
avr-libc-1.2.3-1
avarice-2.4-1.xbow
make-3.80tinyos-1
nesc-1.2.4-1
avr-gcc-3.4.3-1
avr-insight-6.4-1
The existence of this bug is easy to check anyway.
File: $TOSROOT/tos/platform/mica2/HPLUART1M.nc
At line 83, there's a case for baud rate 115200. The break statement is
missing and the fallthrough makes the function return FAIL without
setting the rate.
BTW, the make system always uses the HPLUARTM files in
"tos/platform/mica2", even if compiled for micaz. Is this intentional? I
can see it's necessary because "tos/platform/micaz" doesn't contain
HPLUART1M.nc, but might cause confusion in the future.
Could someone please submit this to be fixed? I've never done it before.
Regards,
Harri
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help