HI,

    Thank you Thomas for your reply!


    I can compile PppRouter on telosb platform. I used Ubuntu 12.04 with nescc 
1.3.5, msp430-gcc 4.6.3. 
It is compile-time infomation. It used 9516 bytes in RAM and  48482 bytes in 
ROM. Is the image size larger than yours?


********************************************************************
root@ubuntu:/opt/tinyos-2.1.2/apps/PppRouter# make telosb blip
[INFO] compiling PppRouterC to a telosb binary
nescc -o build/telosb/main.exe  -Os -DRPL_ROUTING -DRPL_STORING_MODE 
-I../../tos/lib/net/rpl -I../../tos/lib/ppp -I../../tos/lib/fragpool 
-DPPP_HDLC_RX_FRAME_LIMIT=1 -DPPP_HDLC_TX_FRAME_LIMIT=8 -DIN6_PREFIX=\"fec0::\" 
-DBLIP_DERIVE_SHORTADDRS -gcc=msp430-gcc -Wnesc-all -fnesc-include=tos 
-fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask
 -fnesc-cfile=build/telosb/app.c -fnesc-separator=__ 
-DDEFINED_TOS_AM_GROUP=0x22 -DCC2420_HW_ACKNOWLEDGEMENTS 
-DCC2420_HW_ADDRESS_RECOGNITION -DPACKET_LINK -DTOSH_DATA_LENGTH=112 
-I../../tos/lib/net/ -I../../tos/lib/printf/ -I../../tools/tinyos/c/blip/ 
-I../../tos/lib/net/blip/ -I../../tos/lib/net/blip/interfaces/ 
-I../../tos/lib/net/blip/nwprog/ -I../../tos/lib/net/blip/shell/ 
-I../../tos/lib/net/blip/serial/ -I../../tos/lib/net/blip/platform/ 
-I../../tos/lib/net/blip/icmp/ -I../../tos/lib/net/blip/dhcp/ 
-I../../tos/platforms/telosb -I../../tos/platforms/telosb/chips/stm25p 
-I../../tos/platforms/telosa -I../../tos/platforms/telosa/chips/cc2420 
-I../../tos/platforms/telosa/chips/s1087 
-I../../tos/platforms/telosa/chips/s10871 
-I../../tos/platforms/telosa/chips/sht11 
-I../../tos/platforms/epic/chips/ds2411 -I../../tos/chips/cc2420 
-I../../tos/chips/cc2420/alarm -I../../tos/chips/cc2420/control 
-I../../tos/chips/cc2420/csma -I../../tos/chips/cc2420/interfaces 
-I../../tos/chips/cc2420/link -I../../tos/chips/cc2420/lowpan 
-I../../tos/chips/cc2420/lpl -I../../tos/chips/cc2420/packet 
-I../../tos/chips/cc2420/receive -I../../tos/chips/cc2420/spi 
-I../../tos/chips/cc2420/transmit -I../../tos/chips/cc2420/unique 
-I../../tos/chips/cc2420/security -I../../tos/chips/msp430 
-I../../tos/chips/msp430/adc12 -I../../tos/chips/msp430/dma 
-I../../tos/chips/msp430/pins -I../../tos/chips/msp430/timer 
-I../../tos/chips/msp430/usart -I../../tos/chips/msp430/sensors 
-I../../tos/chips/stm25p -I../../tos/chips/sht11 -I../../tos/chips/ds2411 
-I../../tos/lib/timer -I../../tos/lib/serial -I../../tos/lib/power 
-I../../tos/lib/onewire -mmcu=msp430f1611 -fnesc-target=msp430 -fnesc-no-debug 
-DPLATFORM_TELOSB -Wall -Wshadow -I../../tos/system -I../../tos/types 
-I../../tos/interfaces -DIDENT_APPNAME=\"PppRouterC\" -DIDENT_USERNAME=\"root\" 
-DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0xa3473ba6L 
-DIDENT_TIMESTAMP=0x53d204e7L -DIDENT_UIDHASH=0x82968f58L -fnesc-dump=wiring 
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
components)' -fnesc-dumpfile=build/telosb/wiring-check.xml PppRouterC.nc -lm  
../../tools/tinyos/c/blip/lib6lowpan/iovec.c 
../../tools/tinyos/c/blip/lib6lowpan/in_cksum.c 
../../tools/tinyos/c/blip/lib6lowpan/ip_malloc.c 
../../tools/tinyos/c/blip/lib6lowpan/utility.c ../../tos/lib/net/blip/table.c
../../tos/platforms/telosa/PlatformHdlcUartC.nc:40:2: warning: #warning 
Enabling DMA on UART1RX
../../tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning "*** LOW POWER 
COMMUNICATIONS DISABLED ***"
../../tos/chips/cc2420/link/PacketLinkC.nc:38:2: warning: #warning "*** USING 
PACKET LINK LAYER"
../../tos/lib/net/blip/shell/UDPShellP.nc:260: warning: call via function 
pointer
../../tos/platforms/telosa/PlatformHdlcUartP.nc:181: warning: 
`HdlcUart.receivedByte' called asynchronously from `UsartInterrupts.rxDone'
../../tos/chips/msp430/dma/HplMsp430DmaXP.nc: In function 
‘HplMsp430DmaXP__2__DMA__setState’:
../../tos/chips/msp430/dma/HplMsp430DmaXP.nc:220:25: warning: dereferencing 
type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../../tos/chips/msp430/dma/HplMsp430DmaXP.nc:220:25: warning: dereferencing 
type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../../tos/lib/ppp/PppP.nc: In function ‘PppP__processError_task__runTask’:
../../tos/lib/ppp/PppP.nc:413:16: warning: variable ‘ifd’ set but not used 
[-Wunused-but-set-variable]
../../tos/lib/ppp/PppP.nc:412:15: warning: variable ‘in_frame_error’ set but 
not used [-Wunused-but-set-variable]
PppRouterP.nc: In function ‘PppRouterP__Boot__booted’:
PppRouterP.nc:57:11: warning: variable ‘rc’ set but not used 
[-Wunused-but-set-variable]
../../tos/lib/ppp/LcpAutomatonP.nc: In function 
‘LcpAutomatonP__1__processEventActions_’:
../../tos/lib/ppp/LcpAutomatonP.nc:543:81: warning: variable ‘in_actions’ set 
but not used [-Wunused-but-set-variable]
../../tos/lib/ppp/LcpAutomatonP.nc: In function 
‘LcpAutomatonP__0__processEventActions_’:
../../tos/lib/ppp/LcpAutomatonP.nc:543:93: warning: variable ‘in_actions’ set 
but not used [-Wunused-but-set-variable]
           48482 bytes in ROM
            9516 bytes in RAM
[INFO] creating ihex file
[INFO] writing TOS image
[INFO] writing TOS buildinfo
[INFO] running the wiring check
********************************************************************



--

Thanks for your attention.


Best regards.



在 2014-07-24 10:51:01,"Thomas Pötsch" <t...@comnets.uni-bremen.de> 写道:
>Hi Alex,
>
>I compiled and installed PppRouter successfully with msp430-gcc 4.6.3 and 
>nescc 1.3.4 on TelosB nodes. (I just reinstalled everything from scratch)
>I am using the latest checkout of tinyos from github and Ubuntu 14.04.
>
>Viele Grüße,
>Thomas Pötsch
>
>> Hi,
>> 
>> 
>>     Has anyone successfully installed msp430-gcc version 4.6.3 or above and
>> compiled PppRouter successfully?
>> 
>> 
>>     Which version of Ubuntu are you using?
>> 
>> 
>> 
>> 
>> --
>> 
>> Thanks for your attention.
>> 
>> 
>> Best regards.
>
>_______________________________________________
>Tinyos-help mailing list
>Tinyos-help@millennium.berkeley.edu
>https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to