Git Product home page Git Product logo

m_bsp's Introduction

M_BSP

一款基于时间片实现的任务调度系统,适用于Cotex-M内核的BSP,可以加速嵌入式系统开发。在简单的应用中需要用到线程调度,如果使用RTOS则显得工程臃肿庞大,而且开发调试不便,这个BSP软件包中提供了基于时间片的轮询任务调度系统,轻量简洁,可以加快任务实现和部署。

M_BSP是个人根据需求和在实际工程使用中对裸机代码的总结和整合。

src:

1\CORE

2\FLASH

3\MEMORY

4\PORT

5\SUP

1、CORE:主要实现基于时间片的轮询调度

2、FLASH:准备实现内部flash的KVDB功能

3、MEMORY:实现内部的动态内存管理,若使用IDE自动管理删去即可

4、PORT:主要于开发平台相关,基本接口和实现函数

5、SUP:一些第三方库的支持,目前实现了精简版printf的实现

使用说明

暂无

版本

2019/4/10 由于没有事干就写了一点代码

2019/4/15 上传至GITHUB,并对其中一些不完美的地方进行了修改(可能还有其它未知bug,求各路大神指导)

2019/5/29 修改了一点东西,可能不太完美(最近事比较多)

示例代码

STM32F1

2019/4/12 release 1.0

2019/5/29 将其中的uart全部通过DMA进行搬运,添加了KVDB的支持,计划加入TINY_GUI的支持

感谢

感谢sudashannon指出了我代码中的不足(师兄)

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.