Shop OBEX P1 Docs P2 Docs Learn Events
SimpleIDE 0-9-45 Released for Windows and Mac — Parallax Forums

SimpleIDE 0-9-45 Released for Windows and Mac

Steph LindsaySteph Lindsay Posts: 767
edited 2013-11-26 07:58 in Learn with BlocklyProp
SimpleIDE 0.9.45 installers for Windows and Mac have been posted to Propeller C - Set Up SimpleIDE on the Learn site. Here's what's new:

What's New in 0.9.45 (2013-11-22)
- Improved speed and robustness of Zip Project feature for projects with libraries using temporary file system. This also greatly improved the use of USB SD Card targets.
- Enabled 32bit doubles and all warnings by default for new Project View projects.
- Project View’s new project main.c starts with 2-space indents.
- Enabled programming in Spin with OpenSpin compiler; removes need for BSTC.
- Global SimpleIDE settings are reset or removed upon install and uninstall.
- Includes PropGCC v1.0.0.2162 which updates the following since PropGCC v1.0.0.2054:
-- Uses OpenSpin compiler during build process instead of BSTC.
-- Included fix for EEPROM boot with pruning enabled.
-- Changed optimization that caused the pow() function to misbehave.

(The Learn folder's libraries and examples are the same as the ones distributed on 2013-11-1. )

Comments

  • Mark MaraMark Mara Posts: 64
    edited 2013-11-24 07:02
    I have a SimpleIDE project that uses VGA.spin for the VGA driver. Before the upgrade it worked. Now I get the following error:
    Project Directory: /Users/mam1/Documents/GCC Master/real time controller/ dio/dioc/tags/v 0.9/
    
    propeller-elf-gcc -v GCC 4.6.1 (propellergcc_v1_0_0_2224)
    propeller-elf-gcc -r -Os -mcog -o xmmc/rtc.cog -xc rtc.cogc
    rtc.cogc: In function 'main':
    rtc.cogc:131:5: warning: passing argument 1 of 'strcpy' discards 'volatile' qualifier from pointer target type [enabled by default]
    /opt/parallax/lib/gcc/propeller-elf/4.6.1/../../../../propeller-elf/include/string.h:14:8: note: expected 'char * __restrict__' but argument is of type 'volatile char *'
    rtc.cogc:143:9: warning: passing argument 1 of 'strcpy' discards 'volatile' qualifier from pointer target type [enabled by default]
    /opt/parallax/lib/gcc/propeller-elf/4.6.1/../../../../propeller-elf/include/string.h:14:8: note: expected 'char * __restrict__' but argument is of type 'volatile char *'
    propeller-elf-objcopy --localize-text --rename-section .text=rtc.cog xmmc/rtc.cog
    propeller-elf-gcc -r -Os -mcog -o xmmc/dio.cog -xc dio.cogc
    propeller-elf-objcopy --localize-text --rename-section .text=dio.cog xmmc/dio.cog
    propeller-elf-gcc -r -Os -mcog -o xmmc/gin.cog -xc gin.cogc
    propeller-elf-objcopy --localize-text --rename-section .text=gin.cog xmmc/gin.cog
    bstc.osx -c -o xmmc/VGA VGA.spin
    /opt/parallax/bin/bstc.osx error ... (0)
    

    What do I need to change?

    Thanks.
  • jazzedjazzed Posts: 11,803
    edited 2013-11-24 08:22
    Oops, sorry about the trouble.

    The compiler changed from bstc to openspin. Not sure why it didn't automatically update.

    1. Open menu bar Tools.
    2 Choose Properties to open the properties window.
    3. Select Spin Compiler tab.
    4. Then click Spin Compiler Browse to select openspin.osx.
    5. Click OK.
  • Mark MaraMark Mara Posts: 64
    edited 2013-11-24 08:47
    Thanks. Should I need to download openspin.osx?
  • jazzedjazzed Posts: 11,803
    edited 2013-11-24 09:03
    Mark Mara wrote: »
    Thanks. Should I need to download openspin.osx?

    It should be part of the package.

    Actually, it's just openspin. Mine is in MacHD/opt/parallax/bin/openspin
  • dgatelydgately Posts: 1,630
    edited 2013-11-24 09:18
    EDIT: ARG! Jazzed caught it, already... Ignore me!
    jazzed wrote: »
    4. Then click Spin Compiler Browse to select openspin.osx.

    The openspin binary does not have a ".osx" extension.

    Excerpt from the SimpleIDE Mac OS X installation:
    openspin.png


    just sayin' :innocent:
    dgately
    518 x 501 - 104K
  • Mark MaraMark Mara Posts: 64
    edited 2013-11-24 09:39
    It is working now, but you can't use the browse option to set it. The SimpleIDE browse dialog will not show hidden files even if the finder is set to do so.

    c.jpg
    1024 x 611 - 68K
    c.jpg 68.4K
  • jazzedjazzed Posts: 11,803
    edited 2013-11-24 13:03
    Ya, Mac is kind of silly in that respect. Fortunately, Qt isn't.

    attachment.php?attachmentid=105207&d=1385326987
    1024 x 600 - 77K
  • dgatelydgately Posts: 1,630
    edited 2013-11-24 16:36
    Jazzed,

    At least on 10.8 and 10.9 Mac OS X, any files in /opt don't seem selectable (greyed out in the open dialog) even though my logged-on user owns the whole path from /opt to /opt/parallax/bin/openspin (hmm!). What OS X version are you using?


    Also, to see hidden directories and files in an Open or Save dialogs, you can type Command-Shift-Period (i.e. "Command & Shift & "."). This will show all files/directories. You may need to reset what directory is being viewed by clicking on any other directory and re-clicking on the desired directory to see the effect...


    dgately
  • jazzedjazzed Posts: 11,803
    edited 2013-11-26 07:58
    Hi Mac users.

    For anyone who sees this issue where bstc is still selected after install.

    Please open the Tools menu and click Properties (this opens the Properties window).

    In the Properties window, please select the Spin Compiler tab.
    Check the name of the Spin Compiler in the first text box.

    In the Properties window, please select the General tab.
    Click "Clear Settings" then click "Cancel".

    Restart SimpleIDE and verify that the Spin Compiler in the Properties window is set to "openspin".
Sign In or Register to comment.