energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
794 stars 672 forks source link

armhf Raspberry Pi binaries of msp430 tools? #202

Open jackokring opened 11 years ago

jackokring commented 11 years ago

It would be nice to have the msp430 tools work on the Pi without hacking the ant script, and making a new msp430 tools archive, form some unreferenced source with the BSL fix.

robertinant commented 11 years ago

I am hoping that somebody in the community will pick this one up and send us a pull request. I don't think we will have the resources to get to this any time soon. I will add it to the list of nice to haves though.

jheiselman commented 10 years ago

I may be able to do this. I am currently working on getting energia to work properly on my RPi. I have fixed the build.xml file in the Energia project to run properly on the RPi and the main IDE builds without errors.

I had to swap out the librxtxSerial.so in the lib directory with one compiled for armhf (from the raspbian repository) and then the IDE ran well without issues. It properly detected my Tiva C connected via USB.

I am currently working to build the hardware/tools directory (I assume these are the msp430 tools meantioned by jackokring above). If I get them to work, I will put all my changes together and do a pull request.

robertinant commented 10 years ago

That would be awesome. I think @StefanSch already did some work on compiling the msp430 toolchain for arm. @StefanSch, can you share the patches you had to do to get mspgcc to compile for arm host?

StefanSch commented 10 years ago

Hi,

i just pushed my branch (run_on_arm_BBB) which contains the changes i had to do to get Energia running in the Beaglebone Black (BBB). I think for the RPi it should be easier as the Angstrom distri does have many tools not available by the shelf and i had to recompile it manually. The branch has two updated files (build.xml and build-mspgcc). I also commited the file Energia for MSP430 on Beaglebone.pdf It contains the step i had to do for get everything running. I really would be interested on how it is working on the RPi.

jheiselman commented 10 years ago

While I've been successful in getting mspgcc to compile on my Raspberry Pi. Energia runs, but when I try to compile, it complains about not being able to find arm-none-eabi-gcc (or something similar to that. My RPI is currently undergoing reinstallation.)

I tried to do some research on building this binary, but couldn't find much good information. If someone could point me in the right direction, then I can see if I can get it back on track.

StefanSch commented 10 years ago

Have you followed the instructions in the pdf file in the branch on git which i have posted? I think there is one point missing: Beside/instead of copying the compiler files to cp -r ~/opt/mspgcc_energia/* /usr/local/ you may have also to copy them into the Energia build folder. cp -r ~/opt/mspgcc_energia/* Energia_dir/build/linux/work/hardware/tools/msp430/

cjdg commented 8 years ago

hi guys how i can help about the armhf port?