Go Down

Topic: Arduino on Xcode Project — Official Thread (Read 405565 times) previous topic - next topic

avenue33

New release embedXcode 6.0.2 updates support for unified Arduino 1.8.0 IDE.

Download

avenue33

New release embedXcode 6.0.6 updates support for unified Arduino 1.8.1 IDE.

Download

mingletron

Is anyone else seeing an issue where the sketchbook libraries are not populated?

using Sierra 10.12.3
And embedXcode 6.1.2

I have the sketchbook directory specified in arduino.
I can see the entry in the properties file but the sketchbook in Xcode only contains the readme.txt

The other libraries are found fine.

Code compiles if I use the "standard" libraries but I cannot use any libraries that should be in the sketchbook.

Cheers in advance.

I have RTFM


Namaan

Hi,

On a new install of MAC OS X Sierra 10.12.4, using the latest version of xcode (8.3) and embedxcode,
when I create a new project (arduino, default options) and hit build, I get


Quote
Segmentation fault: 11
make: *** [info] Error 1
Command /Applications/Xcode.app/Contents/Developer/usr/bin/make failed with exit code 2
I have Arduino IDE 1.8.2.

avenue33

#800
Apr 03, 2017, 04:45 pm Last Edit: Apr 03, 2017, 04:49 pm by avenue33
Please update to release 6.2.0 as per "Segmentation Fault" Error.

stevie72

#801
Apr 08, 2017, 01:35 am Last Edit: Apr 08, 2017, 01:38 am by stevie72
Hello Guys,

I have xcode Version 8.3.1 (8E1000a) and ESP8266 Version 2.3.0-rc2 on a Mac installed.
Arduino is installad in the Version 1.8.2
Same Problems as described before from other users ...

Code: [Select]

/Makefiles/Step1.mk:437: *** generic board is unknown.  Stop.



Code: [Select]

     $(error $(BOARD_TAG) board is unknown)




Any Ideas?

Cheers, Stefan


avenue33

#802
Apr 08, 2017, 11:17 am Last Edit: Apr 08, 2017, 01:38 pm by avenue33
@stevie72

As for other users, please open a ticket at the Help Desk and provide the details listed at What Information to Provide When Asking for Help.

embedXcode currently supports

Code: [Select]
ESP8266_RELEASE                 = 2.3.0

Now, you can update the board package or edit the About.mk file following the procedure Update the Releases for the Board Packages.

stevie72


I got it working !

Version 2.3.0 is stable

Cheers Stefan


Respe

#804
Apr 23, 2017, 09:54 pm Last Edit: Apr 24, 2017, 12:15 am by Respe
make: /Users/respect/Library/Arduino15/packages/arduino/tools/bossac/1.7.0/bossac: No such file or directory
make: *** [raw_upload] Error 1

xcode Version 8.3.2 (8E2002)
arduino 1.8.2
arduino due

avenue33

Install Arduino SAMD Boards (32-bits ARM Cortex-M0+).

Respe

Thanks, helped.


embedXcode+ - What additional functions does it include?

tychop

