embedXcode - MPIDE on Xcode

avenue33
Site Admin
Posts: 297
Joined: Sat Jul 16, 2011 10:19 am
Contact:

embedXcode - MPIDE on Xcode

Postby avenue33 » Sun Jan 22, 2012 11:53 pm

Develop your sketches for chipKIT using Xcode!

Image

Direct links:
Enjoy :)

----------------------------------------------------

Hi,

Please find the second release of MPIDE on Xcode 4.2.

GitHub repository : https://github.com/rei-vilo/mpideXcode
Web page: http://embedXcode.weebly.com

It combines efforts from Martin Oldfield (initial version), Chris Peplin (chipKIT), Edward Comer, Tim Knapen (Xcode integration), Jérôme Lebel (Xcode integration).

Could a Xcode 4 expert give us some help on the following issues :?:

Bugs and To Do
• Enable code sense for basic libraries — e.g. Serial.print() still in black
• Closer integration of the serial console

Revision history
Jan 22, 2012 release a - initial release
Feb 02, 2012 release b - chipKIT operational
• Not yet ready for chipKIT platform on MPIDE - done
• Close serial console before building and before uploading - done
• Open serial console after uploading - done
• screen /dev/tty.usbmodem641 -b19200 asks for Must be connected to a terminal - done

Feel free to participate :)
Last edited by avenue33 on Sat Feb 04, 2012 1:56 pm, edited 1 time in total.

avenue33
Site Admin
Posts: 297
Joined: Sat Jul 16, 2011 10:19 am
Contact:

Re: MPIDE on Xcode 4.2

Postby avenue33 » Sat Feb 04, 2012 1:56 pm

Please find the third release of :arrow: mpideXcode.

Feb 04, 2012 release c - code-sense operational wrote:Code-sense
1. Go to Project > mpideXcode > Search Paths,
2. Define HEADER_SEARCH_PATHS = $(ARDUINO_DIR)/** $(SKETCHBOOK_DIR)/Libraries/**
3. Go to Project > Index > Build Phases > Compile Sources,
4. Add all .h and .cpp files

Bugs and To Do
• Closer integration of the serial console
• Integrate help from Arduino .html files


Enjoy :)

slayer1991
Posts: 73
Joined: Sun Nov 27, 2011 5:11 am

Re: MPIDE on Xcode 4.2

Postby slayer1991 » Sat Feb 04, 2012 2:31 pm

Is it nicer to write code in Xcode than mpide?

avenue33
Site Admin
Posts: 297
Joined: Sat Jul 16, 2011 10:19 am
Contact:

Re: MPIDE on Xcode 4.2

Postby avenue33 » Sat Feb 04, 2012 3:05 pm

Basically, as other IDEs like , Xcode provides niceties you can't live without once you've started using them!

MPIDE provides a clean, efficient IDE with out-of-the-box instant reward. But more sophisticated projects involving many libraries require more advanced tools. I can't manage to remember all the functions of the 30+ libraries I've written!

Among the niceties:
• code-sense: syntax colouring and structure visualiser
hc.png
hc.png (29.5 KiB) Viewed 5074 times

• tool-tips: shows parameters
tt.png
tt.png (88.58 KiB) Viewed 5074 times

• objects browser: provides a hierarchical view of all classes, variables, functions, ...
ob.png
ob.png (22.57 KiB) Viewed 5074 times

• and more, as refactoring, version management, built-in git, ...

slayer1991
Posts: 73
Joined: Sun Nov 27, 2011 5:11 am

Re: MPIDE on Xcode 4.2

Postby slayer1991 » Sat Feb 04, 2012 4:49 pm

wow nice! I'm gonna download it soon. Thanks!

avenue33
Site Admin
Posts: 297
Joined: Sat Jul 16, 2011 10:19 am
Contact:

Re: MPIDE on Xcode 4.2

Postby avenue33 » Mon Feb 06, 2012 12:41 am

Discover what Xcode can do for Arduino / chipKIT!
Last edited by avenue33 on Sat Apr 07, 2012 4:41 pm, edited 1 time in total.

slayer1991
Posts: 73
Joined: Sun Nov 27, 2011 5:11 am

Re: MPIDE on Xcode 4.2

Postby slayer1991 » Mon Feb 06, 2012 2:30 am

Great work man! I just installed Mac on my MSI laptop, so I still have a little tweaks to do, but Xcode is a must!

avenue33
Site Admin
Posts: 297
Joined: Sat Jul 16, 2011 10:19 am
Contact:

Re: MPIDE on Xcode 4.2

Postby avenue33 » Tue Feb 07, 2012 7:44 pm

New Feb 08, 2012 release f brings
• Code-sense and click-to-error with standard targets
• Code check-as-you-type only with Index as target (continous compiling)

Please refer :arrow: here for documentation and :arrow: there for code.
Last edited by avenue33 on Sat Apr 07, 2012 4:41 pm, edited 1 time in total.

avenue33
Site Admin
Posts: 297
Joined: Sat Jul 16, 2011 10:19 am
Contact:

Re: MPIDE on Xcode 4.2

Postby avenue33 » Fri Feb 10, 2012 10:16 pm

This is a preview of the last development of the Arduino and chipKIT on Xcode project:

But writing a template for Xcode 4 is cumbersome.

So I badly need help to go further!
Last edited by avenue33 on Sat Apr 07, 2012 4:40 pm, edited 2 times in total.

lloyddean
Posts: 96
Joined: Thu Jul 07, 2011 6:37 pm
Location: Seattle, WA

Re: MPIDE on Xcode 4.2

Postby lloyddean » Sun Feb 12, 2012 6:55 am

Admittedly I'm tired but I'm just not seeing any documentation concerning installation.


Return to “IDE Integration”

Who is online

Users browsing this forum: No registered users and 4 guests