Hello, I am a neophyte in regards to AVR Studio. I have it primarily to upload hex files onto ATtiny461s for a customer's project/product. It is version 4 (I have not upgraded since 4 does the job). The hex files I upload were created by a friend - not me.
All the AVR programming I have done has been with ImageCraft, so I haven't even looked at AVR studio for anything but uploading hex files.
I am in the process of building a simple Pick-and-Place machine and have an Arduino with a CNC Shield. I have successfully loaded "grbl" to the Arduino and have established communication. I can manipulate the spindle commands and coolant on/off. I now want to modify "grbl" to enable the "M7" code to add "Mist Coolant" capability (I will actually be using the codes to actuate other features).
To enable "M7", a single line of code needs to be un-commented and the program re-compiled. I understand AVR Studio is capable of compiling GCC code, and I am having problems.
I found suggestions on line and followed these instructions (or at least I thought I did):
First create a new project and select your target processor and give it a name e.g. "grbl328p". Delete the file grbl328p.c. Copy all the grbl .c and .h files into the directory where this file was found. Rename "main.c" to "grbl328p.c". Add all the rest of the .c and .h files to the project.
I may not have done the last line properly.
When I try to "build", I get the following error:
gcc plug-in: No AVR Toolchain installation found. The AVR GCC plug-in can still be used if you set up your own build tools.
I am not sure if AS4 is capable of doing this (or if I need a newer version), and if it is, I obviously have done something wrong.