#807
Apr 27, 2017, 03:48 pm Last Edit: Apr 27, 2017, 04:10 pm by tychop
I am getting the noob error..... :-(

"Error: sketchbook path not found"

My setting in Arduino IDE is: "/Users/klm47954/Library/Mobile Documents/com~apple~CloudDocs/Arduino"
I also tried location "/Users/klm47954/Documents/Arduino"

But I get the same error....

P.s. My projects in the Arduino IDE work just fine with these locations set...

MacBookPro13,3 (15" TouchBar)
macOS 10.12.4 (16E195)
XCode Version 8.3.2 (8E2002)
Arduino IDE 1.8.2
embedXcode (not the + version because trying out)
Arduino Uno rev. 3

Error details:
/Users/klm47954/Library/Mobile Documents/com~apple~CloudDocs/Arduino/xcodeprojects/DSG-GearMonitor/DSG-GearMonitor/Makefiles/ArduinoAVR_180.mk:65: *** Error: sketchbook path not found.  Stop.

~/Library/Arduino15/preferences.txt:
board=uno
boardsmanager.additional.urls=
build.verbose=false
build.warn_data_percentage=75
compiler.cache_core=true
compiler.warning_level=none
console=true
console.auto_clear=true
console.error.file=stderr.txt
console.length=500
console.lines=4
console.output.file=stdout.txt
editor.antialias=true
editor.caret.blink=true
editor.code_folding=false
editor.divider.size=0
editor.external=false
editor.font=Monaco,plain,12
editor.indent=true
editor.invalid=false
editor.keys.alternative_cut_copy_paste=false
editor.keys.home_and_end_beginning_end_of_doc=false
editor.keys.shift_backspace_is_delete=true
editor.languages.current=
editor.linenumbers=false
editor.save_on_verify=true
editor.tabs.expand=true
editor.tabs.size=2
editor.update_extension=true
editor.window.height.default=600
editor.window.height.min=290
editor.window.width.default=500
editor.window.width.min=400
export.applet.separate_jar_files=false
export.application.fullscreen=false
export.application.platform=true
export.application.stop=true
export.delete_target_folder=true
gui.scale=auto
last.ide.1.8.2.daterun=1493300363
last.ide.1.8.2.hardwarepath=/Applications/Arduino.app/Contents/Java/hardware
last.screen.height=900
last.screen.width=1440
last.sketch.count=1
last.sketch.default.location=35,22,1405,878,712,6
last.sketch.default.path=/Users/klm47954/Library/Mobile Documents/com~apple~CloudDocs/Arduino/projects/DSG-GearMonitor/DSG-GearMonitor.ino
last.sketch0.location=35,22,1405,878,712,6
last.sketch0.path=/Users/klm47954/Library/Mobile Documents/com~apple~CloudDocs/Arduino/projects/DSG-GearMonitor/DSG-GearMonitor.ino
platform.auto_file_type_associations=true
preproc.color_datatype=true
preproc.enhanced_casting=true
preproc.imports.list=java.applet.*,java.awt.Dimension,java.awt.Frame,java.awt.event.MouseEvent,java.awt.event.KeyEvent,java.awt.event.FocusEvent,java.awt.Image,java.io.*,java.net.*,java.text.*,java.util.*,java.util.zip.*,java.util.regex.*
preproc.output_parse_tree=false
preproc.save_build_files=false
preproc.substitute_floats=true
preproc.substitute_unicode=true
preproc.web_colors=true
programmer=arduino:avrispmkii
proxy.manual.hostname=
proxy.manual.password=
proxy.manual.port=
proxy.manual.type=HTTP
proxy.manual.username=
proxy.pac.url=
proxy.type=auto
recent.sketches=/Users/klm47954/Library/Mobile Documents/com~apple~CloudDocs/Arduino/projects/DSG-GearMonitor/DSG-GearMonitor.ino,/Users/klm47954/Library/Mobile Documents/com~apple~CloudDocs/Arduino/projects/bicolor8x8/bicolor8x8.ino,/Applications/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino,/Applications/Arduino.app/Contents/Java/examples/01.Basics/BareMinimum/BareMinimum.ino
run.display=1
run.options=
run.options.memory=false
run.options.memory.initial=64
run.options.memory.maximum=256
run.present.bgcolor=#666666
run.present.exclusive=true
run.present.stop.color=#cccccc
serial.databits=8
serial.debug_rate=9600
serial.parity=N
serial.port=/dev/cu.usbmodem1441
serial.port.file=cu.usbmodem1441
serial.port.iserial=75630313536351A0C0B2
serial.stopbits=1
sketchbook.path=/Users/klm47954/Library/Mobile Documents/com~apple~CloudDocs/Arduino
software=ARDUINO
target_package=arduino
target_platform=avr
update.check=true
update.id=9093398885407155017
upload.using=bootloader
upload.verbose=false
upload.verify=true

Sudetak

I am trying to bring my project from VisualMicro for Windows to embedXcode/Arduino. I managed to fix most of issues (there were not that many), but one still persists: I am not able to get SdFat library working. I use the Data logger sketch that comes with the library as a sort of test bed. It compiles fine under visual micro as well as the normal Arduino IDE.

When I try to compile it in embedXcode, I get some „undefined reference to" errors from linker

/Users/xxx/Library/Developer/Xcode/DerivedData/w1k-hceiuzqjyfurxefrcitlorgxfrjb/Build/Products/Debug/SDCard.cpp.o: In function `PrintFile::write(unsigned char const*, unsigned int)':

The library is listed in makefile, gets compiled (at least partially) - I can see three .o files in the build folder (SdFat.cpp.o, SdFatUtil.cpp.o and MinumSerial.cpp.o). SDCard.cpp is an implementation of my class that uses the library, but I get the same error for built-in examples).

I have opened a support ticket, got some good advice, but apparently not enough to fix the problem. Any more hints as where to look next?

avenue33

@tychop @Sudetak

Best solution is to open a ticket at the Help Desk and provide a minimal example so I can replicate and investigate the issue.

Go Up