当前位置:网站首页>Liteos learning - first knowledge of development environment
Liteos learning - first knowledge of development environment
2022-07-02 01:13:00 【Fat brother, Miss Wang】
Background introduction
Remember the movie 《 Among the great masters 》, There is a saying 
It's also the situation , A factory has become a face , Bullying it is tantamount to hitting Chinese people in the face , As for whether it can afford , Say something else .
As early as 2015 year , Huawei launched this LiteOS. If you ask what it has to do with Hongmeng system
Huawei LiteOS Huawei is 2012 The operating system for embedded devices of the Internet of things proposed in , The purpose of the first proposal should be to benchmark the existing RTOS( Real-time operating system , Include FreeRTOS,UCOSII These are still widely used , Familiar real-time operating system ) Develop a domestic RTOS System .
HarmonyOS( Hongmeng operating system ) It's Huawei 2019 year 8 month 9 The operating system officially released on the th , Benchmarking Android 、IOS( The Euler system to be released in the future is the benchmark windows,ubantu And other user oriented desktop operating systems ), Support multi screen collaboration ( Distributed architecture ), Mainly for consumers ( Commercial version ).
So for now , The content and applicable objects of the two are different :LiteOS Mainly for the Internet of things , That is, small embedded devices are suitable for . Hongmeng is mainly used for desktop level .
But there is a certain connection between the two , In the end , Hongmeng will use LiteOS As the kernel , Complete all its localization . All roads lead to Rome .
development environment
LiteOS The development environment and materials can be downloaded here
HUAWEI-LiteOS-Studio
First install one and have a look .
It's all foreign code , Please see the introduction below .
In order to introduce Chinese users more intuitively HUAWEI LiteOS Studio, Used in this document HUAWEI LiteOS Studio Chinese language pack extension installed vscode-language-pack-zh-hans. What the current user can get HUAWEI LiteOS Studio Chinese language pack is not preset by default , Therefore, the interface is displayed in English by default .
In order to introduce me intuitively , So I used English .
broken , I'm a double .

My daughter with yellow skin and black eyes , When I opened my mouth, I shouted :daddy.

To teach her to speak Chinese , You also need to do the following
You need to install git for windows Tools , And add environment variables .
Installation and download will not be mentioned , Configure environment variables , I am using win11, The way , Right click on my computer , then 

And remember , Restart the computer !!!!
install arm-none-eabi and make, Just download the official installation script .
In addition, this language pack , Also through the extended download program , Automatically downloaded to your system , It's just C:\Users\ user name .huawei-liteos-studio\extensions\extension-collections below ,
And then by installing vsix Plug in installation

Then restart it .
Why is it so difficult to display Chinese , It's copyright ? Or why , Is not clear .
Create a project -STM32
Click the icon in the toolbar to create the project 
We can see , The following types of chips are currently supported .
Create a STM32F103ZE Learn about the configuration of the project .
After creating the project , Let's click project configuration 
You can see the following configuration contents

