Go Down

Topic: Arduino on Xcode Project — Official Thread (Read 187942 times) previous topic - next topic

ScottG

On my Mac IDE ver 1.6.0 is named Arduino_160.app.  I still have an older version (1.0.5) that's named Arduino.app. 

avenue33

#721
Mar 02, 2015, 05:11 pm Last Edit: Mar 02, 2015, 05:12 pm by avenue33
Please find a new release of embedXcode.

  • embedXcode  • Mar 02, 2015 release 2.6.3 • Stability improvement for Arduino 1.6.0
  • embedXcode+ • Mar 02, 2015 release 2.6.3 • Stability improvement for Arduino 1.6.0
  • embedXcode Tools • Jan 08, 2015 release 250 • Updated pre-compiled frameworks

Release 2.6.3 improves stability for Arduino 1.6.0.

Not all the plug-ins are compatible with Arduino 1.6.0, so please refrain from updating them. Section Install the Template • Install the IDEs of the Boards • Check the IDE and Plug-In Options lists the recommended versions of the Arduino IDE for each plug-in.



Download

kervyn

Avenue 33,

I think I'm a bit confused as to where I define functions within the program. Im getting the error " 'Fancontrol' was not declared in this scope" when the function being called on is after the loop function at the bottom of the sketch.

Ive attached a screen shot of the code and error.

Should the 'fancontrol' function code be relocated to one of the local library files? if so where exactly?


Thanks for your help!

 

tgsuperspec

If youe using Emberded X then you have to declare using C/C++ including .h files otherwise Xcode will throw this sort of error.

The Artdunio IDE fiddles many aspects of the correct way to program in C++ so to use Xcode you need to understand the correct way of doing things..


avenue33

#724
Mar 12, 2015, 09:56 pm Last Edit: Mar 12, 2015, 10:03 pm by avenue33
@kervyn

Please refer to Find Solutions to Issues • Check Compatibility • Declare Prototypes on Main Sketch on the User Manual.

Quote
Projects developed by embedXcode are highly compatible with the standard IDEs, like Arduino and alike.
However, unlike the standard IDEs, code with embedXcode is true C++.

The main consequence of true C++ is the need for declaring prototypes of the functions in the main sketch.
In the example provided below, the prototype for fancontrol() is required, as fancontrol() is called by loop() but defined after.

Without prototyping fancontrol(), compilation would raise an error. The standard IDEs add the prototypes on the main sketch.

Prototypes aren't required for libraries as they are already included in the header file.

Prototypes are fully compatible with the standard IDEs.
As usual, reading the user manual is highly recommended.

avenue33

Please find a new release of embedXcode.

embedXcode 2.7 adds two new platforms.
  • Added support for panStamp AVR and NRG boards.
  • Added support for Intel Edison on Wiring / Arduino framework release 1.6.1
  • Added support for Intel Edison on Yocto framework for embedXcode+.

embedXcode 2.7 also updates the IDEs.
  • Updated support for Arduino IDE 1.6.1.
  • Updated support for MPIDE 2014-08-21 and 1.5 beta.
  • Updated support for RedBearLab as at March 11, 2015.
  • Updated support for Teensyduino 1.21.
  • Updated support for Wiring 1.0.1.

Please check the release of the official IDEs as previous versions are no longer supported. With the release of Arduino IDE 1.6.1, previous versions 1.0.6 and 1.5.8 are no longer supported except for plug-ins.

Download

avenue33

The last release of the Arduino IDE 1.6.2 inaugurates a radical new internal structure and is not compatible with previous versions.

The standard ASCII files for boards, platforms and programmes are gone! They are no longer under the folder /Applications /Arduino.app /Contents /Java /hardware /arduino /avr /boards.txt but they have moved to the hidden folder /Users /ReiVilo /Library /Arduino15 /packages /arduino /hardware /avr /1.6.2 /boards.txt.

Moreover, the support for the Arduino Due doesn't come as standard. An additional download is required. Call the menu Tools > Boards > Boards Manager and then click on Download for the Arduino SAM Boards.

Worse, none of the plug-ins developed by other providers of boards works with this next release 1.6.2.

For all those reasons, embedXcode doesn't support release 1.6.2.
 
Please install and use Arduino release 1.6.1, which is supported by embedXcode.

The last release of the Arduino IDE 1.6.2 inaugurates a radical new internal structure and is not compatible with previous versions.

The standard ASCII files for boards, platforms and programmes are gone! They are no longer under the folder /Applications /Arduino.app /Contents /Java /hardware /arduino /avr /boards.txt but they have moved to the hidden folder /Users /ReiVilo /Library /Arduino15 /packages /arduino /hardware /avr /1.6.2 /boards.txt.

Moreover, the support for the Arduino Due doesn't come as standard. An additional download is required. Call the menu Tools > Boards > Boards Manager and then click on Download for the Arduino SAM Boards.

Worse, none of the plug-ins developed by other providers of boards works with this next release 1.6.2.

For all those reasons, embedXcode doesn't support release 1.6.2.
 
Please install and use Arduino release 1.6.1, which is supported by embedXcode.
how about the newest version of Arduino IDE 1.6.3 ?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy