Makefile:
COMPONENT=PppRouterC
# PFLAGS += -DENABLE_SPI0_DMA
# PFLAGS += -DCC2420_DEF_CHANNEL=21

CFLAGS += -DMAX_PARENT=1
CFLAGS += -DROUTE_TABLE_SZ=3

Results:
warning: variable ‘in_actions’ set but not used [-Wunused-but-set-variable]
    compiled PppRouterC to build/z1/main.exe
           37350 bytes in ROM
            8134 bytes in RAM
msp430-objcopy --output-target=ihex build/z1/main.exe build/z1/main.ihex
    writing TOS image
a-linan@zolertia:~/Desktop/TinyOS/tinyos-github/apps/PppRouter$

--Antonio

On Wed, Mar 20, 2013 at 2:57 PM, Jhon James <[email protected]> wrote:

> defined them in makefile and commented the lines as instructed here is the
> error
>
>
>
>
> /usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld:
> build/z1/main.exe section `.bss' will not fit in region `ram'
> /usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: region `ram'
> overflowed by 1218 bytes
>
> collect2: ld returned 1 exit status
> make: *** [exe0] Error 1
>
> Regard's
>
>
> On Wed, Mar 20, 2013 at 1:29 PM, Antonio Linan <[email protected]>wrote:
>
>> Add those defines to the Makefile, if you want to know where are defined
>> by default use something like grep/find.
>>
>> --Antonio
>>
>>
>> On Wed, Mar 20, 2013 at 2:23 PM, Jhon James <[email protected]> wrote:
>>
>>> Hello Antonio,
>>>
>>>
>>> // UDP shell on port 2000// components UDPShellC;
>>>  // prints the routing table// components RouteCmdC;
>>>
>>>
>>>
>>> It is not mentioned in which file you need to comment these files.
>>> PppRouterC.nc is the file in which I found these links to comment
>>>
>>> http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0
>>>
>>> You can update that link. Also I want to ask that those defines
>>>
>>> #define MAX_PARENT 1
>>> #define ROUTE_TABLE_SZ 3
>>>
>>> where we have to define them?? I mean in the same PppRouter.nc file?
>>> Moreover
>>>
>>> his is test code not committed to trunk (not will ever be), when we
>>> manage to get a final solution that makes us feel comfortable and gets
>>> accepted by the core we will bring these changes to main trunk, at the
>>> moment all the testing can be found r*eferenced here*, and soon at My
>>> GitHub in a test branch
>>>
>>> by 'referenced here' you mean this page (
>>> http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0) or some
>>> other??
>>>
>>>
>>>
>>> On Wed, Mar 20, 2013 at 11:15 AM, Jhon James <[email protected]>
>>> wrote:
>>> > Hello Antonio,
>>> >
>>> > Thanks for the pointer. I just scrolled the page down. and read
>>> > further. I thought that page was quite an old one. That is why I asked
>>> > whether that implementation is included in the latest release or not.
>>> > I will change the code and will get back to you if I will need any
>>> > further help.
>>> >
>>> > Thanks once again.
>>> >
>>> > Regard's
>>> >
>>> > On Wed, Mar 20, 2013 at 11:00 AM, Antonio Linan <[email protected]>
>>> wrote:
>>> >> Examples are self explanatory:
>>> >>
>>> >> make z1 blip install,2 bsl,/dev/ttyUSB1
>>> >>
>>> >>
>>> >> Replace ttyUSB1 for whatever port the mote is assigned.
>>> >>
>>> >> --Antonio
>>> >>
>>> >>
>>> >> On Wed, Mar 20, 2013 at 11:58 AM, Antonio Linan <[email protected]>
>>> wrote:
>>> >>>
>>> >>> Read the wiki, again but carefully, it shows the files you need to
>>> change
>>> >>> for the applications to compile, and the code examples already
>>> points out
>>> >>> how to set the node id on compilation (install,X where X is the
>>> desired ID).
>>> >>>
>>> >>> --Antonio
>>> >>>
>>> >>>
>>> >>> On Wed, Mar 20, 2013 at 11:54 AM, Jhon James <[email protected]>
>>> wrote:
>>> >>>>
>>> >>>> Hello Help Desk, Antonio and Eric,
>>> >>>>
>>> >>>> I was trying to install 6LowPAN Blip implementation on Z1 motes
>>> using
>>> >>>> the following link
>>> >>>>
>>> >>>> http://zolertia.sourceforge.net/wiki/index.php/Blip_v2.0
>>> >>>>
>>> >>>>
>>> >>>> I have the latest release of the TinyOs and the problem that I am
>>> >>>> currently having is that when I try to install the Ppp_Router
>>> example
>>> >>>> I get the following error
>>> >>>>
>>> >>>>  make z1 blip install,1
>>> >>>>
>>> >>>> /root/top/t2_cur/tinyos-release/tos/lib/ppp/LcpAutomatonP.nc: In
>>> >>>> function ‘LcpAutomatonP__0__processEventActions_’:
>>> >>>> /root/top/t2_cur/tinyos-release/tos/lib/ppp/LcpAutomatonP.nc:543:93:
>>> >>>> warning: variable ‘in_actions’ set but not used
>>> >>>> [-Wunused-but-set-variable]
>>> >>>> /usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld:
>>> >>>> build/z1/main.exe section `.bss' will not fit in region `ram'
>>> >>>> /usr/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld: region
>>> >>>> `ram' overflowed by 1534 bytes
>>> >>>> collect2: ld returned 1 exit status
>>> >>>> make: *** [exe0] Error 1
>>> >>>>
>>> >>>>
>>> >>>> Now I believe that the latest tinyos-release does not contain the
>>> >>>> compressed implementation of the blip for z1 motes. Is that right???
>>> >>>>
>>> >>>>
>>> >>>> Also how we know from here that the node id is 1?? I mean I did not
>>> >>>> burn the node id. The motes are new motes that I recieved almost a
>>> >>>> month ago. I only burnt the LED blink code just to blink the LED's
>>> and
>>> >>>> they work perfectly okay.
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> Also I want to ask that when I do
>>> >>>>
>>> >>>> make z1 install
>>> >>>>
>>> >>>> it installs the firmware in ttyUSB0 device and i believe that
>>> MOTECOM
>>> >>>> variable tell which one to program. Now I have a 3 nodes one is
>>> >>>> ttyUSB0, other is ttyUSB1 and the third is ttyUSB2. What argument to
>>> >>>> pass in order to access the particular node??
>>> >>>>
>>> >>>>
>>> >>>> Regard's
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>> --
>>> >>> Antonio Liñan Colina
>>> >>> R+D+I Engineer
>>> >>> @: [email protected]
>>> >>> @: [email protected]
>>> >>> ------------------------------
>>> >>> Advancare
>>> >>> T: +34 93 582 02 70
>>> >>> http://www.advancare.com
>>> >>> http://www.zolertia.com
>>> >>> http://zolertia.sourceforge.net
>>> >>> http://webshop.zolertia.com
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> --
>>> >> Antonio Liñan Colina
>>> >> R+D+I Engineer
>>> >> @: [email protected]
>>> >> @: [email protected]
>>> >> ------------------------------
>>> >> Advancare
>>> >> T: +34 93 582 02 70
>>> >> http://www.advancare.com
>>> >> http://www.zolertia.com
>>> >> http://zolertia.sourceforge.net
>>> >> http://webshop.zolertia.com
>>>
>>>
>>
>>
>> --
>> --
>> Antonio Liñan Colina
>> R+D+I Engineer
>> @: [email protected]
>> @: [email protected]
>> ------------------------------
>> Advancare
>> T: +34 93 582 02 70
>> http://www.advancare.com
>> http://www.zolertia.com
>> http://zolertia.sourceforge.net
>> http://webshop.zolertia.com
>>
>
>


-- 
--
Antonio Liñan Colina
R+D+I Engineer
@: [email protected]
@: [email protected]
------------------------------
Advancare
T: +34 93 582 02 70
http://www.advancare.com
http://www.zolertia.com
http://zolertia.sourceforge.net
http://webshop.zolertia.com
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to