Show Posts
Pages: 1 [2] 3 4 ... 41
16  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 13, 2014, 08:08:43 am
Actually, you're using an external programmer which is not supported by embedXcode+. embedXcode+ already supports the following programmers:
  • Adafruit USBtinyISP programmer,
  • Protostack USBASP programmer and
  • Sparkfun 5V FTDI Basic programmer.
Each programmer —either included in the board like in the Arduino Uno or external as the Adafruit USBtinyISP or the one you use— has its specific address —e.g. /dev/tty.usbmodem1411 or /dev/tty.usbserial-AH01PAW8, respectively. The address is defined in the board configuration file.

The way to handle this is to change the default BOARD_PORT on the board configuration file as you did or to uncomment and specify a port after BOARD_PORT on the main makefile.

Code:
# BOARD_PORT is optional
# If not defined, BOARD_PORT = /dev/tty.usb* (default)
#
BOARD_PORT = /dev/tty.usbserial-AH01PAW8

For more information, please refer to
  • chapter: User the Project
  • section: Add Files
  • sub-section: Add a Configuration File for a New Board
  • sub-section: Define a Specific Programmer for a New Board
The Fast target uses the very same procedure for uploading as the All and Upload targets you may have used.

There are too many devices —Mac, programmer, board— and too many parameters involved —Xcode, embedXcode template, Arduino tool-chain, uploader, boot loader— as possible causes to identify one for sure.
17  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 12, 2014, 01:46:16 am
Please find a maintenance release of embedXcode.

  • embedXcode  • Mar 12, 2014 release 139 • Stability improvement for Arduino Leonardo
  • embedXcode+ • Mar 12, 2014 release 139 • Stability improvement for Arduino Leonardo
Thanks ScootG!

Also, embedXcode runs fine on Xcode 5.1.

Download
18  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 11, 2014, 09:17:18 am
Mavericks should explain the slow USB enumeration.
19  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 11, 2014, 08:40:52 am
The problem with the Leonardo board is the way Serial ports are managed through USB. The latency you describe is caused by the operating system that needs to re-enumerate the USB devices. What version of Mac OS X do you have?

I'm investigating. In the meantime, just select the target Serial to open the serial console, or even better, use the great CoolTerm terminal.

20  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 11, 2014, 12:12:25 am
Serial ports in the Leonardo are tricky.

See Guide to the Arduino Leonardo and Micro for more details.
21  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 10, 2014, 07:48:05 am
Please find a new release of embedXcode.
  • embedXcode  • Mar 10, 2014 release 138 • Support for Arduino Mini with ATmega328-3.3V
  • embedXcode+ • Mar 10, 2014 release 138 • Support for Arduino Mini with ATmega328-3.3V
Download
22  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 10, 2014, 02:25:42 am
I don't have any other Arduinos plugged into the serial ports.  I'm using EmbedXcode+ 137.  I have not problem uploading to the Leonardo with the Arduino IDE (v1.05)

I was unable to replicate the issue with the exact same configuration —Arduino Leonardo, embedXcode 137, Arduino 1.0.5.

Have you tried and pressed the RESET button?

Please send me by mail the full Log Navigator output.
23  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 08, 2014, 08:17:56 am
I provide two sets of examples on the Release Notes.
24  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 07, 2014, 07:50:12 pm
From the Releases Notes

Quote
The all option usually generates a very long list of warning messages, making the analysis difficult if not impossible. Moreover, only the 200 first messages are displayed.
The solution consists on selecting a scope and targeting specific warnings.
25  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 07, 2014, 05:23:11 pm
Remember, warnings are warnings, not errors.
26  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 05, 2014, 09:31:16 am
Fixed with embedXcode+ release 137. Thank you for noticing me.

Works now, thanks!

Great smiley
27  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 05, 2014, 09:12:23 am
Fixed with embedXcode+ release 137. Thank you for noticing me.
28  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 05, 2014, 01:55:54 am
I'm having problems getting the warnings feature to work.  I just installed ver 136 (I have plus).  I opened an existing project and told embedxcode to upgrade when asked.  I went into the Makefile and noticed the upgrade process did not add WARNING_OPTIONS.  So I added:
Code:
WARNING_OPTIONS = unused-variable unused-function unused-label unused-value

You're right: the main makefile isn't updated because it contains specific settings to be kept, as the list of the libraries.

I took the option not to update the makefile to save the settings.

I put it right after the #SERIAL_BAUDRATE = 19200 line.
I created some variables that are not used and ran Build, but I didn't get any warnings.

Were the variables you created global or local?

Keep in mind compilation has optimisation options to remove unused portions of the code. Those optimisation options may interfere with the warning messages. Please refer to the Using the GNU Compiler Collection Manual.
29  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 04, 2014, 06:44:00 am
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 smiley

Download
30  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: February 20, 2014, 07:26:38 am
You're welcome!

If you want to work on a library, the best way is to have it on the same folder where the main sketch is located.

This way, libraries under the user sketchbook are protected against unwanted editing.
Pages: 1 [2] 3 4 ... 41