Re: Xcode with Arduino
Re: Xcode with Arduino
- Subject: Re: Xcode with Arduino
- From: Louis Demers <email@hidden>
- Date: Mon, 28 Jan 2013 20:31:05 -0500
If you have command line tools for the arduino, simply create a makefile with various targets (compile,download...)
Then create a project in Xcode with a foreign/external build. Crate targets that in invoke your makefile targets.
Haven't configured it with 4.x ( the nomenclature has changed) yet but that is how we develop embedded code for our xscale based boards.
From Louis' iPhone
On 2013-01-28, at 20:07, Rick Mann <email@hidden> wrote:
>
> 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
_______________________________________________
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