embedXcode • Embedded Computing on Xcode
Moderator: phalanx
embedXcode • Embedded Computing on Xcode
The versatility of Arduino and chipKIT board with the power of Xcode!
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.
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.
Last edited by avenue33 on Thu Mar 28, 2013 1:32 am, edited 2 times in total.
Re: Arduino and chipKIT on Xcode 4.2: Project and Templates
New release Feb 18, 2012 release 2 - improvements with board selection and updated installation guide.
Code is
here and documentation
there.
Code is


Last edited by avenue33 on Sat May 05, 2012 12:42 am, edited 3 times in total.
Re: Arduino and chipKIT on Xcode 4.2: Project and Templates
New releases add Arduino 1.0 support.
embedXcode • Mar 06, 2012 release 4 - Arduino 1.0 support
mpideXcode • Mar 06, 2012 release 7 - Arduino 1.0 support
Code is
here and documentation
there.
Next step is to add Wiring, if I find a Wiring S board to test the upload.
embedXcode • Mar 06, 2012 release 4 - Arduino 1.0 support
mpideXcode • Mar 06, 2012 release 7 - Arduino 1.0 support
Code is


Next step is to add Wiring, if I find a Wiring S board to test the upload.
Last edited by avenue33 on Sat May 05, 2012 12:40 am, edited 2 times in total.
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.
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?
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.
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

Enjoy!
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

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

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.
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.
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.
As always,


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
Re: Arduino and chipKIT on Xcode 4.2: Project and Templates
And what does this have to do with Microchip PIC processors?????
Shouldn't this be in the Arduino sub-forum?
Shouldn't this be in the Arduino sub-forum?