当前位置:网站首页>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 .
边栏推荐
- How does schedulerx help users solve the problem of distributed task scheduling?
- What skills does an excellent software tester need to master?
- AIX存储管理之卷组的创建(一)
- JMeter做接口测试,如何提取登录Cookie
- Global and Chinese markets of digital crosspoint switches and mux/demux 2022-2028: Research Report on technology, participants, trends, market size and share
- Docker安装Oracle_11g
- gradle
- 2022 operation of simulated examination platform for melting welding and thermal cutting work license
- Load and domcontentloaded in JS
- 2022 safety officer-a certificate examination questions and online simulation examination
猜你喜欢
ACM tutorial - quick sort (regular + tail recursion + random benchmark)
Datawhale 社区黑板报(第1期)
How to reflect and solve the problem of bird flight? Why are planes afraid of birds?
The concept and application of Cartland number
GL Studio 5 安装与体验
Xinniuniu blind box wechat applet source code_ Support flow realization, with complete material pictures
首场“移动云杯”空宣会,期待与开发者一起共创算网新世界!
The first "mobile cloud Cup" empty publicity meeting, looking forward to working with developers to create a new world of computing!
MySQL application day02
Recommend an online interface mock tool usemock
随机推荐
Variables and constants of go language foundation
SSO single sign on implementation.
Since I understand the idea of dynamic planning, I have opened the door to a new world
Load and domcontentloaded in JS
Global and Chinese markets of edge AI software 2022-2028: Research Report on technology, participants, trends, market size and share
[JS download files through url]
Advanced skills of testers: a guide to the application of unit test reports
CEPH buffer yyds dry inventory
Basic number theory -- Gauss elimination
"C zero foundation introduction hundred knowledge hundred examples" (73) anonymous function -- lambda expression
Powerful calendar wechat applet source code - support the main mode of doing more traffic
程序员该如何更好的规划自己的职业发展?
Global and Chinese market of aircraft MRO software 2022-2028: Research Report on technology, participants, trends, market size and share
XMIND mind map
SQL injection for Web Security (2)
GL Studio 5 安装与体验
AIX存储管理之逻辑卷的创建及属性的查看和修改
[WesternCTF2018]shrine writeup
XMind思维导图
【八大排序③】快速排序(动图演绎Hoare法、挖坑法、前后指针法)