embedXcode • Embedded Computing on Xcode

Find out how to setup your programmer's software and how to solve many common problems.

Moderator: phalanx

embedXcode • Embedded Computing on Xcode

Postby avenue33 » Wed Feb 15, 2012 1:13 am

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.
Last edited by avenue33 on Thu Mar 28, 2013 1:32 am, edited 2 times in total.
avenue33
 
Posts: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby avenue33 » Wed Feb 15, 2012 1:50 pm

I've just added to release 1 an Installation Guide.

As usual, the repository is :arrow: rei-vilo/embedXcode
avenue33
 
Posts: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby avenue33 » Mon Feb 27, 2012 6:23 am

New release Feb 18, 2012 release 2 - improvements with board selection and updated installation guide.

Code is :arrow: here and documentation :arrow: there.
Last edited by avenue33 on Sat May 05, 2012 12:42 am, edited 3 times in total.
avenue33
 
Posts: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby avenue33 » Mon Mar 05, 2012 2:44 pm

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 :arrow: here and documentation :arrow: there.

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.
avenue33
 
Posts: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby avenue33 » Thu Apr 05, 2012 1:05 pm

New releases add Wiring and LaunchPad support.

Image

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: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby avenue33 » Sat Apr 14, 2012 12:43 am

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?
avenue33
 
Posts: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby avenue33 » Tue Apr 24, 2012 7:44 am

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.
avenue33
 
Posts: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby avenue33 » Wed May 23, 2012 2:17 pm

embedXcode now supports Maple!

Image

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 :arrow: here.

Enjoy!
avenue33
 
Posts: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby avenue33 » Sun Jun 03, 2012 8:08 am

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 ;)
avenue33
 
Posts: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby avenue33 » Sat Jun 09, 2012 2:33 pm

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 ;)
avenue33
 
Posts: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby avenue33 » Tue Jun 12, 2012 5:11 am

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:

Image

A help document is generated and closely integrated in Xcode.

Quick Help provides details on documented functions:

Image

As always, learn more and download from here.
avenue33
 
Posts: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby avenue33 » Mon Jun 25, 2012 8:41 am

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, :arrow: learn more and download from :arrow: here.
avenue33
 
Posts: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby avenue33 » Fri Aug 24, 2012 1:00 am

embedXcode on Dangerous Prototypes!

Read at :arrow: http://dangerousprototypes.com/2012/08/24/embedxcode/
avenue33
 
Posts: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby avenue33 » Sat Sep 01, 2012 11:26 am

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
avenue33
 
Posts: 99
Joined: Wed Dec 01, 2010 12:42 pm

Re: Arduino and chipKIT on Xcode 4.2: Project and Templates

Postby waltr » Sat Sep 01, 2012 2:31 pm

And what does this have to do with Microchip PIC processors?????
Shouldn't this be in the Arduino sub-forum?
waltr
 
Posts: 2651
Joined: Tue Sep 08, 2009 12:07 pm
Location: Philadelphia, USA

Next

Return to PIC Microcontrollers - Software and Hardware

Who is online

Users browsing this forum: No registered users and 1 guest