Hi!

On Sat, 3 Oct 2009, suman tiwari wrote:

> Hi allI have another doubt regarding upgrading Tinyos MSPGCC compiler for
> Msp430f2618. Is it enough to replace msp430 folder(opt/msp430) and including
> extra flags in msp.rules files to handle issue like nesc treats $ as
> separator. Because when we install Tinyos then in third step itself we
> install tool chain mspgcc.rpm, binutils etc. I think we should reinstall
> this this tool chain with latest version of mspgcc.rpm files.Do we actually
> need to reinstall tool chain? And if so how can I get ' '.cygwin.rpm' files
> for latest version of mspgcc because mspgcc.exe is available on the site. Is
> there a way I can generate .rpm format for the file from the available .exe
> format.
>

I don't have Windows rpm yet but if you have a Debian/Ubuntu box can you 
try this toolchain:
        http://cs.jhu.edu/~razvanm/wsn/msp430-binutils+gcc+libc-tinyos.deb

It contains the latest MSP430 toolchain using binutils 2.19.1 and GCC 
3.2.3. The compiler is not patched to allow $ so you'll have to your 
Makefile something like this:
        PFLAGS += -fnesc-separator=__

--
Razvan ME

> On Fri, Oct 2, 2009 at 2:25 AM, aldo <[email protected]> wrote:
>
>> Or...Have you introduced this /opt/msp430 directory in your PATH
>> environmental variable?
>> I say it...because it's possible that if you don't introduce the path in
>> PATH variable, the compiling system use the older GCC already installed in
>> tinyos...
>>
>> 2009/10/1 aldo <[email protected]>
>>
>> If you do: $ msp430-gcc --target-help ...Is there your processor model in
>>> the list?In my gcc version i have the model...
>>>
>>>
>>> 2009/10/1 suman tiwari <[email protected]>
>>>
>>>> Hi all
>>>> I am using msp430f2618 microcontroller and since we have gcc 3.2.3 in
>>>> Tinyos which does not support msp430f2618 ; I am required to upgrade gcc to
>>>> get supprt for msp430f2618. Since latest version of mspgcc 4.3.4 has 
>>>> support
>>>> for msp430f2618; I started  upgrading the tinyos older version compiler 
>>>> with
>>>> newer one.I replaced the msp430 folder(opt/msp430) with the newer msp430
>>>> which has .exe  files for newer compiler and header files for latest 
>>>> version
>>>> of microcontrollers. I also made changes in msp.rules file in order to
>>>> handle the nesc separator '$' issue. Now the problem is that when I am
>>>> compiling  my platform for msp430f1611 it is compiling successfully. It
>>>> means it is picking the header files for the msp430f1611 from the newer
>>>> msp430 folder which I replaced and which simulataneously indicates that I
>>>> got success in making the link between tinyos and my newer compiler.But 
>>>> when
>>>> I am compiling my platform for msp430f2618 it is showing error  "Assembler
>>>> message: fatal error: unknown mcu:2618" while I have all header files for
>>>> 2618 in that msp430 folder. I am unable to figure out the cause of this
>>>> problem. Anyone having any kind of experience for this type of problem
>>>> please reply me.
>>>>
>>>> Thanks
>>>>
>>>>
>>>> _______________________________________________
>>>> Tinyos-help mailing list
>>>> [email protected]
>>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>>
>>>
>>>
>>>
>>> --
>>> aldo
>>>
>>
>>
>>
>> --
>> aldo
>>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to