# How to Develop - [Environment Setup](#section1246439101710) - [Build](#section375234715135) - [Burning](#section111671738101213) - [Prerequisites](#section1458192114718) - [Programming Flash Memory Through the USB Port](#section18423113662120) - [Development Example](#section5600113114323) ## Environment Setup For details about setting up the standard OpenHarmony environment, see [Setting Up the Environment](overview-9.md). >![](public_sys-resources/icon-note.gif) **NOTE:** >For details about the environment requirements of the third-party development board, refer to the official guide of the development board. ## Build If you are using the Docker environment, refer to the Docker usage guide to build the system. If you are using the installation package, perform the following operations in the Linux environment. 1. Go to the root directory of the source code and run the following command to build the distribution. ``` ./build.sh --product-name Hi3516DV300 ``` **product\_name** indicates the platform supported by the current distribution, 2. Check the build result. After the build is complete, the following information is displayed in the log: ``` build system image successful. =====build Hi3516DV300 successful. ``` Files generated during the build are stored in the **out/ohos-arm-release/** directory, and the generated image is stored in the **out/ohos-arm-release/packages/phone/images/** directory. >![](public_sys-resources/icon-note.gif) **NOTE:** >For details about module-specific build operations, see [Compilation and Building Overview](../subsystems/building-guidelines-for-the-standard-system.md). ## Burning Programming flash memory of a regular system requires DevEco Device Tool v2.2 Beta1 or later. The Hi3516DV300 of the Hi3516 series development boards supports programming flash memory of a regular system through the USB port, network port, or serial port, where: - **Windows system: Supports programming through the USB port, serial port, or network port** - **Linux system: Supports programming through the serial port or network port \(Linux+Windows dual system: Also supports programming through the USB port\)** Except for environment setup, the burning operations are the same for Windows and Linux. >![](public_sys-resources/icon-note.gif) **NOTE:** >Currently, the Hi3516D V300 development board supports system burning over the USB port, network port, or serial port. This document uses the USB port as an example. For details about system burning over other ports, see [Programming Flash Memory on the Hi3516](https://device.harmonyos.com/en/docs/ide/user-guides/hi3516_upload-0000001052148681). ### Prerequisites [Open a project](https://device.harmonyos.com/en/docs/ide/user-guides/open_project-0000001071680043) in DevEco Device Tool and select the folder where the file to be programmed is located. Select **Hi3516DV300** for the development board type and **Hb** for **Framework**. ### Programming Flash Memory Through the USB Port The Hi3516DV300 supports programming through the USB port in Windows or Linux+Windows environment. 1. Connect the PC and the target development board through the serial port and USB port. In this section, the Hi3516DV300 is used as an example. For details, please refer to [Introduction to the Hi3516 Development Board](https://device.harmonyos.com/en/docs/start/introduce/oem_camera_start_3516-0000001052670587). 2. Open Device Manager, then check and record the serial port number corresponding to the development board. >![](public_sys-resources/icon-note.gif) **NOTE:** >If the serial port number is not displayed correctly, follow the steps described in [Installing the Serial Port Driver on the Hi3516 or Hi3518 Series Development Boards](https://device.harmonyos.com/en/docs/ide/user-guides/hi3516_hi3518-drivers-0000001050743695). ![](figures/en-us_image_0000001160529359.png) 3. Open DevEco Device Tool and go to **Projects** \> **Settings**. ![](figures/2021-01-27_170334-17.png) 4. On the **Partition Configuration** tab page, enter the information about the files to be programmed, including the following.