Linux Development - rosco-pc/propeller-wiki GitHub Wiki
This is a mirror of Spork Frog's excellent instructions, originally published on the [Propeller Forum A new set up updated instructions can be found [here|Mac and Linux native development]]
A step-by-step guide Rev. 0B
This is a guide to help you set up a development environment for the Propeller under native Linux without the use of VMWare, Bochs, QEmu, VirtualBox, or other similar virtualization products.
Step 1: Prerequisites
All of the following should be installed prior to any of the other steps. Most popular distributions provide these; see your package manager for more information.
Step 2: The Propeller Loader
The one thing when dealing with the Propeller that never seems to work correctly is communication with the chip itself. However, thanks to the great work of Remy Blank, there is now a Python script that runs natively to handle communication. Although it's not as fast as the Propeller IDE, it still gets the job done just fine.
You can find the script here.
Step 3: Propellent
Parallax has recently released a command line version of their popular Propeller IDE and compiler. It can take in a SPIN file, compile it, and with your choice either save a binary/EEPROM file or upload to the Prop directly. Direct upload seems once again not to work under Wine, but the compiler works fine.
You can find it on Parallax's website here.
Step 4: Tying it all together
Copy the following files to the same folder as the SPIN file you wish to compile:
Loader.py
Propellent.dll
Propellent.exe
Edit your SPIN code in your favorite text editor.
Then, through a command line, run the following:
wine Propellent.exe /compile yourfile.spin /savebinary
python Loader.py yourfile.binary -r