Contributed by bzhou830, curated by Ai-Thinker
Operation Steps
1. Unboxing
The unboxing video has been posted on Bilibili; please hit like, coin and favorite! 

2. Setting Up the Development Environment There are already quite a few articles about setting up the development environment. You can choose Windows or Linux, and the official team has also provided a virtual machine image. I originally wanted a plug-and-play experience, but opening Baidu Netdisk was dizzying. The image is too large, and the download speed was only tens of KB/s. Forget it, I’ll install one myself. First, install an Ubuntu 18.04 system. I won’t go into detail about the system installation. After installation, some packages need to be installed:
Operation Steps (continued)
sudo apt install -y net-tools
sudo apt-get install libssl-dev -y
sudo apt-get -y install gcc rpm git cmake ninja-build
sudo apt-get -y install make
sudo apt-get -y install vim
After these are installed, you can clone the code.
git clone https://gitee.com/Ai-Thinker-Open/AiPi-Open-Kits.gitAfter cloning, we still need to fetch the SDK. However, the submodule SDK path in the repository above still points to GitHub; we can modify it manually so that the SDK path points to Gitee. 
Then run:
git submodule updateThis fetches the SDK from Gitee. A quick note on why Gitee: GitHub access from mainland China is often disconnected or unreachable. Once the SDK is fetched, we need to configure the SDK's build toolchain so that compilation can find it later. Enter the SDK directory and run the following two scripts:
Operation Steps (continued)
. install.sh
. export.sh
Once the above is done, pick an example to try compiling. Go to the helloworld directory under examples and run make:

As shown above, compilation succeeded. Now plug in the board and try flashing.
Have questions?
For other questions, please visit the unified discussion area: Ai-Thinker Discussions

