• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode with Arduino
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Xcode with Arduino
      • From: Louis Demers <email@hidden>
References: 
 >Xcode with Arduino (From: Shane Yost <email@hidden>)

  • Prev by Date: Re: Xcode 4.6 Developer Library Not found?
  • Next by Date: Re: Xcode with Arduino
  • Previous by thread: Xcode with Arduino
  • Next by thread: Re: Xcode with Arduino
  • Index(es):
    • Date
    • Thread