In component configuration , We can choose a lot of extended content , Various protocol stacks ,lib, file system , And what you can use demo.
Compiled , pass with flying colors .
An error is reported when compiling again 
Don't bother . Because there is no corresponding chip and debugger in hand , This one hasn't been tested yet
Create a project -Hi3861
This Hisilicon chip , It should be the chip recommended by the official main force , It also provides a series of supporting services , However, the creation of this project is a little complicated . In addition to the previous installation git, You also need the following operations
- Install first. python, Again pip Install some third-party libraries .
- You also need to install the compiler
- Finally, you need to get WiF-Iot-SDK
For some installation methods, please refer to , In especial SDK Acquisition and parameter configuration
《 Internet of things practice |Huawei LiteOS Construction of development environment and in Hi3861 Run up Demo》
In short, it is a troublesome horse , I'm afraid you can use it smoothly 
end
Today I mainly introduce LiteOS Development tools and familiar with a project . In terms of ease of use alone , Compared with the current popularity of the Internet of things ESP8266 Come on , Much worse , The supported components differ by one order of magnitude . At present, it focuses on Runhe manufacturer , Is committed to promoting Hi8361 hi3516 Chip module development .
Take back what I said before , This LiteOS, It's really much worse to lose face .
Today is the Lantern Festival .
The favorite festival of many women in the Tang Dynasty is the Lantern Festival . During the Lantern Festival , The emperor granted a three-day ban , Be commonly called “ lift the night curfew ”. Women who rarely appear in public can walk out of the house like men on the Lantern Festival night . So the Lantern Festival in ancient times was still “ Valentine's Day ”.
Three days and three nights , in the dead of night , Are you going to dance .
边栏推荐
- Datawhale community blackboard newspaper (issue 1)
- MySQL winter vacation self-study 2022 12 (4)
- Global and Chinese market of aircraft MRO software 2022-2028: Research Report on technology, participants, trends, market size and share
- How to determine whether the current script is in the node environment or the browser environment?
- [bottom pop-up selector] uniapp picker component - scroll selector popped up at the bottom
- Global and Chinese markets for food allergens and intolerance tests 2022-2028: Research Report on technology, participants, trends, market size and share
- Slf4j print abnormal stack information
- [wechat authorized login] the small program developed by uniapp realizes the function of obtaining wechat authorized login
- 【疾病检测】基于BP神经网络实现肺癌检测系统含GUI界面
- Weather forecast applet source code weather wechat applet source code
猜你喜欢

XMind思维导图
![[eight sorting ③] quick sorting (dynamic graph deduction Hoare method, digging method, front and back pointer method)](/img/c2/7ebc67e9b886e3baf3c98489bf9bce.png)
[eight sorting ③] quick sorting (dynamic graph deduction Hoare method, digging method, front and back pointer method)

Friends circle community program source code sharing

Based on Simulink and FlightGear, the dynamic control of multi rotor UAV in equilibrium is modeled and simulated

2022 safety officer-a certificate examination questions and online simulation examination

SAP ui5 beginner tutorial XXI - trial version of custom formatter of SAP ui5

Minimize the error
![[eight sorts ①] insert sort (direct insert sort, Hill sort)](/img/8d/2c45a8fb582dabedcd2658cd7c54bc.png)
[eight sorts ①] insert sort (direct insert sort, Hill sort)

【八大排序④】归并排序、不基于比较的排序(计数排序、基数排序、桶排序)

Slf4j print abnormal stack information
随机推荐
XMind思维导图
一名优秀的软件测试人员,需要掌握哪些技能?
The pain of Xiao Sha
Global and Chinese markets of digital crosspoint switches and mux/demux 2022-2028: Research Report on technology, participants, trends, market size and share
首场“移动云杯”空宣会,期待与开发者一起共创算网新世界!
Otaku wallpaper Daquan wechat applet source code - with dynamic wallpaper to support a variety of traffic owners
970 golang realizes the communication between multithreaded server and client
Excel search and reference function
Error creating bean with name ‘stringRedisTemplate‘ defined in class path re
教你白嫖Amazon rds一年并搭建MySQL云数据库(只需10分钟,真香)
Keepalived introduction and installation
@Valid parameter verification does not take effect
学习笔记3--高精度地图关键技术(上)
Based on Simulink and FlightGear, the dynamic control of multi rotor UAV in equilibrium is modeled and simulated
Hcip day 14 (MPLS protocol)
Synthetic watermelon game wechat applet source code / wechat game applet source code
【八大排序④】归并排序、不基于比较的排序(计数排序、基数排序、桶排序)
Global and Chinese market of picture archiving and communication system (PACS) 2022-2028: Research Report on technology, participants, trends, market size and share
Han Zhichao: real time risk control practice of eBay based on graph neural network
New version of free mobile phone, PC, tablet, notebook four terminal Website thumbnail display diagram online one click to generate website source code