[Tinyos-help] -nesc-topdir ??

Michael Schippling schip at santafe.edu
Tue Apr 6 11:57:30 PDT 2010


Hi, silly me but I am developing outside of the tree.
In order to keep my code independent of the TOS distrib
tree, I have a separate directory will all my apps and
modified TOS files. This works just fine, and even allows
me to switch TOS versions with a few simple env-vars...

However when trying to make documentation I get this whine
about -topdir  to which I can't find only one reference of
inscrutable use in the nesc man page:

norton:Robot [548] make mica2 docs
Making documentation for Robot on mica2
nesdoc /cygdrive/c/DATA/PROJECTS/TOS/Robot/doc/nesdoc/mica2 -fnesc-is-app
-I../tos/platform/mica2 -I../tos/interfaces - I../tos/system
-finline-limit=100000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x33 -Wnesc-all
-target=mica2 -fnesc-cfile=build/ mica2/app.c -board=micasb
-DCC1K_DEFAULT_FREQ=RADIO_916BAND_CHANNEL_00 -DRADIO_XMIT_POWER=0xFF
-DCC2420_TXPOWER=TXPOWER_ MAX -DCC2420_DEF_CHANNEL=26
-DIDENT_PROGRAM_NAME="Robot"
-DIDENT_PROGRAM_NAME_BYTES="82,111,98,111,116,0"
-DIDENT_USER_HASH=0x95c1b737L -DIDENT_UNIX_TIME=0x4bbb81c2L Robot.nc
nesc1: ERROR: The current directory is not a subdir of one
nesc1:        of the source topdirs!  Please correct or add
nesc1:        the -nesc-topdir= options
nesc1:
nesc1: CWD: /cygdrive/c/DATA/PROJECTS/TOS/Robot
nesc1:
nesc1: TOPDIRS:
nesc1:      /opt/tinyos-1.1.7
make: *** [docs_] Error 1

Anyone know how I might go about setting this such that I
don't have to copy everything back into a tinyos-1.x tree
just to make docs?

thx
MS




More information about the Tinyos-help mailing list