jawher / xavr

An AVR C project template for XCode
MIT License
68 stars 18 forks source link

Debug #4

Closed kobzar closed 10 years ago

kobzar commented 10 years ago

Hi! This is good! But i cant understand how i can build project without programmer? After i create the project - i try build it and all time have a error "avrdude: ser_open(): can't open device "/dev/cu.usbmodemfd121": No such file or directory" because, as i said, i don't have any connected programers on my mac. So, what i am need do?

jawher commented 10 years ago

XAVR generates a Makefile with the following targets:

By default, doing a build in XCode invokes the All target which fails if no programmer is connected.

A simple solution would be to go the the product menu, Scheme submenu and select the Build target instead of all.

kobzar commented 10 years ago

Yes. This is works. But first i try edit Make file, and something i am do wrong. Thats why you method no working for me. But after i create new clean project, and change All to Build - all work fine for me. Thanks!