Page 1 of 1

Eclipse Setup in OSX

Posted: Thu Jan 15, 2015 9:23 pm
by CliffH
At first, my issue was with the Make targets as show below. But more broadly, need help setting up the Eclipe environment and toolchain in OS X.

In this tutorial: https://www.youtube.com/watch?v=chWrNh73YBw

The lower left panel say make target and has options for Build for JTAG, Build for radio bootloader, etc.

My Eclipse Make Target box simply has a directory listing of the Crazyflie files. How do I set up Eclipse to get the Build for radio bootloader and other options to appear?

Re: Eclipse Setup in OSX

Posted: Mon Jan 19, 2015 7:51 pm
by chad
I have an ST-Link/V2 debugger coming in the mail and I use Mac OS X. I haven't set-up an Eclipse IDE for a long time but when the debugger comes, I plan on doing so. I'll post back here with what I find...

Re: Eclipse Setup in OSX

Posted: Tue Jan 20, 2015 10:38 pm
by CliffH
Awesome!

Re: Eclipse Setup in OSX

Posted: Fri Jan 23, 2015 9:03 am
by chad
OK. I just finished setting up Eclipse for building CF firmware natively on Mac OS X. Basically, you don't get any of the functionality Bitcraze has set up in the Eclipse environment on the VM for free, you have to set it up yourself. So that's no big deal, just takes some work. If you don't want to go through the hassle, I'd highly advise using Bitcraze's 0.6 VM since they already went through the hassle of setting everything up there. But, if you're like me and love the pain of doing everything yourself... Here's my long winded tutorial for getting it all working.

It took a while to write (I'm also trying to get my house and family ready for a big cross-country move) and I haven't had any time to proofread it so it's probably pretty raw and full of typos and other problems. In any case, I did get a chance to do a little debugging so I know it works. I haven't had a chance to detail how to do the actual debugging yet (i.e. compiling and flashing debug firmware, starting the external tool, and running the debugger) just the setup - but I guess you can figure it out from there.

Let me know how it goes...

Re: Eclipse Setup in OSX

Posted: Fri Jan 23, 2015 10:04 am
by tobias
Here's my long winded tutorial for getting it all working.
Great tutorial Chad! Something we should have written a long time ago so we are really glad you did it!

Re: Eclipse Setup in OSX

Posted: Fri Jan 23, 2015 4:04 pm
by CliffH
This is awesome Chad. Do you sleep!

Re: Eclipse Setup in OSX

Posted: Fri Jan 23, 2015 7:44 pm
by chad
Thanks! I hope there aren't too many errors. I'll clean it up when I have a chance.
Do you sleep!
Apparently not enough (or maybe I just don't do as much "real" work as I should). ;-)