Git Product home page Git Product logo

bsmonitor's Introduction

BSMonitor

这是一个为单片机开发准备的调试工具
用于图形化监视变量和其他调试功能

支持

目前已经完成使用pyocd的轮询模式后端,兼容STlink, DAPlink, Jlink等常见调试器

使用

在使用前应该安装python3.8或以上版本,并在安装时选择将安装路径加入PATH
然后执行以下命令
若相关依赖安装缓慢请换用国内镜像源

git clone https://github.com/abc55660745/BSMonitor.git
cd BSMonitor
pip install -r requirements.txt
python app.py

TODO

  • 加入pyocd中断模式后端
  • 完善后端插件仓库
  • 进一步优化动画显示效果

为此项目贡献代码

现急需开发其他兼容后端,例如兼容匿名协议,使用GDB等

后端使用插件式开发,可以参考plugins/random.py,这是一个极简单的例子,实现了一个后端所需要的所有功能
后端需要继承base.py中的Base类,以及需要在templates/methods中加入与插件同名的html文件,该文件应当使用jinja2模板 继承templates/edit.html,可以参考templates/methods/random.html,实现所后端所需要参数的输入,所有参数会以字典形式 在子类init()函数调用前写入self.config,可从中调用

同时欢迎提其他PR

bsmonitor's People

Contributors

bismarckkk avatar

Stargazers

Linjie Li avatar  avatar  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.