chipKIT® Development Platform

Inspired by Arduino™

embedXcode - MPIDE on Xcode

Created Sun, 22 Jan 2012 22:53:39 +0000 by avenue33


avenue33

Sun, 22 Jan 2012 22:53:39 +0000

Digilent and chipKIT haven't released any new boards for a while now. Furthermore, the future of the PIC32 platform looks uncertain after Microchip acquired Atmel in January 2016.

As a consequence, development for the chipKIT platform is put on hold.


Develop your sketches for chipKIT using Xcode!

Direct links:

Enjoy :)


Hi,

Please find the second release of MPIDE on Xcode 4.2.

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

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 :?:

[color=#FF0000]Bugs[/color] and [color=#0000FF]To Do[/color] • 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 - [color=#008000]done[/color] • Close serial console before building and before uploading - [color=#008000]done[/color] • Open serial console after uploading - [color=#008000]done[/color] • screen /dev/tty.usbmodem641 -b19200 asks for Must be connected to a terminal - [color=#008000]done[/color]

Feel free to participate :)


avenue33

Sat, 04 Feb 2012 12:56:18 +0000

Please find the third release of :arrow: mpideXcode.

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

Sat, 04 Feb 2012 13:31:28 +0000

Is it nicer to write code in Xcode than mpide?


avenue33

Sat, 04 Feb 2012 14:05:00 +0000

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 [attachment=0]hc.png[/attachment] • tool-tips: shows parameters [attachment=1]tt.png[/attachment] • objects browser: provides a hierarchical view of all classes, variables, functions, ... [attachment=2]ob.png[/attachment] • and more, as refactoring, version management, built-in git, ...


slayer1991

Sat, 04 Feb 2012 15:49:23 +0000

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


avenue33

Sun, 05 Feb 2012 23:41:59 +0000

Discover what Xcode can do for Arduino / chipKIT!


slayer1991

Mon, 06 Feb 2012 01:30:08 +0000

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

Tue, 07 Feb 2012 18:44:23 +0000

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.


avenue33

Fri, 10 Feb 2012 21:16:01 +0000

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!


lloyddean

Sun, 12 Feb 2012 05:55:55 +0000

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


avenue33

Sun, 12 Feb 2012 10:21:11 +0000

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

The Feb 08, 2012 release f doesn't require any installation. Just launch mpideXcode.xcode.

The version with a template is still under development.

Feel free to participate!


avenue33

Tue, 14 Feb 2012 19:14:02 +0000

Please find two releases:

Feb 14, 2012 release g - multi-application, check-as-you-type, template [url]https://github.com/rei-vilo/mpideXcode[/url]

Feb 14, 2012 release 1 - initial release [url]https://github.com/rei-vilo/embedXcode[/url]

Templates for project and for files.


lloyddean

Wed, 15 Feb 2012 06:15:02 +0000

These seem to be setup to use the Arduino paths only. Even the files in the Project are to the Arduino Libraries and Core files.


lloyddean

Wed, 15 Feb 2012 20:06:51 +0000

OK ...

Let's say I want to do chipKIT development. How do I select the chipKIT in order to have it compile, index or whatever instead of always defaulting to the AVR stuff?


avenue33

Wed, 15 Feb 2012 20:29:15 +0000

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

As usual, the repository is :arrow: rei-vilo/embedXcode


lloyddean

Wed, 15 Feb 2012 22:40:38 +0000

Yes I've seen the site - the problems is it doesn't seem to work. That or your pictures do not make things as obvious as you seem to think they do.

Perhaps actual text describing the process would be more useful then the pictures with sentences that seem to change from describing one thing and then switch to something else before completing.


lloyddean

Wed, 15 Feb 2012 23:21:13 +0000

I realize very well that it's a work in progress. And I don't mind testing as it'd be nice if it worked. The problem from my side is that I'm never sure if the failure can be chalked up to myself, the documentation or the incomplete nature of what's being tested.

If the documentation was more explicit and easier to follow I might be able narrow it down to operator error or a failure due to the incomplete nature of the item being tested.


lloyddean

Thu, 16 Feb 2012 02:11:23 +0000

It's your project and I can't document something I can't get to work. As I've stated following the very limited instruction and pictures on the site and selecting the chipKIT as my targets I am unable to get anything to build an index to the chipKIT compatible libraries, or compile without a massive number of errors and warnings.

Attempts at navigating the pic32 header and source index bring up headers and sources in the AVR branch.

System Software Overview:

  System Version:               Mac OS X 10.7.3 (11D50)
  Kernel Version:               Darwin 11.3.0
  Boot Volume:                  BootHD
  Boot Mode:                    Normal
  Computer Name:                iMacCoreDuo2
  User Name:                    Lloyd Dean(lloyddean)
  Secure Virtual Memory:        Enabled
  64-bit Kernel and Extensions: Yes
  Time since boot:              9:02

Mpide:

  Version:                      22
  Last Modified:                12/21/11 4:50 PM
  Kind:                         Universal
  64-Bit (Intel):               No
  App Store:                    No
  Get Info String:              22
  Location:                     /Applications/Mpide.app



Developer Information:

  Version:                      4.2 (4D199)
  Location:                     /Developer
  Xcode:                        4.2 (828)
  SDKs:
  Mac OS X:
      10.6: (10K549)
      10.7: (11C63)
  iPhone OS:
      5.0:  (9A334)
  iPhone Simulator:
      4.3:  (8H7)
      5.0:  (9A334)

lloyddean

Thu, 16 Feb 2012 19:40:49 +0000

IIs Arduino.app 0023 installed and ran once —botw required? What are exactly the massive number of errors and warnings messages you have?

Currently installed - no! Had it been installed and run once - yes. If this is a dependency I would consider it a design error.


avenue33

Thu, 16 Feb 2012 20:11:11 +0000

By design, the template requires Arduino.app and needs Mpide.app to run chipKIT boards.

Both Arduino.app and Mpide.app include all the data in a well structured way.

§ 1 Installation of the Installation Guide reads:

Arduino 0023 should be installed. Optionally, other Processing-based IDE could be installed. The template is provided with a specific makefile for chipKIT boards. In that case, MPIDE installation is required. Other boards requires their IDE and the customisation of a specific makefile.

That way, other Processing-based IDEs could be added and used by the template, by adding an additional makefile.


lloyddean

Thu, 16 Feb 2012 21:10:04 +0000

As I thought.

The problem is my understanding of your documentation. I read "should" followed by "optionally" as saying something completely different than you apparently meant.

So you're saying Arduino 0023 is a requirement and that other boards are supported with the "addition" of their respective IDE.

Thanks for clarifying that. Perhaps the documentation could be updated to make that more understandable.

Arduino 0023 should be installed. Optionally, other Processing-based IDE could be installed. The template is provided with a specific makefile for chipKIT boards. In that case, MPIDE installation is required. Other boards requires their IDE and the customisation of a specific makefile.


avenue33

Fri, 17 Feb 2012 21:55:46 +0000

Let's focus now on the project :!:


ricklon

Wed, 29 Feb 2012 19:39:40 +0000

By the way. This very cool. Thanks for doing that. -_Rick


avenue33

Wed, 29 Feb 2012 19:52:18 +0000

By the way. This very cool. Thanks for doing that. -_Rick

You're welcome!

chipKIT MPIDE is crystal-clear compared with undocumented Xcode internals!

Is there a release date for MPIDE 1.0 so I could update both Arduino and MPIDE?


avenue33

Thu, 05 Apr 2012 20:09:23 +0000

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.


avenue33

Sat, 14 Apr 2012 07:44:18 +0000

