Shop OBEX P1 Docs P2 Docs Learn Events
SpinWrap - a tool for allowing C or C++ to use Spin Objects - Page 5 — Parallax Forums

SpinWrap - a tool for allowing C or C++ to use Spin Objects

1235»

Comments

  • David BetzDavid Betz Posts: 14,516
    edited 2014-02-28 12:20
    RossH wrote: »
    This is a very useful addition to the Propeller's arsenal of tools - it provides a nice way of wrapping up and interacting with arbitrary Spin objects.
    Thanks Ross! I hope some find it useful.
  • David BetzDavid Betz Posts: 14,516
    edited 2014-03-02 07:07
    I've just created a repository on GitHub containing spinwrap so that you no longer have to check out all of PropGCC just to get the spinwrap sources. I've also replaced my dumb Spin parser with use of the new OpenSpin -s option. This removes Spin source parsing from spinwrap and instead uses the OpenSpin parser which means spinwrap will correctly handle Spin comments and CON definitions. Currently, spinwrap only makes integer-valued CON symbols available to C/C++ programs but float constants will follow shortly.

    The repository is here:

    https://github.com/dbetz/spinwrap

    Thanks Roy for adding the -s option to OpenSpin!!
  • David BetzDavid Betz Posts: 14,516
    edited 2014-03-02 08:42
    I just pushed an update that includes support for float-valued CON symbols.
Sign In or Register to comment.