»
«


Printing to the Serial Monitor on OS X!

With revision 115, the maple IDE works on OS X 10.5, provided you use an external power source (due to the dfu problems mentioned above. To build it, make sure you have developer tools installed. There is an external dependency on two GNU libraries, gmp and mpfr. These can be obtained through macports.

First, go to http://www.macports.org/ and follow the installation instructions. Then open a terminal and type

sudo port install mpfr

This should install libgmp and libmpfr. Next, check out the code repository at http://code.google.com/p/leaflabs

open up a terminal, change to the directory

leaflabs/trunk/maple/build/macosx

and then run appbuild.sh

this will create the application for you and place it into the work directory ready for use.

To flash code, first set the board to maple, and make sure your maple is powered externally or via battery. The first time you try to flash, things will hang up at “Claiming USB DFU Interface…”. When this happens, unplug the usb cable and plug it back in. When you next click upload, everything should work. Ive got mine sitting here blinking right now.

Additionally, the serial monitor works under mac. It should set itself up automatically, but if not, once your code is running go to the tools->serial port menu and select something like “/dev/tty.usbmodem411″.

Hope this works for you all. A pre-built app should be available on the website shortly.

Unfortunately, it seems that there are problems getting libmpfr to play nicely with Snow Leopard (OS X 10.6). We’re currently looking into this, and will let you know when we have  a fix.


This entry was posted by bbradlyn on Wednesday, January 13th, 2010 at 10:12 pm. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

4 Responses


  1. Written by tefman3d
    on January 16, 2010 at 10:59 am
    Permalink

    Hey I click to go to googlecode link …….see it for 2sec, then it dissappears!

    what gives?

    best -tefman

  2. Written by bbradlyn
    on January 16, 2010 at 7:11 pm
    Permalink

    Weird.. well, heres the URL:

    http://code.google.com/p/leaflabs

  3. Written by tefman3d
    on January 26, 2010 at 11:37 pm
    Permalink

    “A pre-built app should be available on the website shortly.”

    Soon? Pretty Please? W/ sugar? …..Maple Sugar?

    Thanz in Advanze.. -tefman



Contact webmaster@leaflabs.com with website issues

Powered by WordPress, nginx, Linux, and coffee.

This site intended to be valid HTML 4.01 Strict. Best viewed with any standards-compliant browser.

Copyright LeafLabs, LLC, ©2009-2011.
Unless otherwise noted, all content on this website is released under the Creative Commons Attribution Licence 3.0

Hello Anonymous! Login?