Export to GitHub

tinyos-msp430 - issue #7

Interface not found compilation problem


Posted on Jan 31, 2012 by Helpful Cat

Hi,

followed the install documentation at http://code.google.com/p/tinyos-msp430/wiki/PathStructure.

When trying to compile a example like /opt/tinyos/root/apps/tests/msp430-small/timer16/Blink1Sec I get the following:

make ez430rf2500 mkdir -p build/ez430rf2500 compiling Blink1SecAppC to a ez430rf2500 binary ncc -o build/ez430rf2500/main.exe -Os -mmpy=none -mdisable-watchdog -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=ez430rf2500 -fnesc-cfile=build/ez430rf2500/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"Blink1SecAppC\" -DIDENT_USERNAME=\"ubuntu\" -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0xf67b89f7L -DIDENT_TIMESTAMP=0x4f27434eL -DIDENT_UIDHASH=0xa9442de7L Blink1SecAppC.nc -lm In file included from Blink1SecAppC.nc:36: In component Blink1SecC': Blink1SecC.nc:37: interface Led not found Blink1SecC.nc: In functionBoot.booted': Blink1SecC.nc:50: interface has no command or event named on' Blink1SecC.nc: In functionTimer.fired': Blink1SecC.nc:61: interface has no command or event named toggle' In componentBlink1SecAppC': Blink1SecAppC.nc: At top level: Blink1SecAppC.nc:36: component LedC not found Blink1SecAppC.nc:42: cannot find `Led0' make: * [exe0] Error 1

Comment #1

Posted on Jan 31, 2012 by Happy Camel

The Led.nc interface can find tinyos-2.x current branch. It doesn't exist in tinyos-2.1.1.3.

Could you please configure scripts-tinyos-msp430/config.subr to set tinyos_main_release=current and try again?

I'll update the config.subr as described above.

Thanks.

Status: Fixed

Labels:
Type-Defect Priority-Medium