Spin Compiler on RPi?
prof_braino
Posts: 4,313
Is this done with SimpleIDE / Prop GCC?
I've already gotten spin to compile on PC linux, just not the RPi.
Can spin be compiled on the RPi yet?
I've already gotten spin to compile on PC linux, just not the RPi.
Can spin be compiled on the RPi yet?
Comments
Yes. Roy's open-source spin compiler works.
https://code.google.com/p/open-source-spin-compiler/downloads/list
Heater did some work with this .... I think his SimpleIDE package uses it.
Yes, Homespun works (use version 031). Just install monodevelop on your pi first (sudo apt-get upgrade monodevelop I think).
Ross.
propgcc and it's included Prop loader can be compiled on ARM, as can SimpleIDE and the open source Spin compiler. So far they all seem to work well there. Building everything takes about 16 hours and getting the loader to build is a bit tricky.
I have put up a SimplIDE package for the Raspi here: http://forums.parallax.com/showthread.php?141469-SimpleIDE-for-Raspberry-Pi-Raspian This includes a modified version of the loader that also works over the Raspi's on board UART (on the GPIO header) so no USB-Serial adapter is required to program a Prop from the Pi.
I hope to have time to get a new version build out soon so as to catch up with the PC builds.
I have also had success with HomeSpun on ARM.
You don't need anything except a USB cable to program a Propeller from the Pi. If you run out of USB ports (the Pi has two), just add a Hub.
Ross.
Well, except the modified loader in the SimpleIDE for Raspi package and a few bits of wire from Raspi GPIO to Prop.
But yes, that SimpleIDE can also use normal USB-Serial adapters or a PropPlug.
Yes, you're quite right - you can program a "bare" Propeller chip using modified software, the GPIO pins and a couple of wires.
But for anyone whose Propeller board has a USB port (or who has a PropPlug) the simplest solution is just to use a USB cable.
Ross.
Prof_Braino,
Can we remove "UNSOLVED" from this solved thread?