[color=#FF0000]Critical Decision Ahead[/color]

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

Tue, 24 Apr 2012 14:46:03 +0000

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

Wed, 23 May 2012 20:03:56 +0000

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 [url]http://leaflabs.com/docs/unix-toolchain.html#os-x[/url] and • Download PySerial library from [url]http://pypi.python.org/pypi/pyserial[/url].

Full documentation and download are available :arrow: here.

Enjoy :)


Ernie

Wed, 23 May 2012 23:46:24 +0000

Very nice. I see Arduino have chosen to go with the Atmega32 for their official 32bit offering, will you be supporting that?


avenue33

Thu, 24 May 2012 07:06:48 +0000

Ernie,

Thanks for the accolade.

embedXcode relies on the Arduino IDE for the Arduino boards. So if Arduino release a new board, embedXcode will support it.


avenue33

Sun, 03 Jun 2012 15:10:00 +0000

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 :arrow: embedXcode website.

Enjoy ;)


avenue33

Sat, 09 Jun 2012 21:33:59 +0000

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

Tue, 12 Jun 2012 12:12:40 +0000

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


avenue33

Mon, 25 Jun 2012 15:41:11 +0000

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 size optimisation

Sizes are now close to and even better than those obtained with the corresponding IDEs.

As always, learn more :arrow: here and download from :arrow: there.


m9dfukc

Tue, 03 Jul 2012 15:45:51 +0000

@avenue33 ... I don't know if I'm too stupid or if there's an error in the linker script. But if I try to include a user library (out of the Sketches libraries folder) for example the AccelStepper Lib, I get an "Shell Script Invocation Error ... AccelStepper.h: No such file or directory". Using XCode 4.3.3, SKETCHBOOK_DIR is set.

Any help would be much appreciated.

Thanks Andreas


avenue33

Tue, 03 Jul 2012 17:36:38 +0000

Hi!

There are two options where placing the [color=#0000FF]AccelStepper.h[/color] library:

  • it is located on the Libraries directory of your sketchbook folder? or
  • it is on the same directory as the main sketch, just as [color=#0000FF]LocalLibrary.h[/color]?

The sketchbook folder is defined on the Preferences pane available on the mpide > Preferences menu.

Have a look at the [color=#0000FF]makefile[/color] file and check the two following lines have nothing after the =: line 45

APP_LIBS_LIST =

line 58

USER_LIBS_LIST =

This way, all the libraries are considered and compiled.

Which release of embedXcode are you using? One of the first release had 0 mentioned for both, so no library was considered.

I hope this could help you.


m9dfukc

Tue, 03 Jul 2012 22:36:51 +0000

Hi,

I'm using the latest release of embedXcode. The AccelStepper library is placed in the sketchbooks libraries folder. I already checked the makefile and tried all different variations (empty, with explicit declaration ...). I also tried to copy the AccelStepper lib into the local folder besides the LocalLibrary.h but then I get an strage error telling me than "sqrt" is not defined (though WProgram.h is included). The crazy thing is that if I include the AccelStepper lib in the sketchbook libraries folder and just open the .pde with MPIDE everything compiles fine (which is actually the workaround I'm using right now ... but that breaks codecompletion in XCode and I always have to switch between the programms).

By the way, what happened to mpideXcode did it resolve into embedXcode?

Thanks Andreas


avenue33

Tue, 03 Jul 2012 23:16:16 +0000

All the following files are in the sqrt_mpide/sqrt_mpide folder.

Compilation goes fine with no error.

sqrt_mpide.pde

// Core library - MCU-based
#if defined(__32MX320F128H__) || defined(__32MX795F512L__) // chipKIT specific 
#include "WProgram.h"
#else // error
#error Platform not defined
#endif

// Include application, user and local libraries
#include "LocalLibrary.h"

void setup() {
  Serial.begin(9600);
  
  float b = 4.0;
  float a = function(b);
  Serial.println(a, 2);
  a = sqrt(4.0);
  Serial.println(a, 2);
}

void loop() { 
}

LocalLibrary.h

// Core library - MCU-based
#if defined(__32MX320F128H__) || defined(__32MX795F512L__) // chipKIT specific 
#include "WProgram.h"
#endif

#ifndef sqrt_mpide_LocalLibrary_h
#define sqrt_mpide_LocalLibrary_h


float function(float value);
#endif

LocalLibrary.cpp

#include "LocalLibrary.h"

float function(float value) {
  return sqrt(value);
}

makefile

APP_LIBS_LIST = 0
USER_LIBS_LIST = 0
MAKEFILE_PATH  = $(CURDIR)/Makefiles
UTILITIES_PATH = $(CURDIR)/Utilities
include $(MAKEFILE_PATH)/Step1.mk

By the way, what happened to mpideXcode did it resolve into embedXcode?

embedXcode is more generic and supports more platforms so I dropped mpideXcode. I can't afford maintaining two projects!


m9dfukc

Wed, 04 Jul 2012 05:58:52 +0000

Hey,

your example works just fine, but as soon as I include the AccelStepper lib I once again get the "sqrt error" (undefined reference to sqrt) which actually seems to be a linker error. I got it fixed by explicit adding the "-lm" flag to $(CXX) $(LDFLAGS) -o $@ $(SYS_OBJS) $(TARGET_A) -L$(OBJDIR) (in step2.mk) now it looks like $(CXX) $(LDFLAGS) -o $@ $(SYS_OBJS) $(TARGET_A) -L$(OBJDIR) -lm ... which makes me wonder because this flag should already be set with the $(LDFLAGS)?!

cheers Andreas


avenue33

Wed, 04 Jul 2012 08:43:38 +0000

Thank you for your investigation.

Strange indeed, as [color=#0000FF]-lm[/color] is specified on line 190 of [color=#0000FF]step2.mk[/color]

LDFLAGS = -$(MCU_FLAG_NAME)=$(MCU) -lm -Wl,-gc-sections,-u,main -Os $(EXTRA_LDFLAGS)

with [color=#0000FF]LDFLAGS[/color] being called at line 459 of [color=#0000FF]step2.mk[/color] for linking

$(CC) $(LDFLAGS) -o $@ $(SYS_OBJS) $(TARGET_A) -lc

Anyway, I'm glad it works for you now.


avenue33

Fri, 24 Aug 2012 07:58:26 +0000

embedXcode on Dangerous Prototypes!

Read at :arrow: [url]http://dangerousprototypes.com/2012/08/24/embedxcode/[/url]


avenue33

Sat, 01 Sep 2012 18:27:45 +0000

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

Tue, 11 Sep 2012 08:18:52 +0000

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 :arrow: download page!


avenue33

Sat, 15 Sep 2012 13:38:46 +0000

As Arduino 1.0 is now stabilised and wide-spread, should embedXcode continue to support Arduino 23?

Answer the :arrow: poll

Please note this is not going to affect other platforms, like chipKIT MPIDE which is still based on Arduino 23 and continues to be supported as it.

Thank you for your input. The poll opens for one week.


avenue33

Tue, 25 Sep 2012 11:16:35 +0000

New release 16 of embedXcode supports the FraunchPad MSP430FR5739.

embedXcode • Sep 25, 2012 release 16 • Support for FraunchPad

The Document target now builds a [color=#FF0000]PDF[/color] file along with HTML and docset files.

Documentation is :arrow: here and download :arrow: there.

Obsolescence Notice The following features are planned to become obsolete in a future release:

  • Support for Arduino 0023 is planned to be be discontinued. This has no impact on chipKIT MPIDE as it is a separate IDE.
  • The code for multiple platforms is managed in two ways: the MCU variables like AVR_ATmega328P and the IDE variables like ARDUINO=101. The MCU variables are going to be suspended in favour the IDE variables. This enables a more compact code and an easier maintenance.

avenue33

Wed, 10 Oct 2012 15:44:39 +0000

Updated User Manual and Support for Xcode 4.5.1

I updated the user manual based on the feed-back I've received about the following two sections: installation and target selection.

embedXcode now supports Xcode 4.5.1.

The package includes the templates, the code snippets, and the User Manual.

As always, documentation is :arrow: here and download :arrow: there!


avenue33

Sun, 21 Oct 2012 21:48:33 +0000

Please find the new release of embedXcode

Oct 21, 2012 • Selection of pde, ino or cpp extension for the sketch

When creating a new project, select the extension on the drop-down list: • Choose pde for Arduino 0023, chipKIT MPIDE, Wiring and Leaflabs Maple, • Choose ino for Arduino 1.0 and Energia, • Choose cpp optionally for a standard C++ file.

Using a pde or ino extension allows to edit the sketch with the standard IDEs of the boards.

Find documentation at http://embedxcode.weebly.com and download from http://embedxcode.weebly.com/download.html

Enjoy ;)


avenue33

Sat, 10 Nov 2012 15:20:23 +0000

Please find the new release of embedXcode

  • Oct 26, 2012 release 18 • Support for Arduino Due
  • Oct 28, 2012 release 19 • Support for StellarPad
  • Nov 09, 2012 release 20 • Support for Teensy 3.0

The user manual has been updated too

  • Nov 09, 2012 release 16 • Updated with new boards

Please note the Arduino 1.5, Energia for StellarPad and Teensy 3.0 softwares are in development.

I've tested build, link and upload successfully for all boards except for the Arduino Due I don't own.

Website :arrow: http://embedxcode.weebly.com Download :arrow: http://embedxcode.weebly.com/download User guide :arrow: http://embedxcode.weebly.com/tutorial

Enjoy ;)


avenue33

Tue, 13 Nov 2012 14:36:58 +0000

Please find the new release of embedXcode

**Nov 13, 2012 release 21 • Stability enhancement and better information**

• Stability enhancement, especially for Arduino Due and StellarPad linking • Better information in a more structured presentation

As always,

• Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy ;)


avenue33

Sat, 17 Nov 2012 16:34:58 +0000

Please find the new release of embedXcode

**Nov 17, 2012 release 22 • New Make and Fast optimised targets**

embedXcode release 22 includes two new targets: Make and Fast.

The Make and Fast targets feature an optimisation for the build of the foundation libraries.

The new targets are much faster than the corresponding Build and All targets. This is especially important for the ARM-based boards.

Learn more.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy ;)


avenue33

Sun, 25 Nov 2012 11:51:37 +0000

The maintenance of the embedXcode template is really difficult due to Apple secrecy around and lack of documentation on Xcode.

So I'm considering switching from Xcode to another IDE.

Here's an open letter to Apple Xcode team. Feel free to send it to members of the Apple Xcode team you know.

Thank you for your help :)

