6.1 Create the First Application on the AVR® LA MCU

To create an MCC Melody-based project, follow these steps:

  1. Launch MPLAB® X IDE.
  2. From the File menu, click New Project, or click the “New Project” icon. The New Project window will open.

    Figure 6-1. Create a New Project in MPLAB®X IDE
  3. In the Choose Project step, select the following:

    • Categories: Microchip Embedded
    • Projects: Application Project(s)

    Click Next

    Figure 6-2. New Project Window, Project Selection
  4. In the Select Device step, select the following:

    • Device: AVR32LA32
    • Tool: AVR32LA32 Curiosity Nano

    Click Next

    Figure 6-3. Device and Tool Selection
  5. In the Select Compiler step, expand the XC8 list of options, then select the compiler (for example, XC8 v3.10). Click Next.

    Figure 6-4. Compiler Selection
  6. In the Select Project Name and Folder step, enter the following:

    • Project Name: avr32la32 _cnano_ getting_started
    • Project Location: C:\GettingStarted_With_AVRLA
    • The project location can be specified either by entering the path in the field or by clicking the Browse button next to the field

    Click Finish

    Figure 6-5. Project Name and Project Location
  7. The project is created, and the MCC plug-in launches in a new window.

    Figure 6-6. MPLAB® Code Configurator Window