10 LiteOS Studio Development
10 LiteOS Studio Development
Page 2 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Objectives
⚫ After completing this course, you will be able to:
Understand the LiteOS Studio.
Master the installation, configuration, and basic operations of the LiteOS Studio.
Page 3 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Overview
3. Basic Functions
Page 4 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Overview
⚫ The LiteOS Studio is an embedded system software development platform
based on Huawei LiteOS. It supports multiple programming languages,
such as C, C++, and assembly. It provides one-stop development
experience for code editing, compilation, burning, and debugging.
Page 5 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Features
Mainstream One-stop
language development
support tools
3. Basic Functions
Page 7 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Installation
⚫ Double-click LiteOS Studio Setup.exe to install the LiteOS Studio as
prompted.
Page 8 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Configuration
⚫ For the initial installation, you can configure development resources on the LiteOS Studio
welcome page.
Page 9 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
SDK Configuration
⚫ After the SDK is configured, the directory of the SDK is automatically read each time a project is created.
⚫ You can configure the LiteOS SDK during the initial installation or later in Files > Preferences > SDK Management.
Select the required LiteOS SDK version in the resource area and download it.
After the decompression, set the SDK directory to the custom directory.
Page 10 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Development Environment Configuration
⚫ After the development environment is configured, it is automatically read each time a project is created.
⚫ You can configure the LiteOS Studio development environment during the initial installation or later in
Files > Preferences > Dev.
Configure the compiler, burner, debugger, and related parameters based on the development environment
requirements.
Page 11 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Network Configuration and Version Update
⚫ You can configure the network of the LiteOS Studio in Files > Preferences > Network Configuration.
Select No Proxy for normal Internet access.
Select Manually Configure Proxy for accessing the Internet through a proxy server.
⚫ You can update the LiteOS Studio version in Files > Preferences > Version Update.
For automatic check, select Auto Check Update and click Apply. The LiteOS Studio automatically checks the new version.
Page 12 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Overview
Page 13 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Project GUI
⚫ The project GUI of the LiteOS Studio is
2
as follows:
Area 1: Project tree, which lists project
files.
Page 14 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Debugging Tool Bar
⚫ The buttons on the debugging tool bar are described as follows from left
to right:
Create file, open file, save, and save all.
Compile, recompile, stop compiling, burn, and restart the development board.
Start debugging, stop debugging, next, step into, and step out.
Page 15 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Status Bar
⚫ The status bar consists of the console, serial port terminal, and symbol definition.
Console: On the console, you can view the symbol library initialization, compilation, and burning information.
Serial port terminal: You can configure a serial port and its parameters on a serial port terminal, and view the input information of the serial port.
Symbol definition: The symbol definition panel displays all code segments of the symbol definition.
Page 16 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Coding Area
⚫ The coding area of the LiteOS Studio supports syntax highlighting, intelligent prompt, and automatic supplement.
⚫ The coding area also works with the debugging tool bar to provide functions such as source code symbol scanning,
symbol definition, reference redirection, symbol list viewing, function call tree viewing, and global search.
Page 17 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Quiz
1. What are the four areas of the project GUI of the LiteOS Studio? Briefly describe
them.
Page 18 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Summary
⚫ Features of the LiteOS Studio
Page 19 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Thank You
www.huawei.com