[Tinyos-help] Compiling for TelosB; get error "unknown MCU: msp430x1611"

Cory Sharp cory.sharp at gmail.com
Fri Mar 18 14:05:28 PST 2005


Shawn,

MSP430 F1611 support is more recent than binutils-2.15.  You'll need
binutils-2.15.96.tar.bz2 which is available under snapshots/ not
releases/.  You can alternatively use the
tools/src/mspgcc/build-mspgcc script to build known good versions of
binutils, mspgcc, and libc.

Cory


On Fri, 18 Mar 2005 10:20:43 -0800, Shawn Schaffert
<sschaffert at gmail.com> wrote:
> I running cygwin/windows, and I tried to compile CntToLeds for the
> telosb, but get an "unknown MCU: msp430x1611" error.  I updated cygwin
> and my TOS tree, re-compile/installed gas, but received the same
> error.  Can anyone help?  Thnaks. Transcript below.
> -Shawn
> 
> /tinyos-1.x/apps/CntToLeds >make telosb
> 
> mkdir -p build/telosb
>    compiling CntToLeds to a telosb binary
> ncc -o build/telosb/main.exe -Os -I%T/lib/Counters -mdisable-hwmul
> -I/cygdrive/c/home/mydocs/tinyos/tinyos-1.x/tos/lib/CC2420Radio
> -I/cygdrive/c/home/mydocs/tinyos/tinyos-1.x/tos/../beta/STM25P/STM25P
> -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
> -fnesc-cfile=build/telosb/app.c -board=
> -DIDENT_PROGRAM_NAME="CntToLeds"
> -DIDENT_PROGRAM_NAME_BYTES="67,110,116,84,111,76,101,100,115,0"
> -DIDENT_USER_ID="sms" -DIDENT_USER_ID_BYTES="115,109,115,0"
> -DIDENT_HOSTNAME="liszt"
> -DIDENT_HOSTNAME_BYTES="108,105,115,122,116,0"
> -DIDENT_USER_HASH=0x59609f00L -DIDENT_UNIX_TIME=0x423a344cL
> CntToLeds.nc -lm
> c:/home/mydocs/tinyos/tinyos-1.x/tos/platform/msp430/MSP430Timer.nc:
> In function `MSP430ClockM$busyCalibrateDCO':
> c:/home/mydocs/tinyos/tinyos-1.x/tos/platform/msp430/MSP430ClockM.nc:149:
> warning: `dco_curr' might be used uninitialized in this function
> Known MCU names:
>         msp1
>         msp2
>         msp430x110
>         msp430x112
>         msp430x1101
>         msp430x1111
>         msp430x1121
>         msp430x1122
>         msp430x1132
>         msp430x122
>         msp430x123
>         msp430x1222
>         msp430x1232
>         msp430x133
>         msp430x135
>         msp430x1331
>         msp430x1351
>         msp430x147
>         msp430x148
>         msp430x149
>         msp430x155
>         msp430x156
>         msp430x157
>         msp430x167
>         msp430x168
>         msp430x169
>         msp430x311
>         msp430x312
>         msp430x313
>         msp430x314
>         msp430x315
>         msp430x323
>         msp430x325
>         msp430x336
>         msp430x337
>         msp430x412
>         msp430x413
>         msp430xE423
>         msp430xE425
>         msp430xE427
>         msp430xW423
>         msp430xW425
>         msp430xW427
>         msp430x435
>         msp430x436
>         msp430x437
>         msp430x447
>         msp430x448
>         msp430x449
> 
> /cygdrive/c/DOCUME~1/sms/LOCALS~1/Temp/ccJQjgyk.s: Assembler messages:
> /cygdrive/c/DOCUME~1/sms/LOCALS~1/Temp/ccJQjgyk.s:2: Fatal error:
> unknown MCU: msp430x1611
> 
> make: *** [exe0] Error 1
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-help
> 
>


More information about the Tinyos-help mailing list