I have set up avr studio 6 as an Arduino IDE with the help of the tutorial at: http://www.engblaze.com/tutorial-using-atmel-studio-6-with-arduino-projects/#final
I added an external tool as described in the tutorial and used the following argument:
-CC:\Program Files (x86)\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf -v -v -patmega328p -carduino -P\\.\COM4 -b57600 -D -Uflash:w:"$(ProjectDir)Debug\$(ItemFileName).hex":i
When I try to flash the Arduino Uno board this results in the following error:
avrdude.exe: invalid file format '\Users\UserName\Documents\ElectronicsProjects\bt-controller\software\gamecontroller\snes-controller\Debug\snes-contro.' in update specifier
avrdude.exe: error parsing update operation 'flash:w:C:\Users\UserName\Documents\ElectronicsProjects\bt-controller\software\gamecontroller\snes-controller\Debug\snes-contro.'
I tried renaming one of the folders, since the very first time one of the names contained a space. However the problem continues to exist. Is there any setting that I should change in the argument?