0% found this document useful (0 votes)
227 views

10 LiteOS Studio Development

Uploaded by

Nada Knani
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
227 views

10 LiteOS Studio Development

Uploaded by

Nada Knani
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

LiteOS Studio Development

Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.


Foreword
⚫ The LiteOS Studio is an integrated development environment of the
Huawei LiteOS. It supports programming languages such as C, C++, and
assembly, enabling fast and efficient IoT application 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

2. Installation and Configuration

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.

⚫ LiteOS Studio supports the chip architectures such as ARM Cortex-M0,


Cortex-M4, Cortex-M7, Cortex-A7, and ARM926EJ-S.

⚫ The LiteOS Studio supports multiple types of development boards,


including those from mainstream vendors such as ST, HiSilicon, and Fudan
Microelectronics.

Page 5 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Features

Mainstream One-stop
language development
support tools

Online SDK Multi-kernel


management support

Comprehensive Quick fault


debugging functions locating
Page 6 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Overview

2. Installation and Configuration

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.

⚫ Development resource configuration includes LiteOS SDK, development environment,


component resources, and development board resources.

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.

 Open the downloaded SDK package and decompress it to a custom directory.

 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.

 For manual check, click Check for New Version.

Page 12 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Overview

2. Installation and Configuration

3. Basic Functions of the LiteOS Studio

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.

 Area 2: Debugging tool bar, which is


1 4
used for compilation and burning.

 Area 3: Status bar, which displays


console, serial port terminal, and
symbol definition.
3
 Area 4: Coding area

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.

 Undo, redo, back, forward, and global search.

 Compile, recompile, stop compiling, burn, and restart the development board.

 Start debugging, stop debugging, next, step into, and step out.

 Add/Delete a breakpoint, enable/disable a breakpoint, and delete all


breakpoints;

 Start/Close decompilation, view, and project configuration.

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

⚫ Installation, configuration, and basic operations of the LiteOS Studio

Page 19 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Thank You
www.huawei.com

You might also like