Dear Xcode Team, Xcode offers superior features and ergonomics compared with other IDEs running on OS X. Unfortunately, its restricted documentation prevents from using many of its features. I'm using Xcode as a development tool for embedded computing platforms. As at today, the embedXcode template supports Arduino, Diligent chipKIT with MPIDE, Texas Instruments' Launchpad with Energia, Leaflab Maple, Teensy, Wiring, and has received a warm welcome from the embedded computing community. The issues I'm currently facing are mostly linked to the lack of available documentation. The books available on Xcode focus on how to use the tool, not on how to customise it. Similarly, Apple doesn't provide any clues about its inner structure. For example, keywords used by the templates are not documented. Neither is using other tool-chains, albeit the specific Toolchains folder. Is Xcode solely limited OS X and iOS development? By just releasing some documentation on Xcode inner organisation and customisation, Apple can easily make Xcode the best choice for developers. Otherwise, I'd have no option but to switch to another IDE and to abandon OS X. Looking forward to hearing from you, Best regards, --- Rei Vilo http://embedxcode.weebly.com


avenue33

Mon, 26 Nov 2012 10:58:25 +0000

Please find the new release of embedXcode

embedXcode • Nov 24, 2012 release 23 • Fixed WiFi issue on Arduino 1.0.2 and 1.5.x User Manual • Nov 24, 2012 release 17 • New section Dealing with Issues

embedXcode release 23 includes the additional optional parameter EXCLUDE_LIBS in the main makefile to black-list libraries.

Issues have been reported for the WiFi library on Arduino 1.0.2 and the Firmata library with Teensy 3.0.

Edit the makefile on you project and add the names of the libraries to exclude:

# List the libraries to be excluded
# For example, WiFi may crash on Arduino 1.0.2
# For example, Firmata may crash on Teensy 3.0
#
EXCLUDE_LIBS = Firmata WiFi WiFi/utility

The user manual includes a check-list when facing an issue on embedXcode.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy ;)


avenue33

Mon, 10 Dec 2012 21:15:09 +0000

Please find the new release of embedXcode

embedXcode • Dec 10, 2012 release 23 • Fixed MAPLE_IDE variable and added Energia 9 support for Stellaris User Manual • Dec 10, 2012 release 18 • New section Dealing with Issues

The user manual includes check-lists when facing an issue on embedXcode.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy ;)


avenue33

Fri, 14 Dec 2012 21:00:36 +0000

Please find the new releases of embedXcode

embedXcode • Dec 14, 2012 release 25 • New target for distribution User Manual • Dec 14, 2012 release 19 • New target for distribution

The new Distribute target creates a specific folder Distribution which contains: • all the headers and code files, • documentation in PDF if available, • and main sketch —.pde or .ino— in a folder with the appropriate name.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy ;)


avenue33

Tue, 15 Jan 2013 17:42:44 +0000

Please find a new release of embedXcode

embedXcode • Jan 15, 2013 release 26 • Support for Arduino Due — Build, link and upload tested

Arduino Due is now fully supported thanks to the help of a user who proceeded with the build, link and upload tests.

Many thanks to Mike!

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy ;)


avenue33

Sat, 02 Feb 2013 15:18:13 +0000

Please find a new release of embedXcode

embedXcode • Feb 02, 2013 release 27 • Support for Teensyduino release 1.12

Teensyduino for Teensy 3.0 is no longer in beta; the plug-in for Arduino has reached release 1.12 and is based on gcc 4.7.2.

As always, • Website: [url]http://embedxcode.weebly.com[/url] • Download: [url]http://embedxcode.weebly.com/download[/url] • User guide: [url]http://embedxcode.weebly.com/tutorial[/url]

Enjoy ;)


avenue33

Thu, 28 Feb 2013 17:11:05 +0000

Please find a new release of embedXcode:

embedXcode • Feb 28, 2013 release 29 • Support for Digispark (build and link tested)

The Digispark by Digistump is an incredibly small —0,69x0,75" or 17,5x19,0mm only— but fully featured board —with I²C, SPI, ADC or PWM!

More tests are required for the upload as the process is not standard.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Tue, 05 Mar 2013 15:46:53 +0000

Please find a new release of embedXcode:

embedXcode • Mar, 05 2013 release 30 • Full support for Digispark embedXcode • Mar, 05 2013 release 31 • Automatic project configuration

Thanks to the Digispark boards received from Digistump, I ran the tests for the upload. build, link and upload work fine now.

Enjoy the power of a square inch!

