harmony(鸿蒙)Running

  • 2022-08-09
  • 浏览 (634)

Running

Starting the System

After burning is completed, you need to configure the bootloader to run the OpenHarmony system.

  1. In the Hi3516D V300 task, click Configure bootloader (Boot OS) to configure the bootloader.

icon-note.gif NOTE The bootloader configuration in DevEco Device Tool has been adapted to Hi3516D V300. Therefore, no manual modification is needed.

en-us_image_0000001226794644

  1. When the message shown below is displayed, restart the development board. If “SUCCESS” is displayed, it indicates that the configuration is successful.

en-us_image_0000001227114584

  1. Click Monitor on the taskbar to start the serial port tool.

en-us_image_0000001271234705

  1. When the command output is displayed, press Enter until OHOS # is displayed, indicating that the system is started successfully.

en-us_image_0000001271594709

Running a Hello World Program

After the system is started, perform the following steps to run the Hello World program:

  1. Go to the bin directory on the startup page.
   cd bin
  1. Run the following command to run the helloworld program:
   ./helloworld

If the message “Hello World!” is displayed, the program runs successfully.

en-us_image_0000001271354693

Next

Congratulations! You have finished all steps! Proceed to develop a sample camera with a screen to better familiarize yourself with OpenHarmony development.

你可能感兴趣的鸿蒙文章

harmony(鸿蒙)Getting Started

harmony(鸿蒙)Overall Description of Compilation Form Factors

harmony(鸿蒙)Importing a Source Code Project

harmony(鸿蒙)Setting Up the Windows+Ubuntu Hybrid Development Environment

harmony(鸿蒙)Introduction to the Hi3516 Development Board

harmony(鸿蒙)Introduction to the Hi3861 Development Board

harmony(鸿蒙)Mini and Small System Overview

harmony(鸿蒙)Obtaining Source Code

harmony(鸿蒙)Building

harmony(鸿蒙)Burning

0  赞