Atmel Studio 7 has a New Project wizard that steps you through creating a project. You can enter this through the following options:
- File > New > Project from Main Menu
- Press Ctrl+Shift+N
- Click on the New Project icon
The new project window will open. This dialog provides the option to specify the programming language and project template to be used.
Select 'GCC C Executable Project' option from the template list to generate a bare-bones executable project. Give it a name such as MyFirstProject and enter the path where you want the project stored on your computer.
Click OK.
All Atmel Studio projects belong to a solution and by default, Studio will use the same name for both the newly created solution and project. The solution name field can be used to manually specify the solution name.
The 'Create directory for solution' checkbox is checked by default. When this box is ticked, Atmel Studio will generate a new folder with the specified solution name at the location specified by the 'Location' field.
Next, the Device Selection window will appear. It is necessary to specify which device the project will be developed for. A list of devices will be presented in the Device Selection dialog, which can be scrolled through. It is possible to narrow the search by using the 'Device Family' drop-down menu or by using the search box.
In the search bar enter the key characters for the device you intend to use, then select the exact device from the list that appears. In this example, "817" was used to find and select the device ATtiny817. Then click OK to create the project.
A search for "tiny" will provide a list of all supported ATtiny devices. A search for "mega" will provide a list of all supported ATmega devices. Tools > Device Pack Manager can be used to install support for additional devices.
A new GCC C Executable project has now been created for the ATtiny817 AVR device. The Solution Explorer on the right side of the window will list the contents of the newly generated solution.
A main.c file is automatically created with recommended #include file for the device selected.
Your project is now created and ready for the application code to be developed!