The automatic project configuration procedure saves a lot of time. Before, a newly created project used to require many manual procedures, like declaring the .ino or .pde sketch file as C++ code file for colour syntaxing, or defining the directories for click-to-error, ... Now, you need just a click!

This new automatic project configuration works for all the supported platforms: Arduino, chipKIT, Digispark, LaunchPad MSP430 + FRAM + Stellaris, Maple and Wiring.

As always: • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Sun, 10 Mar 2013 11:07:20 +0000

I'm presently working on extending the automatic project configuration to include all the manual procedures, except for adding the user's libraries.

The major challenge is to understand how Xcode stores and structures the configuration of a project.

Stay tuned :)


avenue33

Thu, 14 Mar 2013 15:18:52 +0000

Please find a new release of embedXcode:

embedXcode • Mar 15, 2013 release 32 • Full automatic project configuration

This new release enhances the automatic project configuration and includes: • Declare .pde or .ino file as C++ code for code-sense, and • Define the directory for the targets, • Add all the cores, variants and libraries from the installed platforms under the group Resources, • Declare all the files of the project for code-sense.

Major impact: project are much lighter, typically 2 MB instead of 16 MB!

The only remaining manual procedure is adding user's libraries.

The User Manual has been updated accordingly.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Fri, 15 Mar 2013 16:23:45 +0000

Please find a new release

embedXcode • Mar 15, 2013 release 33 • Patch for libraries Libraries in sketchbook

This release fixes an annoying bug on the the folder name for the user's libraries.

The folder with the user's libraries in the sketchbook can now be spelled with or without a capital L.

Both libraries and Libraries names are valid.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Tue, 26 Mar 2013 19:59:38 +0000

Please find a new release of embedXcode:

embedXcode • Mar 21, 2013 release 34 • Support for Digispark release 1.04 embedXcode • Mar 26, 2013 release 35 • Support for OS X 10.7 Lion and 10.8 Mountain Lion

embedXcode now supports the new release of the IDE for Digispark, which is bundled with the Arduino 1.0.4 IDE.

The automatic project configuration tool runs now on both OS X Mountain Lion aka. 10.8 and OS X Lion aka. 10.7.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Thu, 04 Apr 2013 08:00:06 +0000

Please find a new version of mbedXcode

embedXcode • Apr 05, 2013 release 36 • Stability enhancement with revised main()

The revised main() function includes now copies of the main files from each platform and architecture. An issue with arm-none-eabi-ar release 4.7.1 has also been fixed. Teensy 3 and LaunchPad Stellaris were concerned.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Sun, 07 Apr 2013 20:02:16 +0000

Thank you for answering this two questions survey.

The answers will help me to focus on the most popular platforms.

Survey: http://rei-vilo.polldaddy.com/s/using-embedxcode-with


avenue33

Wed, 17 Apr 2013 16:21:15 +0000

Please find a new release of embedXcode

**embedXcode • Apr 12, 2013 release 39 • Arduino architecture new variables embedXcode • Apr 13, 2013 release 40 • Arduino Duemilanove configuration file embedXcode • Apr 16, 2013 release 41 • Estimated RAM usage **

Arduino 1.5 new compilation variables are now included. Estimated RAM usage and total RAM are displayed after compilation.

---- Size ----
Binary sketch size:  654 bytes (of a 16384 byte maximum)
Estimated SRAM used: 8 bytes (of a 512 byte maximum)
==== Make done ====

Based on the results of the survey, support for chipKIT, Maple and Wiring is put on hold until new boards or new versions of the IDEs are released.

The MPIDE is actively working on a new release of MPIDE compatible with Arduino 1.0 or 1.5.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial


avenue33

Sat, 20 Apr 2013 10:32:23 +0000

Please find a new release of embedXcode

embedXcode • Apr 19, 2013 release 42 • Release number check

During the first compilation of the project, a dialog box may prompt if a new release of embedXcode is available.

The dialog box closes automatically after 5 seconds. Click on Go to Download to download the new release or OK to ignore it.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Sun, 21 Apr 2013 18:54:02 +0000

Please find a new release of embedXcode

embedXcode • Apr 21, 2013 release 44 • Compatibility for MPIDE version 0x01000202

This new release is solely for chipKIT:

  • it adds the chipKIT uC32 board
  • and supports the latest release of MPIDE 0x01000202.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Sun, 28 Apr 2013 16:03:29 +0000

Please find a new release of embedXcode.

embedXcode • Apr 28, 2013 release 47 • Pre-processing variable EMBEDXCODE

A project using embedXcode declares a pre-processing variable, EMBEDXCODE, with the release number as value.

EMBEDXCODE = 47

The variable and the value are passed on to the compiler as a -D variable:

-DEMBEDXCODE=47

This allows you to manage conditional #define and #include based on the IDE you use, either Xcode or one of the large Processing-based family.

The EMBEDXCODE variable is already used in the main.cpp code file so it is only considered when compiled by Xcode, and ignored by the Processing-based IDEs.

Interim releases include: • embedXcode • Apr 21, 2013 release 45 • Support for chipKIT Max32 board • embedXcode • Apr 26, 2013 release 46 • Excluded libraries from core, application and user

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Sat, 11 May 2013 09:21:32 +0000

Please find a new release of embedXcode:

embedXcode • May 04, 2013 release 48 • Compilation of main.cpp for embedxcode only embedXcode • May 10, 2013 release 49 • Improved code-sense for core libraries

main.cpp has a conditional statement for compilation based on EMBEDXCODE.

The name of the IDE is included in the pre-processing variable use for code-sense.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Tue, 21 May 2013 09:17:38 +0000

Please find a new release of embedXcode

embedXcode • May 21, 2013 release 50 • Arduino and Digispark 1.0.4 compatibility

For the Teensy boards, embedXcode takes into account the Teensyduino installed either as a plug-in for Arduino 1.0.3, or as a stand-alone application /Applications/Teensyduino.app.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Thu, 23 May 2013 15:42:56 +0000

Please find a new release of embedXcode.

embedXcode • May 23, 2013 release 51 • Project configuration with user’s libraries

The automatic preparation procedure now includes the user's libraries for code-sense.

For example, if you select chipKIT Uno32 as board when you create a new project, all the libraries under the sketchbook/libraries folder define in the MPIDE preferences are going to be included to the project.

When I started the embedXcode project back in January 2012, I didn't expect to reach the 51st release!

Thank you for your support, feed-back and help you've provided me during all the development!

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Thu, 30 May 2013 09:45:49 +0000

Please find a new release of embedXcode:

embedXcode • May 28, 2013 release 52 • Project configuration stability enhancement

It appeared the tool in charge of configuring the project generated zombies, resulting in a cryptic Segmentation fault: 11 error message. The cause has been fixed and zombies are over now.

More important, I'm going to resume playing with boards, sensors and displays. As my current Mac no longer provides enough power to run Xcode smoothly,

I plan to update my old Mac for a new one, as this year's target for contributions. Obviously, I continue to maintain and support embedXcode.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Sat, 01 Jun 2013 20:17:33 +0000

Zulkarnine has posted a nice video about Setting-up embedXcode for Arduino, development in Mac using Xcode IDE on YouTube.

Watch it at http://www.youtube.com/watch?v=b4lnz6ixvgU

Thank you Zulkarnine :)


avenue33

Thu, 27 Jun 2013 18:27:41 +0000

The next release of the User Manual is going to be an iBook available on the iBookStore.

Discover the :arrow: preview!

The iBook has been submitted and is currently under review and awaiting validation.


avenue33

Sun, 30 Jun 2013 10:18:13 +0000

Please find a new release of embedXcode

