当前位置:网站首页>如何快速体验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的简单体验,抛砖引玉,供各位大佬参考。
边栏推荐
- Business learning of mall order module
- Overview of database recovery
- What if the files on the USB flash disk cannot be deleted? Win11 unable to delete U disk file solution tutorial
- Platform bus
- Poj 3237 Tree (Tree Chain Split)
- poj 3237 Tree(树链拆分)
- MMAP learning
- Business learning of mall commodity module
- 从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析
- [Yugong series] go teaching course in July 2022 004 go code Notes
猜你喜欢
The real situation of programmers
ICMP 介绍
Stored procedures and stored functions
【愚公系列】2022年7月 Go教学课程 004-Go代码注释
Meituan dynamic thread pool practice ideas, open source
多家呼吸机巨头产品近期被一级召回 呼吸机市场仍在增量竞争
Shell script, awk uses if, for process control
What if the files on the USB flash disk cannot be deleted? Win11 unable to delete U disk file solution tutorial
Implementation technology of recovery
Getting started with microservices (resttemplate, Eureka, Nacos, feign, gateway)
随机推荐
Database tuning solution
Leetcode simple question ring and rod
How can Bluetooth in notebook computer be used to connect headphones
"Chris Richardson microservices series" uses API gateway to build microservices
Performance monitoring of database tuning solutions
About the writing method of SQL field "this includes" and "included in" strings
等到产业互联网时代真正发展成熟,我们将会看待一系列的新产业巨头的出现
Cobaltstrike builds an intranet tunnel
每日刷题记录 (十四)
Understand the basic concept of datastore in Android kotlin and why SharedPreferences should be stopped in Android
Pinctrl subsystem and GPIO subsystem
Implementation technology of recovery
Sub total of Pico development
PyGame practical project: write Snake games with 300 lines of code
科技云报道荣膺全球云计算大会“云鼎奖”2013-2022十周年特别贡献奖
Advantages and disadvantages of the "Chris Richardson microservice series" microservice architecture
854. String BFS with similarity K
Common interview questions of redis factory
【愚公系列】2022年7月 Go教学课程 004-Go代码注释
The statistics of leetcode simple question is the public string that has appeared once