Develop your sketches for Arduino and Adafruit boards using Xcode!
embedXcode is a template for Xcode, the official IDE for Mac OS X. embedXcode eases development for the most popular embedded computing boards, including the Arduino boards.
——
Please find two releases:
• mpideXcode
Embedded Computing Project with MPIDE on Xcode 4.2
Feb 14, 2012 release g - multi-application, check-as-you-type, template
https://github.com/rei-vilo/mpideXcode
• embedXcode
Embedded Computing Template on Xcode 4.2
Feb 14, 2012 release 1 - initial release
https://github.com/rei-vilo/embedXcode
Templates for project and for files.
embedXcode: Arduino and Adafruit on Xcode
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
embedXcode: Arduino and Adafruit on Xcode
Last edited by avenue33 on Fri May 08, 2015 1:52 pm, edited 1 time in total.
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
Re: Arduino and chipKIT on Xcode 4.2: Project and Templates
New releases add Wiring and LaunchPad support.
embedXcode • Apr 05, 2012 release 7 - Wiring and LaunchPad platforms added
mpideXcode • Apr 05, 2012 release 10 - Wiring and LaunchPad platforms added
Code is here and documentation there.
Both build and upload have been successfully tested on Wiring S and LaunchPad msp430g2452 boards.
Energia is the Processing-based IDE for the LaunchPad platform.
embedXcode • Apr 05, 2012 release 7 - Wiring and LaunchPad platforms added
mpideXcode • Apr 05, 2012 release 10 - Wiring and LaunchPad platforms added
Code is here and documentation there.
Both build and upload have been successfully tested on Wiring S and LaunchPad msp430g2452 boards.
Energia is the Processing-based IDE for the LaunchPad platform.
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
Re: Arduino and chipKIT on Xcode 4.2: Project and Templates
Critical Decision Ahead
Most of the open points on embedXcode are about Xcode, especially keywords on the template.
Despite numerous calls for help, they're still unresolved. The Xcode template remains undocumented and there's no sign of openness from Apple. Apple seems to restrict Xcode to OS X and iOS platforms only.
So I'm considering to change for another IDE, with NetBeans as most probable solution. It's open, and documentation is available.
What do you think?
Most of the open points on embedXcode are about Xcode, especially keywords on the template.
Despite numerous calls for help, they're still unresolved. The Xcode template remains undocumented and there's no sign of openness from Apple. Apple seems to restrict Xcode to OS X and iOS platforms only.
So I'm considering to change for another IDE, with NetBeans as most probable solution. It's open, and documentation is available.
What do you think?
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
Re: Arduino and chipKIT on Xcode 4.2: Project and Templates
Please find the new releases for
embedXcode • Apr 16, 2012 release 9 • Code-sense reference defined by selected board
mpideXcode • Apr 16, 2012 release 12 • Code-sense reference defined by selected board
Installation Guide • Apr 16, 2012 release 6 • General update
All the manual settings are due to unknown template keywords. Your help is greatly appreciated.
Documentation is here and code is there.
embedXcode • Apr 16, 2012 release 9 • Code-sense reference defined by selected board
mpideXcode • Apr 16, 2012 release 12 • Code-sense reference defined by selected board
Installation Guide • Apr 16, 2012 release 6 • General update
All the manual settings are due to unknown template keywords. Your help is greatly appreciated.
Documentation is here and code is there.
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
Re: Arduino and chipKIT on Xcode 4.2: Project and Templates
embedXcode now supports Maple!
embedXcode • May 23, 2012 release 10 • LeafLabs Maple implementation
mpideXcode • May 23, 2012 release 13 • LeafLabs Maple implementation
Installation Guide • May 23, 2012 release 7 • LeafLabs Maple implementation
The Maple reset script —which sends control signals over the USB-serial connection to restart and enter the bootloader— is written in Python and requires the PySerial library:
• Read the instructions at http://leaflabs.com/docs/unix-toolchain.html#os-x and
• Download PySerial library from http://pypi.python.org/pypi/pyserial.
Full documentation is available here.
Enjoy
embedXcode • May 23, 2012 release 10 • LeafLabs Maple implementation
mpideXcode • May 23, 2012 release 13 • LeafLabs Maple implementation
Installation Guide • May 23, 2012 release 7 • LeafLabs Maple implementation
The Maple reset script —which sends control signals over the USB-serial connection to restart and enter the bootloader— is written in Python and requires the PySerial library:
• Read the instructions at http://leaflabs.com/docs/unix-toolchain.html#os-x and
• Download PySerial library from http://pypi.python.org/pypi/pyserial.
Full documentation is available here.
Enjoy
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
Re: Arduino and chipKIT on Xcode 4.2: Project and Templates
Please find the new releases of
embedXcode • Jun 03, 2012 release 11
mpideXcode • Jun 03, 2012 release 14
Installation Guide • Jun 03, 2012 release 8
As embedXcode manages multiple platforms, including the right libraries and dealing with syntax specificities are two cumbersome challenges.
Until now, the platform identification was solely based on the MCU, resulting on lengthy #if #elif #else #endif statements.
Now, embedXcode brings a new approach based on the IDE.
The Arduino, Wiring and Maple IDEs set an environment variable for the tool-chain.
For example, Arduino defines ARDUINO=100 and pass -DARDUINO=100 on to gcc, g++ and alike, Wiring sets -DWIRING=100 and Maple -MAPLE_IDE.
So the code is fully compatible between embedXcode and those IDEs. This new approach brings more compact and easier to read code, and doesn't require maintenance at code level when a new MCU appears.
This new IDE-based approach is optional, as not all IDEs include this approach. Let's mention Energia and chipKIT MPIDE, and hope they consider it!
As always, full documentation including features, tutorials, installation guide and code, is available at embedXcode website.
Enjoy
embedXcode • Jun 03, 2012 release 11
mpideXcode • Jun 03, 2012 release 14
Installation Guide • Jun 03, 2012 release 8
As embedXcode manages multiple platforms, including the right libraries and dealing with syntax specificities are two cumbersome challenges.
Until now, the platform identification was solely based on the MCU, resulting on lengthy #if #elif #else #endif statements.
Now, embedXcode brings a new approach based on the IDE.
The Arduino, Wiring and Maple IDEs set an environment variable for the tool-chain.
For example, Arduino defines ARDUINO=100 and pass -DARDUINO=100 on to gcc, g++ and alike, Wiring sets -DWIRING=100 and Maple -MAPLE_IDE.
So the code is fully compatible between embedXcode and those IDEs. This new approach brings more compact and easier to read code, and doesn't require maintenance at code level when a new MCU appears.
This new IDE-based approach is optional, as not all IDEs include this approach. Let's mention Energia and chipKIT MPIDE, and hope they consider it!
As always, full documentation including features, tutorials, installation guide and code, is available at embedXcode website.
Enjoy
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
Re: Arduino and chipKIT on Xcode 4.2: Project and Templates
I'm working on the next release of embedXcode. I plan to integrate an automatic documenting feature.
After having reviewed HeaderDoc, doxygen and appledoc, I picked doxygen.
Integration with Xcode is the main challenge. The idea is to select a specific target to build the documentation, obtain a PDF and integrate a codeset Xcode could use.
There's still a lot of work to do.
Stay tuned
After having reviewed HeaderDoc, doxygen and appledoc, I picked doxygen.
Integration with Xcode is the main challenge. The idea is to select a specific target to build the documentation, obtain a PDF and integrate a codeset Xcode could use.
There's still a lot of work to do.
Stay tuned
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
Re: Arduino and chipKIT on Xcode 4.2: Project and Templates
Please find the new release of embedXcode with the implementation of the self-documentation.
embedXcode • Jun 14, 2012 release 13
Installation Guide • Jun 14, 2012 release 9
Just add to your code and launch the Document target:
A help document is generated and closely integrated in Xcode.
Quick Help provides details on documented functions:
As always, learn more and download from here.
embedXcode • Jun 14, 2012 release 13
Installation Guide • Jun 14, 2012 release 9
Just add to your code and launch the Document target:
A help document is generated and closely integrated in Xcode.
Quick Help provides details on documented functions:
As always, learn more and download from here.
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
Re: Arduino and chipKIT on Xcode 4.2: Project and Templates
New version 14 of embedXcode brings a significant improvement on the size of the HEX and BIN files over the
embedXcode • Jun 25, 2012 release 14 • HEX and BIN files size optimisation
Sizes are now close to and even better than those obtained with the corresponding IDEs.
All measures are in bytes.
As always, learn more and download from here.
embedXcode • Jun 25, 2012 release 14 • HEX and BIN files size optimisation
Sizes are now close to and even better than those obtained with the corresponding IDEs.
All measures are in bytes.
As always, learn more and download from here.
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
Re: Arduino and chipKIT on Xcode 4.2: Project and Templates
Please find the new release of embedXcode
Sep 01, 2012 • Support for Arduino Leonardo
As the Arduino Leonardo requires a specific reset procedure due to its ATmega32U4, I had to develop a reset script in Python.
Also included in this release, support for Xcode 4.4.1 and for newly released Energia 0101E0008 and a fix for GraphWiz 2.28 crashing on Mountain Lion.
As always, find documentation and download at http://embedXcode.weebly.com
Sep 01, 2012 • Support for Arduino Leonardo
As the Arduino Leonardo requires a specific reset procedure due to its ATmega32U4, I had to develop a reset script in Python.
Also included in this release, support for Xcode 4.4.1 and for newly released Energia 0101E0008 and a fix for GraphWiz 2.28 crashing on Mountain Lion.
As always, find documentation and download at http://embedXcode.weebly.com
- avenue33
- Posts: 132
- Joined: Sat Dec 11, 2010 8:42 am
Re: Arduino and chipKIT on Xcode 4.2: Project and Templates
New! Installation Package
embedXcode is now installed with a standard installation package. Installation is faster and easier.
The Installation Guide and User Manual has changed for User Manual.
The package includes the templates, the code snippets, and the User Manual.
Find it at the download page!
embedXcode is now installed with a standard installation package. Installation is faster and easier.
The Installation Guide and User Manual has changed for User Manual.
The package includes the templates, the code snippets, and the User Manual.
Find it at the download page!
Please be positive and constructive with your questions and comments.