Building Source Code

With DevEco Device Tool, you can easily build source code of the Hi3861V100 development board, thanks to its productivity-boosting features, such as the compiler toolchain, detection of the build environment dependencies, and one-click installation of the dependencies.

icon-note.gif NOTE

The build environment of Hi3861V100 is Ubuntu.

  1. Click Project Settings on the menu bar to access the Hi3861V100 project configuration page.

    en-us_image_0000001275483042

  2. On the Tool Chain tab page, DevEco Device Tool automatically checks whether the dependent compiler toolchain is complete. If a message is displayed indicating that some tools are missing, click Install to automatically install the required tools.

    en-us_image_0000001333256741

  3. Install the toolchain related to Hi3861V100. Certain tools may require the root access to install. In this case, enter the user password in the TERMINAL window.

    icon-note.gif NOTE

    en-us_image_0000001280938208

    After the toolchain is automatically installed, the figure below is displayed.

    en-us_image_0000001281378224

  4. On the wifiiot_hispark_pegasus tab page, set build_type, whose default value is debug.

    en-us_image_0000001333581089

  5. Choose PROJECT TASKS > wifiiot_hispark_pegasus > Build to start building.

    en-us_image_0000001281221352

  6. Wait until SUCCESS is displayed in the TERMINAL window, indicating that the build is complete.

    en-us_image_0000001405938781

    After the building is complete, go to the out directory of the project to view the generated files, which are needed for burning an image.