当前位置:网站首页>如何快速体验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的简单体验,抛砖引玉,供各位大佬参考。
边栏推荐
- C language knowledge points link
- Wonderful review of the digital Expo | highlight scientific research strength, and Zhongchuang computing power won the digital influence enterprise award
- Shell script, awk uses if, for process control
- CRM creates its own custom report based on fetch
- ICMP 介绍
- The solution to the problem that Oracle hugepages are not used, causing the server to be too laggy
- Dbeaver executes multiple insert into error processing at the same time
- Leetcode simple question: check whether each row and column contain all integers
- MySQL服务莫名宕机的解决方案
- Blocking of concurrency control
猜你喜欢

Business learning of mall commodity module

U盘的文件无法删除文件怎么办?Win11无法删除U盘文件解决教程

MySQL连接断开报错MySQLdb._exceptions.OperationalError 4031, The client was disconnected by the server

Two stage locking protocol for concurrency control

Pl/sql basic syntax

Win11缺少dll文件怎么办?Win11系统找不到dll文件修复方法

Meituan dynamic thread pool practice ideas, open source

极狐公司官方澄清声明

Oracle advanced query

boundary IoU 的计算方式
随机推荐
如何开发引入小程序插件
MySQL disconnection reports an error MySQL ldb_ exceptions. OperationalError 4031, The client was disconnected by the server
Server optimization of performance tuning methodology
About the writing method of SQL field "this includes" and "included in" strings
boundary IoU 的计算方式
多家呼吸机巨头产品近期被一级召回 呼吸机市场仍在增量竞争
C language knowledge points link
Interprocess communication in the "Chris Richardson microservice series" microservice architecture
Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
What if the files on the USB flash disk cannot be deleted? Win11 unable to delete U disk file solution tutorial
The simple problem of leetcode is to split a string into several groups of length K
ESP32 hosted
Basic grammar of interview (Part 1)
微服务链路风险分析
HDU 4391 paint the wall segment tree (water
Common interview questions of redis factory
华为云ModelArts文本分类–外卖评论
Index optimization of performance tuning methodology
Oracle advanced query
Storage optimization of performance tuning methodology