Shop OBEX P1 Docs P2 Docs Learn Events
Spin Compiler on RPi? — Parallax Forums

Spin Compiler on RPi?

prof_brainoprof_braino Posts: 4,313
edited 2012-11-06 02:31 in Propeller 1
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?

Comments

  • jazzedjazzed Posts: 11,803
    edited 2012-11-05 16:20
    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?

    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.
  • RossHRossH Posts: 5,463
    edited 2012-11-05 17:05

    Can spin be compiled on the RPi yet?

    Yes, Homespun works (use version 031). Just install monodevelop on your pi first (sudo apt-get upgrade monodevelop I think).

    Ross.
  • Heater.Heater. Posts: 21,230
    edited 2012-11-05 20:06
    prof_braino,

    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.
  • RossHRossH Posts: 5,463
    edited 2012-11-05 21:27
    Heater. wrote: »
    prof_braino,
    ...

    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.

    ...

    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.
  • Heater.Heater. Posts: 21,230
    edited 2012-11-05 21:40
    You don't need anything to program a Propeller from the Pi.

    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.
  • RossHRossH Posts: 5,463
    edited 2012-11-05 23:40
    Heater. wrote: »
    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.
  • Heater.Heater. Posts: 21,230
    edited 2012-11-06 02:31
    With the added bonus that any board normally programmed with a PropPlug can be programmed with just a Pi and those few bits of wire. That's what I do with my Triblade and GadgetGanster board. Things like the ASC that have USB programming require a USB connection which becomes an added hassle in this scenario.

    Prof_Braino,

    Can we remove "UNSOLVED" from this solved thread?
Sign In or Register to comment.