Re: Xcode with Arduino
Re: Xcode with Arduino
- Subject: Re: Xcode with Arduino
- From: Rick Mann <email@hidden>
- Date: Mon, 28 Jan 2013 17:07:56 -0800
On Jan 28, 2013, at 16:58 , Shane Yost <email@hidden> wrote:
> I started messing around with a Arduino kit. It comes with a compiler you download off the Arduino's website for mac. I'm wanting to utilize Xcode as my compiler instead of the one I had to download off Arduino's website. Is there any good information/guidance on the correct procedure to upload source code to my Arduino board using Xcode. My current version is 4.5.2.
There are a bunch of reasons why you can't really do that. First off, the Arduino uses an AVR MCU, and Xcode, by default, doesn't have a compiler that targets that platform. It might be possible to configure Xcode to run the tools, but I don't know how. You'd have to install CrossPack AVR or something like that.
Next comes downloading. You'd have to do something with run scripts to get that to work. And I don't know of any command-line tool for bootloading an arduino.
Then there are the arduino libraries, which even CrossPack won't get you (to use CrossPack, you'll generally be flashing the MCU directly, using something like the AVR ISP Mk II).
In short, it's a lot of work, and probably can't really be done.
--
Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden