[Review of AGM's New AG32VH407 Chip - Development Environment Setup]
[Copy link]
According to the official website, the recommended development tool for this development board is Platform IDE in VS Code. You can download VS Code from the website: https://code.visualstudio.com .
1. Install VS Code (VSCodeUserSetup-x64-1.97.2.exe)
After the download is complete, double-click the downloaded executable file to install it. In the interface shown in Figure 1, select "Accept Agreement" and click "Next".
Figure 1 Acceptance Agreement
In the interface shown in Figure 2, set the location to be installed and click "Next".
Figure 2 Setting the installation location
Select the settings as shown in Figure 3 and click "Next".
Figure 3 Setting the installation location
Click "Install" on the interface shown in Figure 4. After the installation is complete, the interface will be as shown in Figure 5. Click "Finish".
Figure 4. Start Installation
Figure 5 Installation complete
After installation, the software interface is shown in Figure 6.
Figure 6 Installation complete
2. Install Python
First, download the Python installer, then double-click to install it.
Select the settings as shown in Figure 7 and click "Customize installation" to install.
Figure 7 Check the settings
Click "Next" on the screen shown in Figure 8 to continue.
Figure 8 Continue
Click "Install" on the interface shown in Figure 9 to install.
Figure 9 Installation
In the interface shown in Figure 10, click "Disable path length limit" and then click "Close".
Figure 10 Installation complete
3. Install SDK
Run VSCODE as administrator, then click
, and then enter "PlatformIO IDE" to find the platformIO plugin.
Click "Install" on the interface shown in Figure 11 to install.
Figure 11 Installing plugins
After installation, you will see a prompt highlighted in red. At this point, simply restart VS Code.
Figure 12 Installation complete
If the icon within the red box appears after restarting, it means the installation was successful.
Figure 13 Installation successful
4. Install the AG32 SDK development package
Download and extract AgRV_pio-1.6.1-win64-releas.exe, then set the working path as shown in Figure 14, and click "Install" to install.
Figure 14 Setting the working path
After installation, its folder structure is shown in Figure 15.
Figure 15 Folder Structure
Open VS Code and the example sample project, as shown in Figure 16.
Figure 16 Sample Project
In the pop-up window, select Trust as shown in Figure 17.
Figure 17 Selecting Trust
After opening the project, its interface is shown in Figure 18.
Figure 18 Engineering Interface
The result after compilation is shown in Figure 19.
Figure 19 Compilation complete
|