Shop OBEX P1 Docs P2 Docs Learn Events
Simple Ide for Raspberry pi - Page 2 — Parallax Forums

Simple Ide for Raspberry pi

2»

Comments

  • Heater.Heater. Posts: 21,230
    edited 2013-09-21 10:51
    That looks like just what I had in mind.

    RAM is a good idea too. Don't foreget a LED even if only for power.

    When can we have some?

    There are 1.7 million Pi out in the field. There could be a nice market for such a board. Especially if you can get a write up in the Raspeberry Pi magazine MagPi.
  • Heater.Heater. Posts: 21,230
    edited 2013-09-21 17:09
    Looks like my SimpleIDE compilation on the Pi is not going to work this weekend.

    After much compiling the Pi crashes out. Tried it twice now.

    Tried to image raspian onto a new Tanscend 8GB Class 10 SD card. Can't get any PC to recognize that as a working device "unable to enumerate USB device on port 7" in my only SD card reader/writer and it does not boot the Pi at all!

    Grrr... I knew there was a reason I used to do this under qemu.
  • Heater.Heater. Posts: 21,230
    edited 2013-09-24 11:55
    Well, it took 21 hours to compile propgcc on my Raspi! I guess you were right Bill, an NFS share is not faster than working directly on the Raspi's SD card.

    I have posted the resulting SimpleIDE package to dropbox. See my post here:

    http://forums.parallax.com/showthread.php/150441-SimpIe-IDE-for-Debian-%28x86%29-and-Raspbian-%28Raspberry-Pi%29?p=1208981#post1208981
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2013-09-24 12:15
    Heater. wrote: »
    Well, it took 21 hours to compile propgcc on my Raspi! I guess you were right Bill, an NFS share is not faster than working directly on the Raspi's SD card.

    I have posted the resulting SimpleIDE package to dropbox. See my post here:

    http://forums.parallax.com/showthread.php/150441-SimpIe-IDE-for-Debian-%28x86%29-and-Raspbian-%28Raspberry-Pi%29?p=1208981#post1208981

    Yes! Thank you Heater! I'll have to try this out tonight...

    IIUC, this will compile code, so what is missing now is a way to upload to the Propeller?

    Jeff
  • Heater.Heater. Posts: 21,230
    edited 2013-09-24 12:25
    OBC,

    As far as I can tell SimpleIDE will use propeller-load to program the Propeller on the Raspi. At least it did when I last built this a year ago. Now I see we get p2load in the package as well so it might even work for those who have a PII in FPGA.

    Hopefully I have some time to check this out tomorrow.

    I have a version of propeller-load that worked using the Raspi's UART on its GPIO. That means a direct connection from Raspi GPIO pins to Propeller, no USB serial adapter required. Looks like I have some work to do to get that working again in the new propeller-load version (and p2load).
  • Heater.Heater. Posts: 21,230
    edited 2013-09-24 13:09
    propeller-load works fine from the Raspberry Pi.
    At least as far as the "GENERIC", "LMM" Hello program.
    Had no luck with CMM.
  • Heater.Heater. Posts: 21,230
    edited 2013-09-24 13:27
    Oh God. Some Windows person has been all over this and now we have file names with spaces everywhere. Do they have any idea how annoying that is for a command line user?

    For example we now have:
    $ ls SimpleIDE
    Learn  My Projects  Propeller GCC Demos
    

    Which is actually:
    $ ls -l SimpleIDE
    total 12
    drwxr-xr-x  4 pi pi 4096 Sep 24 10:57 Learn
    drwxr-xr-x  6 pi pi 4096 Sep 24 23:07 My Projects
    drwxr-xr-x 10 pi pi 4096 Sep 24 10:57 Propeller GCC Demos
    

    Please can someone fix this, and the habit, before it infects everything.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2013-09-24 15:16
    Doesn't the TAB key trick deal with this problem efficiently? I can't remember if it handles spaces.. (goes off to test, edit:yup.. works in Mint)

    Type: cd Prop[TAB]
    Displays: cd Propeller\ GCC\ Demos/


    Jeff
  • jazzedjazzed Posts: 11,803
    edited 2013-09-24 18:47
    OBC, your examples are good. Quotes need to be used in lots of cases though. It is not clear how well Makefiles work with spaces in paths.

    SimpleIDE is immune to "space disease" because under the hood the programs being run are called in a special way that makes spaces not meaningful. I don't really like spaces in file or directory names - spaces are usually treated as delimiters.
  • Heater.Heater. Posts: 21,230
    edited 2013-09-24 22:49
    Jeff,

    The tab thing works. The output is really jarring though. Just say no to spaces in file names.
Sign In or Register to comment.