Show Posts
Pages: 1 ... 20 21 [22] 23 24 ... 43
316  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: November 22, 2012, 11:14:56 am
I have run Blink under OSX Arduino - on port tty.usbmodem*, (As reported by /dev/tty) and no problem.

It would appear that I need to have the Arduino plugged in when I use XCode (?)

As mentioned page 49 of the User Manual, each target has a specific agenda:

Quote
• All cleans the files from a previous compilation, compiles and links, uploads and opens a serial window in Terminal.
So you need the board to be plugged-in to upload.

Quote
• Build compiles all the files, changed and unchanged, and links them.
No plugged-in board is required.


I then returned to Xcode and set the Option to BUILD (as suggested) and got 30 plus failures concerned with wiFi.cpp  - e.g. wifi_drv.h no such file or directory. No Serial Port error reported.

Please, you're going too fast...

If the blink example works on the Arduino IDE, have you tried it on Xcode before trying a more complex example?

You need to validate each step, with one single change per step.

About the WiFi, I guess some specific libraries need to be installed. Have you installed them? Does the sketch compile on the Arduino IDE? Have you check the sketchbook is correctly defined —page 9 sq., ibid.? Have you restricted some libraries for faster compilation —page 51, ibid.?


317  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: November 22, 2012, 08:45:16 am
Thank-you for such a quick response!

You're welcome!

The only option I can have is All->My Mac 32bit.

Strange, you should have also Build, which builds and links without uploading, and many other options as shown is my previous post.

The Project Targets/All Build Settings show
      Debug Board Port as tty.usbmodem*, and the Debug Board Tag as uno

I the case your genuine Arduino Uno board —and not a compatible board that may use another driver to upload— is connected, open the Terminal and type
Code:
ls /dev/tty.usb*

It might be the serial port is managed by /dev/tty.usbserial* instead of the default /dev/tty.usbmodem*

  • Arduino Uno rev 2 board = /dev/tty.usbmodem411
  • Compatible Uno board = /dev/tty.usbserial-A40084mc

In such a case, just edit the the Arduino UNO.xcconfig file with the USB port.
318  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: November 22, 2012, 07:27:18 am
What target have you selected?

319  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: November 17, 2012, 11:33:56 am
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 smiley-wink
 
320  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: November 13, 2012, 09:36:31 am
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 smiley-wink
321  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: November 11, 2012, 01:14:05 pm
I'm glad it works for you now.

Uncommenting the BOARD_TAG and and other variables in the root makefile and running a "make build" from the Terminal gave me that clue.

The BOARD_TAG variable is defined when you select the board on Info pane.
Please refer to section 4.2. Change the Board on the User Manual.

(btw, is there any way to make XCode give you the verbose build output.  It would give better clues, sometimes).

All the build, link and upload commands as well as the error messages are available on the Issue navigator.
Please refer to section 5.4. Error Messages on the User Manual.

Xcode is a professional IDE and requires some learning. I strongly recommend Xcode 4 Unleashed by Fritz F. Anderson I bought thanks to contributions I've received.

322  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: November 10, 2012, 10:16:02 am
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: http://embedxcode.weebly.com
Download: http://embedxcode.weebly.com/download
User guide: http://embedxcode.weebly.com/tutorial

Enjoy smiley-wink
323  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: November 10, 2012, 06:47:17 am
I'm sorry not to be able to help you on your specific case.

I don't understand why the blink.ino file isn't inside the folder of the Xcode project:

MyProject/
. MyProject.xcode
. MyProject/
. . blink.ino
. . main.cpp
. . and other files
324  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: November 08, 2012, 02:40:23 am
Strange indeed.  This is the first time such error is reported.
325  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: November 07, 2012, 03:37:23 pm
Which release of embedXcode are you using?

Which release of the Arduino IDE are you using?

Is the Arduino IDE installed on the folder /Applications?

Current version 17 of embedXcode doesn't invoque any HardwareSerial in the default sketch.

According to the messages, it seems Arduino 23 and 1.0 are mixed. Best solution consists on deleting the Arduino IDEs and proceeding with a clean install.
326  Using Arduino / Displays / Re: OLED display, avenue33's Serial_LCD library and Arduino UNO on: November 07, 2012, 03:19:13 pm
Bonsoir,

You need to connect 5 pins:

Screen +5V to Arduino +5V
Screen Ground to Arduino Ground
Screen TX to Arduino SoftwareSerial RX = pin 2
Screen RX to Arduino SoftwareSerial TX = pin 3
Screen RESET to Arduino pin 4

The screen RESET is required by the uOLED display as its built-in Goldelox graphic controller doesn't feature auto-baud, contrary to the Picaso on uLCD screens.

On the setup() function, if myScreen is the name of your screen, include

Code:
myScreen.begin(4);

Check the example serial_software_main.pde.

Website with contact form: http://embeddedcomputing.weebly.com
Documentation: http://embeddedcomputing.weebly.com/serial-lcd.html
Forum: http://arduino.cc/forum/index.php/topic,60802.135.html
327  Products / Arduino Due / Re: What about the bootloader? on: November 07, 2012, 03:54:14 am
Thanks!
328  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: November 07, 2012, 03:53:41 am
Well, it seems your project is having some issues even in the Arduino IDE.

How complex is your project?

The sketchbook folder is the place were you place a link to the libraries you've developed.

Please refer to section 3.3. Add User's Libraries on pages 25 et sq. of the User Manual.
329  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: November 05, 2012, 12:52:15 am
Does the project compile with the standard Arduino IDE?

The "already defined here" message occurs when the same libraries are in two places:
  • first under the sketchbook / libraries folder
  • and second under the project folder.

The screenshot doesn't provide enough clues to help you more. What is the board used?
330  Development / Other Software Development / Re: Arduino 1.5 beta libraries on: November 04, 2012, 11:27:20 am
hello,

it's located in /hardware/arduino/avr/libraries

don't know the reason for.

They might be specific to the AVR platform and not compatible with the SAM one.

Pages: 1 ... 20 21 [22] 23 24 ... 43