• 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: Philip Ershler <email@hidden>
  • Date: Mon, 28 Jan 2013 20:02:23 -0700

On Jan 28, 2013, at 6:41 PM, Wim Lewis <email@hidden> wrote:

>
> On 28 Jan 2013, at 4:58 PM, Shane Yost 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.
>
> Xcode doesn't have a compiler that can generate AVR code. You could configure Xcode to use the crosscompiler and linker that comes with the Arduino distribution --- it's an oldish version of gcc --- and you could create a scheme or build phase that uploads the program to the arduino using avrdude, which is also inside the Arduino distribution somewhere. And the avr C libraries are also in there.
>
> (At this point all you're using Xcode for is as an editor, pretty much.)
>
> I think Arduino, being an offshoot of Wiring/Processing, preprocesses your source slightly before handing it to the compiler, so you may not be able to write precisely the same code that you would in the Arduino IDE when using Xcode.

And at this point there has been no acknowledgment of the 25 different hardware configurations that Arduino boards can come in.

Phil



 _______________________________________________
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

References: 
 >Xcode with Arduino (From: Shane Yost <email@hidden>)
 >Re: Xcode with Arduino (From: Wim Lewis <email@hidden>)

  • Prev by Date: Re: here we go again with docs not getting downloaded
  • Next by Date: Re: clang can not compile simple cpp file with main's second argument is typedef
  • Previous by thread: Re: Xcode with Arduino
  • Next by thread: here we go again with docs not getting downloaded
  • Index(es):
    • Date
    • Thread