当前位置:网站首页>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 .
边栏推荐
- XMind思维导图
- How to reflect and solve the problem of bird flight? Why are planes afraid of birds?
- 学习笔记3--高精度地图关键技术(上)
- [Chongqing Guangdong education] Tianshui Normal University universe exploration reference
- 首场“移动云杯”空宣会,期待与开发者一起共创算网新世界!
- Global and Chinese market of collaborative applications 2022-2028: Research Report on technology, participants, trends, market size and share
- Tensorflow tensor convolution, input and convolution kernel dimension understanding
- New version of free mobile phone, PC, tablet, notebook four terminal Website thumbnail display diagram online one click to generate website source code
- Global and Chinese markets for food allergens and intolerance tests 2022-2028: Research Report on technology, participants, trends, market size and share
- [disease detection] realize lung cancer detection system based on BP neural network, including GUI interface
猜你喜欢
![[eight sorts ②] select sort (select sort, heap sort)](/img/4b/da0d08230391d6ee48cd8cfd2f7240.png)
[eight sorts ②] select sort (select sort, heap sort)

学习笔记2--高精度地图定义及价值

Since I understand the idea of dynamic planning, I have opened the door to a new world

Common loss function of deep learning

How does schedulerx help users solve the problem of distributed task scheduling?

2022 low voltage electrician examination questions and answers

What skills does an excellent software tester need to master?

Slf4j print abnormal stack information

King combat power query renamed toolbox applet source code - with traffic main incentive advertisement

关于ASP.NET CORE使用DateTime日期类型参数的一个小细节
随机推荐
AIX存储管理之卷组的创建(一)
Datawhale community blackboard newspaper (issue 1)
什么是商业养老保险?商业养老保险安全靠谱吗?
969 interlaced string
[eight sorting ③] quick sorting (dynamic graph deduction Hoare method, digging method, front and back pointer method)
Global and Chinese market of safety detection systems 2022-2028: Research Report on technology, participants, trends, market size and share
Excel PivotTable
"C zero foundation introduction hundred knowledge hundred examples" (73) anonymous function -- lambda expression
CEPH buffer yyds dry inventory
笔者更加愿意将产业互联网看成是一个比消费互联网要丰富得多的概念
Promise and modular programming
Geek DIY open source solution sharing - digital amplitude frequency equalization power amplifier design (practical embedded electronic design works, comprehensive practice of software and hardware)
Friends circle community program source code sharing
Leetcode 45 Jumping game II (2022.02.14)
Bubble Sort Graph
站在新的角度来看待产业互联网,并且去寻求产业互联网的正确方式和方法
Picture puzzle wechat applet source code_ Support multi template production and traffic master
[conference resources] the Third International Conference on Automation Science and Engineering in 2022 (jcase 2022)
The concept and application of Cartland number
Basic usage of three JS high-order functions --filter---map---reduce