embedXcode • Jun 30, 2013 release 55 • User Manual as E-Book

The User Manual is now a free e-book to be available on the iBookStore, allowing a much lighter installation package. The iBook is awaiting validation.

Dealing with iBooks Author has been especially painful and slow, due to my old Mac.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • Tutorial: http://embedxcode.weebly.com/tutorial


avenue33

Wed, 10 Jul 2013 18:26:39 +0000

The User Manual for embedXcode as a free e-book is now available.

(link)

Enjoy :)


avenue33

Tue, 16 Jul 2013 19:39:22 +0000

Please find a new release of embedXcode.

• embedXcode • Jul 06, 2013 release 57 • Elapsed time for build and link • embedXcode • Jul 08, 2013 release 58 • Management of file names with space • embedXcode • Jul 10, 2013 release 59 • Stability enhancement for Doxygen

Interim release 57 includes a measure for the elapsed time of building and linking.

Release 58 features modifications to manage projects even if they include a space in their name or in their paths.

However, it is strongly recommended not to use space in project and folder names.

Release 59 improves stability for Doxygen by avoiding unrecognised characters. For example, © is changed to (c). Doxygen is the tool used for writing [urlhttp://embedxcode.weebly.com/self-document-the-project.html]documentation[/url], directly from the code into PDF, HTML and native Xcode help file formats.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Wed, 31 Jul 2013 08:12:27 +0000

Please find a new release of embedXcode.

embedXcode • Jul 27, 2013 release 101 • Stability enhancements embedXcode • Jul 29, 2013 release 102 • Improved utilities

Interim release 101 initiates the simplification process, as the template has grown in complexity, making it difficult to maintain. The idea is to focus on the main features.

Release 102 improves the utilities for checking the availability of new releases and preparing the project with all the references.

The User Manual is also being reviewed and is under approval.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Tue, 13 Aug 2013 14:26:50 +0000

Please find a new release of embedXcode

embedXcode • Aug 10, 2013 release 103 • First release of embedXcode+

I'm introducing a second and more elaborate version of embedXcode, embedXcode+, available soon.

A new release of the User Manual as e-book is also available.

I take this opportunity to announce that embedXcode is joining forces with Visual Micro, to share experience and release exciting new features.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Tue, 03 Sep 2013 16:49:04 +0000

Please find a new release of embedXcode.

embedXcode • Sep 01, 2013 release 104 • Improved utilities embedXcode+ • Sep 01, 2013 release 104 • Improved utilities and select among two connected boards

Release 104 inaugurates the new embedXcode+ edition with extended features.

In case two similar boards are connected, for example two Arduino boards, a windows lists the connections and ask to select one:

• To select the first port, press Enter, click on the button 1 or wait 10 seconds. • To select the second port, click on the button 2.

This feature works with the Arduino boards and similar boards using a serial through USB connection.

As always, • Website: http://embedxcode.weebly.com • Download: http://embedxcode.weebly.com/download • User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)


avenue33

Fri, 13 Sep 2013 20:34:10 +0000

Old and new icons for embedXcode!


avenue33

Thu, 19 Sep 2013 13:21:48 +0000

Xcode 5 was officially released to the public and I rushed to test it.

Existing projects created with embedXcode on Xcode 4 open with no problem, although the utilities aren't compatible with Xcode 5.

However, creating a new project based on the embedXcode templates fails: Xcode quits unexpectedly.

Is it a bug due to the embedXcode templates, a bug due to this new Xcode release, or a new —and undocumented— standard for the templates?

I know and understand how impatient you are to play with this new release of Xcode.

I have also to cope with the extra power this new release of Xcode requires and makes my old MacBook really slow.

In the meantime, stick with Xcode 4 and please, give me time to investigate and work on the next release that works.

Thank you!


avenue33

Fri, 20 Sep 2013 17:30:38 +0000

Please find a new release of embedXcode.

• embedXcode • Sep 20, 2013 release 107 • Support for Xcode 5 on OS X 10.8 • embedXcode+ • Sep 20, 2013 release 107 • Support for Xcode 5 on OS X 10.8

embedXcode now supports the new Xcode 5 on OS X 10.8. Support for OS X 10.7 is deprecated

For more details, please refer to the [b]Release Notes[b].

Thank you to the users who helped me with the implementation of Xcode 5!

Next challenge: update my old Mac!

Download


avenue33

Thu, 17 Oct 2013 10:49:12 +0000

Please find a new release of embedXcode.

• embedXcode • Oct 12, 2013 release 108 • Support for Arduino Uno USBtinyISP • embedXcode+ • Oct 12, 2013 release 108 • Support for Arduino Uno USBtinyISP and improved update management

The embedXcode+ edition brings an improved update management for future release. The improved update management allows to update the projects when a new release of the template is available. This applies for project initially created with release 108, for example with next release 109 of the template.

Download

Happy coding :)


avenue33

Thu, 24 Oct 2013 18:13:04 +0000

Please find a new release of embedXcode.

  • embedXcode  • Oct 24, 2013 release 110 • Mac OS X 10.9 Mavericks compatibility
  • embedXcode+ • Oct 24, 2013 release 110 • Mac OS X 10.9 Mavericks compatibility and extended options for programmer

Mac OS X 10.9 Mavericks allows to read User Manual as an e-book a Mac.

Please note previous versions for Xcode 4 on Mac OS X 10.7 Lion and Mac OS X 10.8 Mountain Lion are deprecated and no longer maintained.

embedXcode+ includes new options for the Adafruit USBtinyISP programmer, including a free parameter and fuses settings.

Happy coding :)

Download


avenue33

Wed, 27 Nov 2013 21:37:09 +0000

Please find a new release of embedXcode:

  • **embedXcode • Nov 24, 2013 release 115 • Stability enhancement **
  • embedXcode+ • Nov 24, 2013 release 117 • External debugging for MSP430 and Stellaris

embedXcode+ allows external debugging for the MSP430 LaunchPads, as they feature a built-in hardware debugger.

Would it be possible to use the chipKIT PGM Programmer/Debugger to debug on the chipKIT boards :?:

Use the Xcode interface to define the breakpoints, including conditional breakpoints....

The debugging session runs in a Terminal window....

:arrow: Learn more :arrow: Download


ajit.track

Fri, 29 Nov 2013 10:20:03 +0000

What are type board above IDE will be supported. I tried to download the IDE from above link but it not working whether we need to pay for this IDE What are liberary function it support


avenue33

Fri, 29 Nov 2013 13:24:42 +0000

What are type board above IDE will be supported. I tried to download the IDE from above link but it not working whether we need to pay for this IDE What are liberary function it support

Click on the link supplied and select the left-most black button No donation for a free download.

Sorry but I'm not sure to understand the other questions.


ajit.track

Fri, 29 Nov 2013 14:08:52 +0000

I tried to download but it is not providing executable file

Click on the link supplied and select the left-most black button No donation for a free download. Sorry but I'm not sure to understand the other questions.


majenko

Fri, 29 Nov 2013 14:19:12 +0000

Do you have X-Code 4 or X-Code 5? I.e., which version of OS/X does your Macintosh run?


ajit.track

Fri, 29 Nov 2013 14:29:23 +0000

Do you have X-Code 4 or X-Code 5? I.e., which version of OS/X does your Macintosh run?

i dont have any thing before. I downloaded 4 mb file that show without donate option


avenue33

Fri, 29 Nov 2013 14:50:01 +0000

I tried to download but it is not providing executable file

This is for Mac OS X, not Windows.


avenue33

Sun, 01 Dec 2013 19:59:59 +0000

