Giter VIP home page Giter VIP logo

mk_rtos's Introduction

MK_RTOS

说明:基于cortex-m3和qmenu内核设计的一款RTOS,预计支持信号量,互斥量,定时器,事件等功能


系统架构

后面补上,哈哈哈哈

系统代码风格

函数命名风格 : mk_用途,例子:
mk_startup_kernel : 表示系统入口

环境搭建

# 开发环境:Ubuntu 20.04 + arm-none-eabi-工具链(如果有小伙伴想在win下开发,可以联系本作者出一个win下的环境搭建教程)
# 安装工具
sudo apt-get install  cmake
sudo dpkg -i tools/gdb-arm-none-eabi_7.10-1ubuntu3+9_amd64.deb

编译说明

该工程使用cmake进行任务管理

# 克隆项目
git clone [email protected]:MagicKingC/MK_RTOS.git
# 进入目录
cd MK_RTOS
# 创建 build 文件夹
mkdir build
# 进入编译文件夹
cd build 
cmake ..
# 编译
make 

调试说明

# 创建.vscode文件夹
mkdir .vscode
# 将 tools/vscode_config 里面的文件拷贝到 .vscode
# 开启debug调试
make debug 
# 点击vscode 左边调试按键
# 然后点击上面绿色小按钮,选择 MK_RTOS Debug (千万不要选错)

进度说明

1、实现了基本的任务切换(已完成)

2、添加系统延迟函数(已完成)

3、基于时间片的任务切换(已完成)

4、任务信号量

5、队列

6、互斥量

额外说明

目前还在研发中,有兴趣的小伙伴可以一起研发,共同开发属于自己的rtos

讨论qq群: 77436255

mk_rtos's People

Contributors

magickingc avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.