当前位置:网站首页>如何快速体验OneOS
如何快速体验OneOS
2022-07-05 22:13:00 【窗外的皂角树】
随便逛了逛
之前有简单了解过OneOS,今天逛了下OneOS专区,发现官方终于也在宣传方面发力了啊,很多文章都非常专业,也有开发者在专区里面提问题了。也发现,部分开发者倒在了第一步,如何编译下载运行OneOS,因此,希望这篇文章能解答一些疑惑,也是自己的学习记录吧。
问题和资料
我觉得开发者疑惑的原因在于,大部分人是第一次知道OneOS,而OneOS的代码,工具,文章又散布在各个地方,包括但不限于我知道的:gitee,开源中国,中移物联网官方网站,中移OneOS公众号。
因此,这里做了个搬运工,把相关资料汇总了下,供各位大佬参考:
gitee码云:https://gitee.com/cmcc-oneos
开源中国:https://www.oschina.net/group/oneos (OneOS专区)
OneOS官网:https://os.iot.10086.cn/
公众号:中移OneOS
OneOS代码和工具
OneOS的代码保存在码云平台,可以看到里面有三个仓库,其中两个是代码仓库,一个是工具仓库。当我们需要使用OneOS进行体验开发的时候,必须把他们下载或者克隆下来哟。


OneOS和OneOS-Lite就是代码仓库,只是OneOS更贴近商用,每一轮提代码提交都会经过提测保证其稳定性。OneOS-Lite则是更偏向于学习,不会有频繁的测试,但仓库内部自带文档,且简化了代码的配置,保证初学者更快上手。

OneOS-Cube则是一块运行于windows上的开发工具,不管是OneOS还是OneOS-Lite都必须依靠它来进行项目的配置和生成,是OneOS项目不可或缺的开发工具。
OneOS文档
OneOS的文档主要分为两处,一处为官网,一处为OneOS-Lite。其中官网地址:文档中心 (10086.cn)


开始动手啦
既然已经知道了代码、工具、文档。那么,接下来就是最重要的动手实践操作啦!第一步,选择对应自己硬件的板级project。因为我这里刚好有一颗stm32f469disco的板子,所以我就直接进入了OneOS\templates\stm32f469-st-disco的目录中去。在这个目录中,默认已经有了keil的工程文件project.uvprojx,如果想直接体验,可以直接双击该项目,这时将会启动keil工程,就可以编译固化运行啦!
如果,还想自己添加或者删减里面的配置,这时就可以使用OneOS-Cube工具了。输入命令menuconfig进行配置,再使用命令scons --ide=mdk5来生成mdk的项目工程,然后使用mdk进行编译。具体如何使用OneOS-Cube工具还可以参见文档哦。
运行效果如下,这里以体验shell命令。

体验一日游
以上就是对OneOS的简单体验,抛砖引玉,供各位大佬参考。
边栏推荐
- About the writing method of SQL field "this includes" and "included in" strings
- 华为云ModelArts文本分类–外卖评论
- A long's perception
- A number of ventilator giants' products have been recalled recently, and the ventilator market is still in incremental competition
- Oracle views the data size of a table
- Oracle triggers
- Interview questions for famous enterprises: Coins represent a given value
- 笔记本电脑蓝牙怎么用来连接耳机
- How to develop and introduce applet plug-ins
- Storage optimization of performance tuning methodology
猜你喜欢

Pl/sql basic syntax

Leetcode simple question: the minimum cost of buying candy at a discount

Common interview questions of redis factory

AD637使用笔记

The Blue Bridge Cup web application development simulation competition is open for the first time! Contestants fast forward!

Stored procedures and stored functions

Huawei cloud modelarts text classification - takeout comments

Type of fault

Getting started with microservices (resttemplate, Eureka, Nacos, feign, gateway)

K210学习笔记(四) K210同时运行多个模型
随机推荐
Codeforces 12D Ball 树形阵列模拟3排序元素
How to use tensorflow2 for cat and dog classification and recognition
boundary IoU 的计算方式
When the industrial Internet era is truly mature, we will look at the emergence of a series of new industrial giants
CA certificate trampled pit
Image editor for their AutoLayout environment
What if win11 is missing a DLL file? Win11 system cannot find DLL file repair method
ICMP introduction
A substring with a length of three and different characters in the leetcode simple question
Wonderful review of the digital Expo | highlight scientific research strength, and Zhongchuang computing power won the digital influence enterprise award
Did you brush the real title of the blue bridge cup over the years? Come here and teach you to counter attack!
"Chris Richardson microservices series" uses API gateway to build microservices
Overview of concurrency control
科技云报道荣膺全球云计算大会“云鼎奖”2013-2022十周年特别贡献奖
The solution to the problem that Oracle hugepages are not used, causing the server to be too laggy
Pl/sql basic syntax
Create a virtual machine on VMware (system not installed)
Oracle triggers
Cross end solutions to improve development efficiency
【愚公系列】2022年7月 Go教学课程 003-IDE的安装和基本使用