Read The Fabulous Manual available as an :arrow: e-book and a :arrow: PDF.


Adonosonix

Sun, 01 Dec 2013 21:00:54 +0000

Hi,

I have created a new workspace, with a new project for Chipkit Uno 32. After the project was created, I launched the build phase to set everything up, just as indicated in the documentation, and I get tons of errors.

Many are in the form:

relocation truncated to fit: R_MIPS_GPREL16 against `myLED'

I am using Mpide.app version 0023. How can I fix this?


avenue33

Sun, 01 Dec 2013 21:04:20 +0000

Have you tried the standard example?

Could you please tell which release of MPIDE you're using, as the standard example compiles and runs fine with my chipKIT Uno board.


Adonosonix

Sun, 01 Dec 2013 21:24:46 +0000

I am using :

  • Mpide 0023 – Xcode 5.02 – The latest version of Embed Xcode (just downloaded it. Is it 115?) but I got the same error with the previous version. – I also have the arduino IDE 1.0.5 installed on my computer.

The project is a brand new "Embed Xcode sketch". I have selected chip kit Uno32 and .ino extension. Once the project was created, I did run build.

Note: When I try to run index, I get the error below and tons of warnings.: "Argument list too long: recursive header expansion failed at /Applications/ARDUINO/Mpide.app/Contents/Resources/Java/hardware/pic32/libraries/Servo."


Adonosonix

Sun, 01 Dec 2013 21:33:52 +0000

I can't see my posts, so I can't edit them, but I would like to add that using the .pde extension also fails with the same error.


avenue33

Sun, 01 Dec 2013 21:43:56 +0000

Have you run MPIDE once to set the sketchbook folder?

Arduino 1.5.x is still in beta, hence some issues with the libraries.

By default, embedXcode compiles all the libraries.

Proceed as follow:

  • Create a new embedXcode project.
  • Edit the makefile with
APP_LIBS_LIST = 0
USER_LIBS_LIST = 0
  • Launch Build

Please refer to chapter 4 Build and Upload the Project section 2 Manage the Libraries for Compilation for more details.


Adonosonix

Sun, 01 Dec 2013 21:50:44 +0000

Thank you for your reply.

I had:

APP_LIBS_LIST = 
USER_LIBS_LIST =

I changed it for:

APP_LIBS_LIST = 0
USER_LIBS_LIST = 0

Unfortunately, it makes no difference.

Also, though I have installed version 115 of embedXcode, I still get the upgrade message telling me that I have version 112, even on new projects.

i have installed version 115, restarted the computer. re-installed it several times over with Xcode open or closed, restarted. Created several new workspaces and projects… nothing works. It still tels me to upgrade to 115, and it won't compile a brand new, unmodified chip kit project.

the mpide works fine. I have set the sketchbook folder. Where should it point to? I made it point to my devel folder. The one that contains all my Xcode projects.

What does relocation truncated to fit: R_MIPS_GPREL16 against `myLED' mean anyway?


avenue33

Sun, 01 Dec 2013 22:50:46 +0000

Which version of MPIDE are you using?

Under the same number 0023 there are different releases. embedXcode works fine with 0023-macosx-20120903

