Follow these steps to convert an existing AVR GCC project to an XC8 project:
- 1.Open the “Project Wizard”
by selecting File → New → Project... from the Microchip Studio menu.
- 2.Select Convert AVR GCC to XC8
Project. Then specify a project name and press OK to
proceed.
- 3.AVR GCC to XC8 Converter
dialog will appear. Browse and select the AVR GCC C project file
(
*.cproj
).Figure 2. AVR® GCC to XC8
Converter
- 4.The device used in the project
will get auto-populated in the device box. Appropriate feedback is given if the
device is not supported by the conversion workflow.
Tip: If the device family pack for
the AVR device in the project is not installed, install it from the Microchip Studio menu Tools → Device Pack
Manager.
- 5.Click Convert to convert
the AVR GCC project to the XC8 project.
- 6.Right click on the project node
and select Build to build the project.