新闻动态

MKRTOS V1.0

2024-02-27 22:18:44 35
MKRTOS 是什么

- MKRTOS 全称是 Micro-Kernel Real-Time Operating System,中文名字是微内核实时操作系统。MKRTOS是首款支持MCU的真微内核开源操作系统,内核只包含thread、task、内存管理等功能,其它文件系统、驱动等都在用户态实现,用户态支持应用程序动态加载,同时兼容 Posix 标准的操作系统,适用于各类嵌入式场合。MKRTOS架构图如下:
![image](./mkrtos_doc/架构图.png)
MKRTOS 的目标
- 1. Real microkernel design, with high stability, high anti-failure design, suitable for industrial control, Internet of things and other fields.
- 2. Out of the box, supports multiple platforms.
- 3. Porting is convenient and fast, the kernel only needs 2 driver support (serial port and systick).
- 4. Simple design, support for multi-process (MPU process protection), multi-threading, support for MCU.
- 5. RTOS design, high real-time performance.
- 6. User mode drivers, which are also applications.
MKRTOS支持的处理器架构
| 处理器架构 | 支持的板子 | 进度 |
| -------- | -------- | -------- |
| Cortex-m3| renode/stm32f103,qemu/stm32f2 | done |
| Cortex-m4 | renode/stm32f4 | done |
| Cortex-m33|swm34s|done|
| risc-v | Qemu | X |
| ARMv8|Qemu|X

设计原则
- 1.服务间数据交互不经过第三方组件。
- 2.服务间最简接口原则。
- 3.内核最小功能原则。
- 4.微内核设计。