当前位置:网站首页>如何快速体验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的简单体验,抛砖引玉,供各位大佬参考。
边栏推荐
- 2022-07-05: given an array, you want to query the maximum value in any range at any time. If it is only established according to the initial array and has not been modified in the future, the RMQ meth
- Two stage locking protocol for concurrency control
- Text组件新增内容通过tag_config设置前景色、背景色
- Overview of concurrency control
- Common interview questions of redis factory
- [Yugong series] go teaching course in July 2022 004 go code Notes
- Regular expressions and re Libraries
- Leetcode simple question: find the nearest point with the same X or Y coordinate
- Evolution of large website architecture and knowledge system
- Solutions for unexplained downtime of MySQL services
猜你喜欢

Two stage locking protocol for concurrency control

The simple problem of leetcode is to split a string into several groups of length K

Storage optimization of performance tuning methodology

How to use tensorflow2 for cat and dog classification and recognition

Huawei cloud modelarts text classification - takeout comments

2022-07-05: given an array, you want to query the maximum value in any range at any time. If it is only established according to the initial array and has not been modified in the future, the RMQ meth

Ad637 notes d'utilisation

PyGame practical project: write Snake games with 300 lines of code

Shell script, awk condition judgment and logic comparison &||

笔记本电脑蓝牙怎么用来连接耳机
随机推荐
Business learning of mall order module
Search: Future Vision (moving sword)
Summary of El and JSTL precautions
Technology cloud report won the special contribution award for the 10th anniversary of 2013-2022 of the "cloud Ding Award" of the global cloud computing conference
Advantages and disadvantages of the "Chris Richardson microservice series" microservice architecture
2022-07-05:给定一个数组,想随时查询任何范围上的最大值。 如果只是根据初始数组建立、并且以后没有修改, 那么RMQ方法比线段树方法好实现,时间复杂度O(N*logN),额外空间复杂度O(N*
Code bug correction, char is converted to int high-order symbol extension, resulting in changes in positivity and negativity and values. Int num = (int) (unsigned int) a, which will occur in older com
The Blue Bridge Cup web application development simulation competition is open for the first time! Contestants fast forward!
boundary IoU 的计算方式
Overview of database recovery
Calculation method of boundary IOU
元宇宙中的三大“派系”
Comment développer un plug - in d'applet
The American Championship is about to start. Are you ready?
AD637 usage notes
Solutions for unexplained downtime of MySQL services
Technology cloud report: how many hurdles does the computing power network need to cross?
Storage optimization of performance tuning methodology
The difference between MVVM and MVC
How to view Apache log4j 2 remote code execution vulnerability?