Hi,
I reinstalled my computer (now FC4), and am trying to get tinyos working
again. In the process, I've discovered that, as far as I can tell, the
avr-binutils from http://www.tinyos.net/dist-1.1.0/tools/ doesn't
include the patch to allow dollar signs in identifiers. This manifests
as errors when trying to compile for micaz:
apps/Blink$ make micaz
mkdir -p build/micaz
compiling Blink to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=micaz
-fnesc-cfile=build/micaz/app.c -board=basicsb -save-temps
-DIDENT_PROGRAM_NAME=\"Blink\" -DIDENT_USER_ID=\"shnayder\"
-DIDENT_HOSTNAME=\"minitrue\" -DIDENT_USER_HASH=0xa1accb35L
-DIDENT_UNIX_TIME=0x4362e621L -DIDENT_UID_HASH=0x7cb0e12cL
-I/home/shnayder/tinyos/tos/lib/CC2420Radio Blink.nc -lm
/tmp/ccWco0Fj.s: Assembler messages:
/tmp/ccWco0Fj.s:106: Error: `,' required
/tmp/ccWco0Fj.s:106: Error: constant value required
/tmp/ccWco0Fj.s:106: Error: garbage at end of line
/tmp/ccWco0Fj.s:106: Error: unknown opcode `potsetting'
/tmp/ccWco0Fj.s:122: Error: `,' required
/tmp/ccWco0Fj.s:122: Error: constant value required
/tmp/ccWco0Fj.s:122: Error: garbage at end of line
<snipped lots and lots more>
I've tried both the rpm and the source. The spec file for the rpm is
from 8/12/2003, and makes no mention of any patches.
I've verified that assembling the app.s produced by ncc with an older
version of as (on a different machine) works, so I'm pretty sure the
problem is in avr-as.
The email at
http://mail.millennium.berkeley.edu/pipermail/tinyos-host-mote-wg/2005-July/000188.html
implies that avr-as should be patched, but the patch is for a different
version of binutils.
Is there a patch somewhere? Or am I missing something?
Thanks,
-Victor
Versions:
$ ncc --version
ncc: 1.2alpha5
nescc: 1.2alpha11
avr-gcc: avr-gcc (GCC) 3.3-tinyos
$ rpm -qa |grep avr
avr-libc-docs-1.0-1
avr-insight-6.3-1
avr-binutils-2.13.2.1-1
avr-gcc-3.3tinyos-1
avr-libc-20030512cvs-1
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help