LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   MSP430 Linux Support (https://www.linuxquestions.org/questions/slackware-14/msp430-linux-support-947938/)

business_kid 06-01-2012 04:53 AM

MSP430 Linux Support
 
This is probably a forlorn hope, but

Has anyone installed the msp430 stuff on Slackware?
There's mspgcc, msplibc, msp-binutils, and mspdebug, to name but a few.

/Even more forlorn hope
Slackpkg files?

business_kid 06-08-2012 12:57 PM

Guess it waas a forlorn hope. Timing out on this

tux-tor 07-08-2012 04:53 AM

I believe this will work
 
The link below describes how to build all the necessary parts from source and therefore
is not bound to any distribution.

https://github.com/sergiocampama/Lau...ster/README.md

(I did it under Kubuntu without any problem)

For some parts (like mspdebug) it pays off to check for newer versions. My experience with msp430-gcc is that version 4.5.3 generates more efficient code than 4.6.x.

Most notably subtracting two *p_to_unsigned char pointers is good in 4.5.3 and bad in 4.6.x

Kees

knudfl 07-08-2012 06:20 AM

Also :
There is a good chance that the binary Ubuntu packages will work as is.
( ar -x <package> && mv data.tar.gz <name>.tgz ( Or use alien to convert to tgz.))

i386 examples :
https://launchpad.net/ubuntu/oneiric...5.2-20110612-1
> http://launchpadlibrarian.net/739048...612-1_i386.deb
>> gcc-msp430_4.5.3~mspgcc-4.5.2-20110612-1_i386.deb

https://launchpad.net/ubuntu/oneiric...mcu/20110613-1
> http://launchpadlibrarian.net/735048...0613-1_all.deb
>> msp430mcu_20110613-1_all.deb

https://launchpad.net/ubuntu/oneiric/i386/msp430-libc
> http://launchpadlibrarian.net/742272...612-1_i386.deb
>> msp430-libc_20110612-1_i386.deb

https://launchpad.net/ubuntu/oneiric...~msp20110421-2
> http://launchpadlibrarian.net/736948...421-2_i386.deb
>> binutils-msp430_2.21~msp20110421-2_i386.deb

.

Jack128 07-09-2012 12:44 AM

I've builded them quite a bit ago. Maybe they are useful for you:

> ftp://hermann-mayer.net/pub/slackwar...opment/msp430/

Regards, Jack.

business_kid 07-09-2012 03:14 AM

Thanks to all of you. This sat here for a month and then got 3 replies in one day. Have the Slackbuilds and the x86 packages, bookmarked the building instructions, and in the face of these, turned up my nose at the debs.

In the intervening time, the project has shifted ground, and it appears I now can do it without a cpu at all, which suits big time as the College don't come on board with C fast enough, and I would probably have had to go to assembler, which I know and detest. No cpu is all the more welcome since my wife is unwell and I'm nurse atm.


All times are GMT -5. The time now is 11:43 AM.