Creating a Project in Atmel Studio 7

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 project.png

The new project window will open. This dialog provides the option to specify the programming language and project template to be used.

FirstProject.png

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.

ATtiny817.png

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.

SolutionExplorer.png

A main.c file is automatically created with recommended #include file for the device selected.

main.png

Your project is now created and ready for the application code to be developed!

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.