/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 \ -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino \ -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/mega /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/HardwareSerial.cpp \ -o /var/folders/gq/_c97z0614fj267w8732pn4r00000gn/T/build4731805130703822254.tmp/HardwareSerial.cpp.o /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/HardwareSerial.cpp: In function 'void store_char(unsigned char, ring_buffer*)':
#ifdef __cplusplus#include "WCharacter.h"#include "WString.h"#include "HardwareSerial.h"uint16_t makeWord(uint16_t w);uint16_t makeWord(byte h, byte l);#define word(...) makeWord(__VA_ARGS__)
Uncommenting the BOARD_TAG and and other variables in the root makefile and running a "make build" from the Terminal gave me that clue.
(btw, is there any way to make XCode give you the verbose build output. It would give better clues, sometimes).
Thank-you for such a quick response!
The only option I can have is All->My Mac 32bit.
The Project Targets/All Build Settings show Debug Board Port as tty.usbmodem*, and the Debug Board Tag as uno
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 (?)
• All cleans the files from a previous compilation, compiles and links, uploads and opens a serial window in Terminal.
• Build compiles all the files, changed and unchanged, and links them.
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 enter a valid email to subscribe
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!
via Egeo 16