Yup, Eric is right you should move to newer tinyos release and toolchain.

But if you have to keep your old version for some reason (if you are
working with older Blip version for example) you can take a look at
/tos/platforms/z1/.platform file (point in ".platform" is intentional, if
using Ubuntu you will have to set the option to see hidden files) and make
the following change to the corresponding platform:

if (`msp430-gcc --version | grep 3.2.3`){
  push (@opts, "-mmcu=msp430x2617", "-mdisable-hwmul");
} else {
  push (@opts, "-mmcu=msp430f2617");
}


This allows some compatibility between the old 3.2.3 toolchain and newer.

Regards,

--Antonio


On Tue, Apr 16, 2013 at 11:01 PM, Eric Decker <[email protected]> wrote:

>
> TinyOS 2.1.1 is NOT supported with any of the newer > 3.2.3 msp430
> toolchains.
>
>
> Currently you should be using TinyOS 2.1.2  (
> https://github.com/tinyos/tinyos-release)  with the msp430 4.6.3
> toolchain.
>
> You should not be using 4.7 unless you know what you are doing.   But if
> you knew, then you'd know that you needed 2.1.2  :-)
>
>
> The 4.6.3 msp430 toolchain can be obtained from...
> http://tinyprod.net/repos/debian/.     Read the documentation.
>
>
>
> On Tue, Apr 16, 2013 at 3:30 AM, Lynda Algerienne <
> [email protected]> wrote:
>
>> Hi,
>>
>> I am trying to run Tinyos-2.1.1 with msp430-47 but I once I compile
>> telosb I  had the following error :
>>
>> msp430-gcc: erreur: unrecognized command line option ‘-mdisable-hwmul’
>> make: *** [exe0] Erreur 1
>>
>> I will appreciate any help from you.
>>
>> Best regards
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
> --
> Eric B. Decker
> Senior (over 50 :-) Researcher
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
--
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