Pages: 1 ... 25 26 [27] 28 29 ... 46   Go Down
Author Topic: Arduino on Xcode Project — Official Thread  (Read 145331 times)
0 Members and 2 Guests are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi avenue33,
There is something wrong when preparing the project with ver.57. The "External Build Tool Configuration" seems to be unchanged after the first preparation.
Logged

France
Offline Offline
God Member
*****
Karma: 11
Posts: 644
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

jimaobian, thank you for noticing me. Could you please check this new release solves the issue you reported?

I want to thanks all contributors and stress the importance of your help to continue this project, as Xcode 5 and OS X Mavericks are to require updating my old Mac.

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

Enjoy
« Last Edit: July 10, 2013, 02:29:49 am by avenue33 » Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am having difficulties to use User Library files with EmbedXCode.
I set the path in Arduino preferences (Arduino 1.5b2 finds the libs I add, letting me thing I've done this correctly)
Bascialy, when I include a file with #include <SdFat.h> for example, it does not find it.
Also and it may be related to my problem, when I add .cpp and .h files in a subfolder in my project, they do not get compiled either.

Anyone a clue ?



EDIT : Found the problem to be a space in the arduino sketchbook folder...
« Last Edit: July 10, 2013, 10:39:04 am by rderimay » Logged

France
Offline Offline
God Member
*****
Karma: 11
Posts: 644
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

EDIT : Found the problem to be a space in the arduino sketchbook folder...

Thank you for reporting the issue and for sharing the cause...

Space in project, library, sketchbook folder names aren't recommended, as for the Arduino IDE. I've been working very hard on last releases the manage a volume name with a space...

Anyway, avoid names with space as much as possible!
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Now I am facing another problem when compiling.
I want to use the SdFat Library (http://code.google.com/p/beta-lib/downloads/list)
They define a const (uint8_t const  SD_CHIP_SELECT_PIN) at 2 different places (once in SdSpi.h and once in Sd2Card.h)
Their examples compile without problems in Arduino IDE but not in EmbedXCode.

Any clue ???

Thanks !
Logged

France
Offline Offline
God Member
*****
Karma: 11
Posts: 644
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Strange!

If the same constant is defined twice, it should normally raise an error.

I haven't found the SD_CHIP_SELECT_PIN definition in Sd2Card.h, only in SdSpi.h.

Now, be cautious with the Arduino 1.5 libraries.

Arduino 1.5 is still in beta and the libraries use a very new structure.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Strange!

If the same constant is defined twice, it should normally raise an error.

I haven't found the SD_CHIP_SELECT_PIN definition in Sd2Card.h, only in SdSpi.h.

Now, be cautious with the Arduino 1.5 libraries.

Arduino 1.5 is still in beta and the libraries use a very new structure.

Yes, but I have to use a DUE and so, I have to use 1.5, which is sometimes a pita...
Line 65, you will find

uint8_t const  SD_CHIP_SELECT_PIN = SS_PIN;
Logged

France
Offline Offline
God Member
*****
Karma: 11
Posts: 644
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

SdSpi.h line 65 = uint8_t const SD_CHIP_SELECT_PIN = SOFT_SPI_CS_PIN;

But on Sd2Card?
Logged


France
Offline Offline
God Member
*****
Karma: 11
Posts: 644
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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



(link)

Enjoy smiley
« Last Edit: July 10, 2013, 01:24:58 pm by avenue33 » Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

SdSpi.h line 65 = uint8_t const SD_CHIP_SELECT_PIN = SOFT_SPI_CS_PIN;

But on Sd2Card?


You are right. There is an old Sd2Card.h from 2009 included in the Arduino "Genuine" Libs, and this is the one file which collide with the one from the SdFat Lib from now which I am trying to use...
Is there a way to give the user libs precedence over the arduino ones in EmbedXCode ??
Logged

France
Offline Offline
God Member
*****
Karma: 11
Posts: 644
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Is there a way to give the user libs precedence over the arduino ones in EmbedXCode ??

Sure, RTFM = Read the Fabulous User Manual, on chapter 4 section 2, now as an e-book.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Is there a way to give the user libs precedence over the arduino ones in EmbedXCode ??

Sure, RTFM = Read the Fabulous User Manual, on chapter 4 section 2, now as an e-book.

Hi there, ok ok. It was not so easy :-) First the manual was not available until today and second you need an iPad...
I did find one and read TFM now. Sorry for that.

Put SD and SD/utility in EXCLUDE_LIBS and now, it works.
Crazy isnt'it ?

Many thanks for your help and generally for this Xcode Template !
Once I finish my project, I will contribute you can count on me.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Problem solved with the latest version~~

Thank you!
Logged

France
Offline Offline
God Member
*****
Karma: 11
Posts: 644
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Put SD and SD/utility in EXCLUDE_LIBS and now, it works.
Crazy isnt'it ?

Yes smiley

Many thanks for your help and generally for this Xcode Template !
Once I finish my project, I will contribute you can count on me.

You're welcome!
Logged


New Jersey
Offline Offline
God Member
*****
Karma: 2
Posts: 535
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

I downloaded the iBook in iTunes, but it says I need an ipad to read it.  I don't own an ipad.  Is there another way to read it?
Logged

Pages: 1 ... 25 26 [27] 28 29 ... 46   Go Up
Jump to: