1366 views|1 replies

25

Posts

0

Resources
The OP
 

【AG32VF407/AGRV2K】 2. Development environment construction [Copy link]

 

There are 4 main steps to build a development environment

1. VSCODE

2. Python;

3. Configure SDK environment in VSCODE

4. Compile the demo sample program

1. VSCODE installation

VSCODE installation is relatively simple, just run the exe file. The official installation package is VSCodeUserSetup-x64-1.62.3. My computer has already installed 1.71.9, so I won't reinstall it here.

2. Python installation

Python installation uses the official installation package

2.1 The administrator runs the installation package and selects Customize installation according to the icon.

2.2 The administrator runs the installation package and selects Customize installation according to the icon. After entering, check all the options.

2.3 Select Next, select the default installation path, and click [Install]

Wait for the installation to complete

After the installation is complete, select Disable path length limit and click Close. The Python installation is now complete.

3. Configure SDK environment in VSCODE

3.1 Run VSCODE, search for platformIO IDE in the plugins, and install it

A brief introduction to the first use of platformIO IDE

PlatformIO IDE is an integrated IoT development environment based on Atom and Visual Studio Code . It provides a range of tools and services to help developers develop, test and deploy IoT applications on different hardware platforms. PlatformIO IDE supports more than 100 different embedded boards and frameworks, including Arduino , ESP32, STM32, etc.

1. History of PlatformIO IDE

PlatformIO IDE was first created by Ivan Kravets in 2014. He wanted to create a simple and practical IoT development ecosystem and provide compatibility with various hardware platforms. Over time, PlatformIO IDE has gained more and more widespread application and recognition. Now, PlatformIO IDE has become an active community with many users and contributors participating in it.

2. Features of PlatformIO IDE

PlatformIO IDE has the following features:

  • Cross-platform: PlatformIO IDE can run on operating systems such as Windows, Linux, and macOS.
  • Compatibility: PlatformIO IDE supports over 100 different embedded boards and frameworks, including Arduino, ESP32, STM32, and more.
  • Practicality: PlatformIO IDE provides a range of tools and services to help developers develop, test and deploy IoT applications on different hardware platforms.
  • Ease of use: PlatformIO IDE provides an easy-to-understand and easy-to-use GUI interface that can help developers get started quickly.
  • Openness: PlatformIO IDE is an open source project and is licensed under the Apache 2.0 license.

3. Application of PlatformIO IDE

PlatformIO IDE can be applied in many areas, including the following:

  • IoT Development: PlatformIO IDE can provide cross-platform development, testing and deployment solutions for IoT.
  • Embedded system development : PlatformIO IDE can provide cross-platform tools and services for embedded system development.
  • Automation control system development: PlatformIO IDE can be used for the development and testing of automation control systems.
  • Robot development: PlatformIO IDE can be used for the development and testing of robot control systems.

As an open source IoT development ecosystem, PlatformIO IDE will continue to be developed and improved. In the future, PlatformIO IDE may expand to more areas and be applied on more hardware and software platforms. In addition, as more and more users and contributors join the PlatformIO IDE community, the functionality and performance of PlatformIO IDE will continue to improve.

After the installation is complete, restart VSCODE as prompted

After the installation is complete, an icon appears in the plug-in column on the left.

4. Compile the demo sample program

4.1 Double-click to run AgRV_pio-1.2.1-win64-release.exe. There are 4 versions. Install the latest version.

4.2. After specifying the workspace, click install

4.3. The directory after installation is as follows

4.4. Open the project sample in VSCODE

Choose trust here

4.5 After opening the demo example, the directory is as follows

4.6 Compilation

Click the terminal and enter the example directory

cd example

Run the pio run -e dev -v command

The above figure shows successful compilation

This post is from Domestic Chip Exchange

Latest reply

As an open source IoT development ecosystem, PlatformIO IDE still needs to be improved   Details Published on 2023-8-20 21:51
 
 

6593

Posts

0

Resources
2
 

As an open source IoT development ecosystem, PlatformIO IDE still needs to be improved

This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list