Step 1: Copy Source Files and Rename Project for Lab 2

Last modified by Microchip on 2024/02/06 09:53

Create a new folder ("audio_player_lab2") under apps/training/solutions/dev/audio_player.

At this point, we suggest closing any open project from the previous lab. This will prevent confusion since you will be opening the project with the same name as the previous lab before renaming it for this lab.

Copy the firmware folder from apps/training/solutions/dev/audio_player/audio_player_lab1 to the newly created folder (audio_player_lab2).

Rename the project from audio_player_lab1 to "audio_player_lab2", because by the end of this session, the lab will have audio_player_lab2 functionality. Open audio_player_lab1.

In the MPLAB® X IDE Projects pane, right-click on audio_player_lab1 and select Rename…

Rename project

In the popup window, rename the lab from audio_player_lab1 to "audio_player_lab2". Make sure that the Also Rename Project Folder option is selected.

Rename project popup

MPLAB X IDE renames the project. It closes the old project and opens the renamed project.

Project renamed

Back to Top

Verify that the project builds properly after renaming. Click the Clean and Build rebuild-project icon icon.

Back to Top

In the MPLAB X IDE Projects pane, right-click on audio_player_lab2 and select Set as Main Project.

Back to Top

Open MHC. In the MPLAB X IDE click on Tools > Embedded > MPLAB Harmony 3 Configurator.

Back to Top