Linux Software for compiling propeller programs.
bomber
Posts: 297
Hi all! So I've been working on setting up a linux server, and I am hoping to embed a prop in it for controlling some additional hardware (things such as tamper detection, better management of cooling, etc.). I will be connecting the prop to an internal USB port, and I want to be able to remotely program it through my SSH connection. I am running linux server version 12.04, and I am running it without a GUI. Is there any software that can be run via command line that compiles a .spin file and uploads it to a connected prop?
Comments
Grab them, build them and you should be ready to compile and load load from the command line!
What a great quote, if I say so myself:)
Bomber, you may also be be interested in BSTC and BSTL the command line Spin compiler and loader that is available for Windows, Mac and Linux. Downloadable from here : http://www.fnarfbargle.com/bst.html
There is also the HomeSpun Spin compiler http://propeller.wikispaces.com/Homespun+Spin+Compiler
The only Linux problem with it is that Ubuntu has done something that prevents use of the binary. I had to switch to Debian and abandon Ubuntu. Not actually a big deal, but I had used Ubuntu since 10.10 for all and everything.
Your mention of version 12.04 sounds suspiciously like an Ubuntu version, the Linux kernel itself should be a verson 3.xxx.
Hmmm. you did mention that you did NOT want a GUI and Brad's Spin Tool is that for the most part. But there are several Command line binariies as well that might be exactly what you seek. Those are the BSTC and BSTL that were mentioned above.
They may work well inspite of the full GUI being broken in recent Ubuntu versions, just because the failure might be somewhere in how Ubuntu changed the GUI.
There is nothing to install. Just make them executable: Where "username" is whatever your login name is.
Then you can just run them as: I think I would copy them to /usr/bin so that you can just type the names like normal Linux commands, dropping the ".linux" part as we go:
Next up we need web based working. Spin editor in the browser, compiler/loader and Propeller on the server.
Are you any good at HTML5, CSS3 and JavaScript?
Because we are terrible. But first experiments are here: http://the.linuxd.org:3000
Look a Parallax's very own Chip Gracey. I don't think he went to programming school. But look what wonders he has created.
Absolutely everything ties into it as part of the file system. i/o ports are listed as files and of only two types -- character-by-character transfer or block transfer.
Find a shorter introduction to get started. I have "How Linux Works: what every superuser should know" by Brian Ward. It is a very pleasant informative read and might be found used or at your public library.
There is also a huge library of free Linux publications in pdf form that can be downloaded, including the topic of Systems Administration. You really don't have to buy a lot of books. In general, if you get stuck, the Ubuntu formums are very good at problem resolution... a lot of helpful people.