Loading...
  Show Posts
Pages: 1 [2] 3 4 ... 30
16  Development / Other Software Development / Re: how to go to STM32 / Arm on: April 30, 2013, 05:08:08 am
I also recommend the LaunchPad Stellaris from Texas Instruments.

It features a LM4F-ARM with FPU, 256KB of flash and 32 KB of RAM, for USD13.

Among the many development tools, Energia is a fork of Arduino.

Learn more:
17  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 29, 2013, 04:55:36 am
Sorry, but I can't provide general support for Arduino.

I strongly recommend the book Arduino Cookbook — Recipes to Begin, Expand, and Enhance Your Projects by Michael Margolis I purchased thanks to contributions.

It reviews all the basics of Arduino, both hardware and software, and provide very interesting technical tips.

18  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 29, 2013, 04:39:25 am

panStamp is a whole new platform and is not currently supported by Arduino.

I'd need a couple of these boards so I can investigate and add support to them.

From the IDE perspective, it's the same as Arduino Pro or Pro Mini (3.3V, 8Mhz) w/ATmega 328.  This is the board I select in Arduino IDE when uploading to panstamp


As I've said before, even if the panStamp is considered as a Arduino Pro or Pro Mini (3.3V, 8Mhz) w/ATmega 328 by the Arduino IDE, because it uses some obscure AVR library, it is a new platform for embedXcode.
19  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 29, 2013, 04:28:27 am
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.

For projects I created with an earlier release of embedxcode, will this pre-processing variable still be set?  If not, how do I implement this feature on projects I've already created?

embedXcode is a template, not a framework.

So, yes, you need to update all the makefile and the main.cpp files with the new release.
20  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 29, 2013, 04:27:10 am
In LocalLibrary.h I have a #include <> for a library in my sketchbook libraries folder, but I get an error that xcode can't find it.  If I remove the include from LocalLibrary.h and put it in the .ino file, it works fine.  I've spent two hours trying to figure out what I'm doing wrong - reading XCode 4 Unleashed, Google searches, but I can't figure it out.  I'll but it's something really simple.  Please help.

It is very hard to help you on a specific project and it is not the purpose of the thread.

Just mention #include <> in both the main sketch and in the library.
21  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 28, 2013, 11:04:32 am
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.

Code:
EMBEDXCODE = 47

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

Code:
-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.


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

Enjoy smiley
22  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 28, 2013, 08:23:31 am

embedXcode is provided with the path to the tool-chain and no specific operation is carried out concerning one specific file. It is really strange as other files are used.

I need the code of the project to investigate and see what's happening.

It happens when creating a new project. Just put the panstamp library in your libraries folder and create a new project and you should get the same error.  Panstamp library is located here:
http://code.google.com/p/panstamp/downloads/detail?name=panstamp_arduino_1.0.zip&can=2&q=

panStamp is a whole new platform and is not currently supported by Arduino.

I'd need a couple of these boards so I can investigate and add support to them.
23  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 28, 2013, 01:49:37 am
I have a library called panstamp.h that won't compile in xcode.  The problem is PRR isn't defined.  It compiles fine in the Arduino IDE.   PRR is defined in Arduino's library iom328p.h

The iom328p.h file is not an Arduino library. Instead, the iom328p.h file is part of the AVR toolchain. It is located deep under the toolchain folder.

Code:
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr/include/avr/iom328p.h

embedXcode is provided with the path to the tool-chain and no specific operation is carried out concerning one specific file. It is really strange as other files are used.

I need the code of the project to investigate and see what's happening.
24  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 27, 2013, 11:40:08 pm
I created a project in Xcode and everything works fine.  I wanted to open it in the Arduino IDE and compile it, but the problem is since main.cpp is in the same directory as my .ino file, Arduino IDE opens up main.cpp as as tab.  When I try to compile I get an error because main.cpp isn't needed by the Arduino IDE.  Any suggestion as to getting around this?

Remember, with Xcode, you're working with true C++. The main.cpp is a standard for C++ but Arduino IDE hides it.

The only solution is to create another folder with the name of the sketch (eg. embed1) and copy the main sketch .ino and all the .h .cpp except main.cpp.
25  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 26, 2013, 06:48:40 am
It seems MarlinSerial also raises problems here, there and even at GitHub.

As far as I understand, your project with the MarlinSerial library does compile with the Arduino IDE. Which release of the Arduino IDE are you using? Which Arduino board are you using?

As a matter of facts, Arduino does a lot of things under the hood. In normal C++, if a library declares a public variable, another library can't declare the same public variable.

Now, as I don't have the code for the MarlinSerial library, I can't be of much help.

Try new release

embedXcode • Apr 26, 2013 release 46 • Excluded libraries from core, application and user

where excluded libraries include all libraries, core, application and user.
26  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 26, 2013, 02:35:16 am
 If Marlin rewrites HardwareSerial, edit the main makefile
Code:
EXCLUDE_LIBS = HardwareSerial
as described in section 5.2.2 Exclude Librairies.

Now, if two libraries define the same constants or variables, conflict is unavoidable.
27  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 23, 2013, 02:29:50 am
I don't know why, but this problem is gone.  New projects are building normally now.

I'm glad it works now. Enjoy embedXcode smiley
28  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 22, 2013, 10:29:12 pm
GitHub only hosts the source code, not the installer package.
29  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 22, 2013, 12:24:25 pm
Can you tell me exactly where on github you have release 43 & 44 .pkg files.  I looked and couldn't find them.  Maybe it would help if we knew which release was the first on to give me this problem.

The log with all changes is available at http://github.com/rei-vilo/embedXcode/commits/master
30  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 22, 2013, 12:22:50 pm
The differences between releases 42 and 45 are:
  • wget (42) vs. curl (45)
  • check release every time (42) vs. check release only once
  • specific MPIDE handling (45)

Should I be able to replicate the same issue, I would understand what's going on and work on a fix.
Pages: 1 [2] 3 4 ... 30