See file [color=#0000FF]/Applications/Mpide.app/Contents/Resources/Java/lib/version.txt[/color] as the About... window is hard to read.


ajit.track

Mon, 02 Dec 2013 01:53:16 +0000

This is for Mac OS X, not Windows.

Is there any other IDE which are similar library function like arduino. Provided it support multiple boards ON WINDOWS PLATFORM.

I downloaded MPIDE 0023 version. But some library function like Software Serial / tiny gps didn't worked. So can you suggest me best IDE which support below function. analog read/digital read-write pwm gps software serial timer I2c IE WIRE LIBERARY


avenue33

Mon, 02 Dec 2013 02:38:32 +0000

Read Looking for a Better IDE on my website.


Adonosonix

Mon, 02 Dec 2013 11:37:53 +0000

Thank you for your reply. I do not know which mpide 0023 I am using. But I tested with 0022 and it works almost time (just a #include to comment out).

I am downloading version 0023 macosx 20120903 right now and I will test it.

Also, I just updated embedXcode to the latest version (115), but even for new projects, it still tells me that I have version 112 and that a new version is available. What's wrong?


avenue33

Mon, 02 Dec 2013 12:07:12 +0000

Thank you for your reply.

You're welcome :)

I do not know which mpide 0023 I am using. But I tested with 0022 and it works almost time (just a #include to comment out).

See file [color=#0000FF]/Applications/Mpide.app/Contents/Resources/Java/lib/version.txt[/color] to obtain the exact release of MPIDE.

I am downloading version 0023 macosx 20120903 right now and I will test it. Also, I just updated embedXcode to the latest version (115), but even for new projects, it still tells me that I have version 112 and that a new version is available. What's wrong?

Try today's release :arrow: 118.


avenue33

Thu, 12 Dec 2013 20:11:53 +0000

Please find a new release of the User Manual, with reference for debugging and improved presentation. (link)


Sinus

Tue, 07 Jan 2014 01:11:19 +0000

Hi,

first let me say that it would be a great thing to use Xcode for the chipkits.

But until now I had no luck to build anything with embedXcode. It builds all the libraries, but fails at the linking stage (after doing some fixing in various files). I get also some

Relocation truncated to fit: R_MIPS_GPREL16 against `myLED'

errors as described in an earlier post.

I'm using :

  • OSX 10.9.1
  • Xcode 5.0.2
  • MPIDE 0023-macosx-20130715

I tried to run it with the older version of MPIDE (20120913 if i remember correctly), but that thing doesn't run on my mac since I updated to OSX 10.9.

So, are there any known issues with the newest MPIDE ? Would it help if I send you a complete log of the build process ?


avenue33

Thu, 16 Jan 2014 14:17:47 +0000

Want to provide feed-back and vote for the next features on embedXcode?

Try the new feed-back page at embedxcode.idea.informer.com.

My plan is to proceed with an initial test for a couple of months before full implementation.


avenue33

Thu, 16 Jan 2014 16:37:22 +0000

Hi, But until now I had no luck to build anything with embedXcode. It builds all the libraries, but fails at the linking stage (after doing some fixing in various files). I get also some

Relocation truncated to fit: R_MIPS_GPREL16 against `myLED'

I'm using release MPIDE 0023-macosx-20120903 successfully. It also works fine on 10.9 Mavericks. Have you tried it?

By default, all the libraries are compiled. You can remove from compilation the unused libraries by specifying on the main makefile

APP_LIBS_LIST = 0
USER_LIBS_LIST = 0

Please refer to chapter 4 Build and Upload the Project section 2 Manage the Libraries for Compilation on the User Manual.

I can't find release 20120913 but only release 20130715. This is the latest release available at Mac OS Installation on the chipKIT website (page, link).

I confirm compilation with the latest release 20130715 fails. The error occurs during linking. It seems the linking scripts have changed.

I'll see what I can do. Actually, support for MPIDE is put on hold as MPIDE still relies on the old Arduino 0023 framework. A new release based on the Arduino 1.0 or 1.5 framework is on the making. My initial plan was to wait for this new release.

In the meantime, please use release MPIDE 0023-macosx-20120903.


avenue33

Thu, 16 Jan 2014 17:28:32 +0000

The problem with release 20130715 comes from the OPT_SYSTEM_INTERNAL defined in main.cpp

#define OPT_SYSTEM_INTERNAL

and used in wiring.h to define _scheduleTask()

#if defined(OPT_SYSTEM_INTERNAL)
void	_initTaskManager();
void	_scheduleTask();
#endif

This works with MPIDE because this IDE, just like the Arduino IDE, concatenates all the files of the project in a large single file with main.cpp at the top. Thus OPT_SYSTEM_INTERNAL is taken into account by all the other libraries. This under-the-hood work is performed by an arcane Java script when embedXcode relies solely on GNU make.

With standard GNU tools, each file is compiled separately and linked afterwards. If a variable is defined in a file, it is only taken into account by another file if the later includes the former. For example, main.cpp includes wiring.h: all the variables defined in wiring.h are known by main.cpp.

This is not the case for OPT_SYSTEM_INTERNAL: it is defined in main.cpp but used in wiring.h. main.cpp includes wiring.h, but wiring.h doesn't include main.cpp. So OPT_SYSTEM_INTERNAL is unknown and isn't taken into account by wiring.h, hence the error.

As for other Processing-based Wiring-derived Arduino-like platforms, I 'd like to stress again how important is to ensure a clean implementation, i.e. that allows compilation and linking using the standard GNU toolchain.

Please raise an official ticket about this issue.


avenue33

Sat, 18 Jan 2014 13:05:37 +0000

Please find a new release of embedXcode.

  • embedXcode • Jan 16, 2014 release 124 • Support for MPIDE 20130715
  • embedXcode+ • Jan 16, 2014 release 124 • Support for MPIDE 20130715

embedXcode now supports the latest version of MPIDE, dated 20130715.

:arrow: Download

The User Manual has also been updated: :arrow: (link)

Happy coding :)


Sinus

Thu, 23 Jan 2014 00:32:54 +0000

Wow, now I can compile & download to a ChipKit uC32 - Great ! :D

Just two little issues :

  • In the main.cpp, in the main() function, there's a call to _scheduleTask(), which is unknown - Just commented it out and it built successfully
  • In the board configuration file for the uC32 (uC32.xcconfig) the MAX_RAM_SIZE is set to over 500KB - I think that should be 32768

So now that there is a real usable IDE the ChipKits are a good option. The next milestone is getting my ChipKit WF32 board to work. As soon as I find some time, I will try this (just donated for the embedXcode+ and downloaded it).

In the mean time, thanks for bringing embedXcode to life !


majenko

Thu, 23 Jan 2014 00:47:45 +0000

Good luck with the WF32 - at least with the WiFi portion of it.

While I was getting UECIDE to fully support it I found that the Digilent WiFi / Networking libraries are a little fragile. They rely on the compiler adding the -I parameters in the right order so that some files override others. If you get that order wrong then it won't work at all. It threw me for quite some time that one...


avenue33

Thu, 23 Jan 2014 10:46:52 +0000

Wow, now I can compile & download to a ChipKit uC32 - Great ! :D Just two little issues :

  • In the main.cpp, in the main() function, there's a call to _scheduleTask(), which is unknown - Just commented it out and it built successfully
  • In the board configuration file for the uC32 (uC32.xcconfig) the MAX_RAM_SIZE is set to over 500KB - I think that should be 32768

Thank you for the feed-back.

I'm not experiencing any issue with [color=#0000FF]_scheduleTask()[/color] on my configuration. Strange!

I'll fix the RAM value for the uC32 in the next release. I mismatched Flash and RAM values.

I wrote to Diligent asking how to implement hardware debugging with the chipKIT PGM Programmer/Debugger and GDB on Mac OS. I'm waiting for an answer.


avenue33

Wed, 05 Feb 2014 12:25:20 +0000

Want to provide feed-back and vote for the next features on embedXcode?

Try the new feed-back page at OneDesk.

My plan is to proceed with an initial test for a couple of months before full implementation.


guymc

Fri, 07 Feb 2014 16:35:28 +0000

I wrote to Diligent asking how to implement hardware debugging with the chipKIT PGM Programmer/Debugger and GDB on Mac OS. I'm waiting for an answer.

chipKIT PGM is designed to work with MPLAB X. It is basically a licensed version of PICkit 3, with a different enumeration ID. Digilent does not have any additional information to provide.

You could probably drive PGM from a command line interface that is installed with MPLAB, called MDB. There is a user guide in the installation tree; some experimentation will likely be required. If an open source driver is required, check out ejtagproxy; it could be a reasonable starting point.


avenue33

Fri, 07 Feb 2014 17:23:52 +0000

Thank you for the information and the pointers. I'll give a look.


avenue33

Sat, 08 Feb 2014 18:45:08 +0000

Please find a new release of embedXcode.

  • **embedXcode • Feb 08, 2014 release 131 • Improved indexing for code-sense **
  • **embedXcode+ • Feb 08, 2014 release 131 • Improved indexing for code-sense **

Release 130 improves support for Arduino Mega2560 with Arduino 1.5.5 IDE. Release 1.5.5 of the Arduino IDE is still in beta.

Release 131 improves reference indexing for code-sense.

The chipKIT PGM isn't sold in my country and freight costs from Diligent cost twice as much as the programmer itself. So adding hardware debugger to the chipKIT boards is put on hold.

Happy coding :)

Download


avenue33

Tue, 04 Mar 2014 11:54:39 +0000

Please find a new release of embedXcode.

  • embedXcode • Mar 04, 2014 release 136 • Stability improvement
  • embedXcode+ • Mar 04, 2014 release 136 • Folders for local libraries and warning messages

Release 136 of embedXcode and embedXcode+ includes stability improvement.

Cumulated release 136 of embedXcode+ introduces folders for local libraries (release 133) and a dedicated variable (release 134) to select among them local for compilation.

Cumulated release 136 of embedXcode+ also improves feed-back from compilation with optional warning messages (release 135). Turned off by default, they provide useful information about possible causes of errors, for example unused variables.

Please refer to the release notes for more details.

Happy coding :)

Download


avenue33

Thu, 13 Mar 2014 15:19:02 +0000

Please find a release of embedXcode.

  • embedXcode • Mar 14, 2014 release 141 • Stability improvement
  • embedXcode+ • Mar 14, 2014 release 141 • Stability improvement

This release fixes small glitches reported by the users. Thanks!

Download


avenue33

Wed, 26 Mar 2014 21:40:46 +0000

Please find a new release of embedXcode.

  • embedXcode • Mar 26, 2014 release 143 • Improved code sense for libraries
  • embedXcode+ • Mar 26, 2014 release 143 • Improved code sense for libraries

Release 143 of embedXcode and embedXcode+ includes improved code-sense for libraries.

Please refer to the release notes for more details.

Happy coding :)

Download


avenue33

Thu, 03 Apr 2014 06:51:38 +0000

I've been interviewed by Michael James of the Open Source Hardware Group.

  • OSHGroup 040: Use embedXcode to program multiple development boards with Arduino code

Go and listen the podcast!


avenue33

Sun, 06 Apr 2014 09:50:45 +0000

Andy, a user of embedXcode, posted in his blog a review of the template for Xcode.

Go and read it at :arrow: Stuff Andy Makes – DIY, make, tinker, play


avenue33

Thu, 10 Apr 2014 07:58:55 +0000

I've received the chipKIT PGM and I'm investigating the tools.

The programmer/debugger works fine with the NetBeans-based MPLAB X IDE but I need to figure out how to use it in command line mode.

A new version of the MPLAB X IDE is expected soon, with better support for command line tools.

Stay tuned :)


avenue33

Thu, 24 Apr 2014 13:30:32 +0000

Please find a new release of embedXcode+.

  • embedXcode+ • Apr 23, 2014 release 151 • Added My Boards configuration file

How to proceed:

  • Edit and customise the specific board called My Board on embedXcode+.
  • Call the utility Update My Board to add the new board to the embedXcode+ templates Example, Local Library and Sketch.
  • Create a new project: the board My Board is available for selection.

Please refer to the release notes for more details.

Download

Based on the feed-back I've received for the last couple of months, I've reconsidered the provider for the help desk and selected FreshDesk, with a fast, light and modern interface.

Happy coding :)


avenue33

Tue, 13 May 2014 12:30:01 +0000

Please find a new release of embedXcode.

  • embedXcode • May 12, 2014 release 158 • Maximum size for RAM
  • embedXcode+ • May 12, 2014 release 158 • Maximum size for RAM

The cumulated embedXcode+ release also includes improved boards USB ports names, USB type and keyboard layout selection for Teensy, customised path for IDE applications, and optional serial console for Fast target.

I'm still investigating the use of the chipKIT PGM for upload and debug.

Happy coding :)

Download


avenue33

Thu, 22 May 2014 10:07:45 +0000

Please find a new release of embedXcode+.

  • embedXcode+ • May 22, 2014 release 160 • Support for chipKIT PGM programmer-debugger**

Breakpoints are defined within Xcode and the debugging session runs in a Terminal window. Features include set-by-step execution, stack display, variable monitoring. It relies on the chipKIT PGM programmer-debugger.

Link


avenue33

Tue, 12 Aug 2014 15:13:38 +0000

Please find a new release of embedXcode.

  • embedXcode • Aug 08, 2014 release 173 • Support for PICadillo-35T
  • embedXcode+ • Aug 08, 2014 release 173 • Support for PICadillo-35T

The :arrow: PICadillo-35T from 4D Systems combines a chipKIT-compatible board with a high-definition 480x320 screen.

:arrow: Download


avenue33

Sun, 21 Sep 2014 18:57:05 +0000

Please find a new release of embedXcode.

  • embedXcode • Sep 20, 2014 release 201 • Support for Xcode 6.0.1 on Mac OS X 10.9.5
  • embedXcode+ • Sep 20, 2014 release 201 • Support for Xcode 6.0.1 on Mac OS X 10.9.5

This new release combines release 177 of embedXcode+ with support for the Robotis OpenCM9.04 board and release 176 with a cleaner build process.

As embedXcode celebrates its first birthday, release 201 is the first release of the 2nd year!

Happy coding :)

Download


avenue33

Sat, 18 Oct 2014 17:59:05 +0000

embedXcode now runs on Mac OS X.10 Yosemite.

Download


avenue33

Sun, 22 Mar 2015 17:00:03 +0000

Please find a new release of embedXcode.

embedXcode 2.7 updates the IDEs.

  • Updated support for MPIDE 2014-08-21 and 1.5 beta.

Please check the release of the official IDEs as previous versions are no longer supported.

:arrow: Download


avenue33

Mon, 13 Apr 2015 18:34:25 +0000

Please find a new release of embedXcode.

  • embedXcode  • Apr 12, 2015 release 2.7.9 • Added Arduino Zero Pro, chipKIT DP32 and WiFire
  • embedXcode+ • Apr 12, 2015 release 2.7.9 • Added Arduino Zero Pro, chipKIT DP32 and WiFire

The chipKIT DP32 is perfect for prototyping. The WiFire is ultra-powerful WiFi with 2 MB of Flash at 200 MHz!

Download


avenue33

Fri, 01 May 2015 08:26:40 +0000

Please find a new release of embedXcode.

  • embedXcode • Apr 30, 2015 release 285 • Support for network and WiFi on chipKIT WF32 and WiFire
  • embedXcode+ • Apr 25, 2015 release 285 • Support for network and WiFi on chipKIT WF32 and WiFire

Release 2.8.5 brings support for the network and WiFi libraries on the chipKIT WF32 and WiFire boards with MPIDE 0023 and 1.5.

[attachment=0]872775705.jpg[/attachment]

Read the review of the chipKIT WF32 and WiFire boards.

:arrow: Dowload


avenue33

Sun, 27 Sep 2015 10:53:07 +0000

New release 3.0 of embedXcode supports and runs on Xcode 7 with Mac OS X 10.10.

Release 3.0.1 improves the stability of the installation process. Release 3.0.2 fixes two bugs for Arduino Due and LaunchPad CC3200. Release 3.0.3 fixes a bug for mbed.

Please note embedXcode requires Arduino.CC 1.6.1 for Java 7 or Arduino.ORG 1.7.7.

Download


avenue33

Mon, 11 Jan 2016 21:41:25 +0000

New release 4.1.5 updates support for chipKIT boards with the Boards Manager on Arduino.CC 1.6.5.

For more information on the installation process, please refer to the Install the chipKIT Core page on the chipKIT website.

:arrow: Download embedXcode.


avenue33

Sun, 15 Jan 2017 19:18:53 +0000

New release 6.0.3 improves stability for chipKIT boards.

Download


avenue33

Tue, 17 Oct 2017 19:28:25 +0000

The embedXcode User Manual is now available as a dedicated website.


avenue33

Wed, 14 Feb 2018 21:43:43 +0000

Please find a new release of embedXcode.

**

  • embedXcode • Feb 14, 2018 release 9.1.4 • Updated support for chipKIT boards
  • embedXcode+ • Feb 14, 2018 release 9.1.4 • Updated support for chipKIT boards

**

The standard edition now includes the chipKIT boards.

Download


avenue33

Fri, 01 Jun 2018 07:54:57 +0000

The User Manual is now available as a website.

[attachment=0]capture-2017-10-04-17-37-53_orig.png[/attachment]

Go to https://embedxcode.com


avenue33

Fri, 28 Sep 2018 15:06:50 +0000

Please find a new major release of embedXcode.

  • embedXcode • 25 Sep 2018 release 10.0.6 • Added IDE path to board configuration files
  • embedXcode+ • 25 Sep 2018 release 10.0.6 • Added IDE path to board configuration files

embedXcode now supports Xcode 10 on macOS 10.14 Mojave.

Download


avenue33

Wed, 07 Nov 2018 18:41:42 +0000

Release 10.2.3 updates support for Xcode 10.1 and macOS 10.14.1.

Download


avenue33

Fri, 11 Oct 2019 12:59:40 +0000

Release 11.2.1 of embedXcode adds support for Xcode 11.1 on macOS 10.15 Catalina.

It also brings updates support for latest chipKIT boards package version 2.1.0.

Download


avenue33

Sat, 18 Jan 2020 20:29:50 +0000

Digilent and chipKIT haven't released any new boards for while now. Furthermore, the future of the PIC32 platform looks uncertain after Microchip acquired Atmel in January 2016.

As a consequence, development for the chipKIT platform is put on hold.


avenue33

Thu, 12 Nov 2020 13:15:12 +0000

When I started developing embedXcode in 2010 and decided to share it in 2012, I’ve never imagined that it would be still active so many years later.

[attachment=0]AlmostTenYears.png[/attachment]

Because of the multiple challenges embedXcode faces today, the adventure is coming to an end.

embedXcode does not plan to support macOS 11 Big Sur and Xcode 12 but will focus instead on long-term support for macOS 10.15 Catalina and Xcode 11.

To replace embedXcode, I recommend

I want to thank all the users who enjoyed embedXcode and supported the project by making donations and reporting issues, allowing to reach a high level of stability.


majenko

Thu, 12 Nov 2020 14:09:29 +0000

Thank you for all the support and joy you have brought to the community. UECIDE made the same decision a few months ago - no support after Catalina. It seems to be a common theme around the globe: Apple's fascist attitude to what you can and can't run on the computer you own is downright dispicable.