Eclipse Setup in OSX

Firmware/software/electronics/mechanics
Post Reply
CliffH
Beginner
Posts: 28
Joined: Mon Jun 16, 2014 5:45 pm

Eclipse Setup in OSX

Post 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?
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Eclipse Setup in OSX

Post 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...
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
CliffH
Beginner
Posts: 28
Joined: Mon Jun 16, 2014 5:45 pm

Re: Eclipse Setup in OSX

Post by CliffH »

Awesome!
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Eclipse Setup in OSX

Post 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...
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Eclipse Setup in OSX

Post 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!
CliffH
Beginner
Posts: 28
Joined: Mon Jun 16, 2014 5:45 pm

Re: Eclipse Setup in OSX

Post by CliffH »

This is awesome Chad. Do you sleep!
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Eclipse Setup in OSX

Post 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). ;-)
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Post Reply