当前位置:网站首页>如何快速体验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的简单体验,抛砖引玉,供各位大佬参考。
边栏推荐
- 元宇宙中的三大“派系”
- The Blue Bridge Cup web application development simulation competition is open for the first time! Contestants fast forward!
- Did you brush the real title of the blue bridge cup over the years? Come here and teach you to counter attack!
- Concurrency control of performance tuning methodology
- A long's perception
- CA certificate trampled pit
- The statistics of leetcode simple question is the public string that has appeared once
- K210学习笔记(四) K210同时运行多个模型
- Codeforces 12D ball tree array simulation 3 sorting elements
- AD637使用笔记
猜你喜欢

Huawei cloud modelarts text classification - takeout comments

Business learning of mall order module

Bitbucket installation configuration

Installation of VMware Workstation

每日刷题记录 (十四)

微服务入门(RestTemplate、Eureka、Nacos、Feign、Gateway)

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

How can Bluetooth in notebook computer be used to connect headphones

How to use tensorflow2 for cat and dog classification and recognition

The statistics of leetcode simple question is the public string that has appeared once
随机推荐
MySQL服务莫名宕机的解决方案
ESP32 hosted
database mirroring
【愚公系列】2022年7月 Go教学课程 004-Go代码注释
Oracle is sorted by creation time. If the creation time is empty, the record is placed last
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
如何组织一场实战攻防演练
Text组件新增内容通过tag_config设置前景色、背景色
Oracle checkpoint queue - Analysis of the principle of instance crash recovery
MMAP learning
Web3为互联网带来了哪些改变?
等到产业互联网时代真正发展成熟,我们将会看待一系列的新产业巨头的出现
如何開發引入小程序插件
Cross end solutions to improve development efficiency
Win11缺少dll文件怎么办?Win11系统找不到dll文件修复方法
EBS Oracle 11g cloning steps (single node)
poj 3237 Tree(樹鏈拆分)
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
他们主动布局(autolayout)环境的图像编辑器
How to use tensorflow2 for cat and dog classification and recognition