Code Monkey home page Code Monkey logo

cdinodeslave's Introduction

The project of the CDI slave sensor module.

[toc]

路径

/SlaveBoot/MDK-ARM/Platforms.uvprojx

功能

  1. 该程序是整个程序的起始运行文件,需要在以后的每个模块中下载该程序。
  2. 该程序从0x8000000开始,占用空间0x1000bytes,也即4K大小;
  3. 其他应用程序从0x8001000开始,占用空间0x3000bytes,也即12K大小;
  4. 如果有程序超过规定大小,Keil会提示编译不通过,因此不必担心。
  5. SlaveBoot储存空间分配方案图: ![SlaveBoot](https://github.com/ArmstrongYang/cdiNodeSlave/blob/master/2016-12-09-SlaveBoot存储和RAM分配图.png =100x100)

SlaveApp (Demo文件,仅用于测试,详情参考SlaveModules)

路径

/SlaveApp/MDK-ARM/Platforms.uvprojx

功能

  1. 该程序是整个程序的I2C通信和指令执行文件。
  2. 模块启动后,Boot程序会自动执行跳转命令;
  3. 该程序从0x8001000开始,占用空间0x3000bytes,也即12K大小;
  4. 如果有程序超过规定大小,Keil会提示编译不通过,因此不必担心。
  5. SlaveApp储存空间分配方案图: ![SlaveApp](https://github.com/ArmstrongYang/cdiNodeSlave/blob/master/2016-12-09-SlaveApp存储和RAM分配图.png =100x100)

SlaveModules(每个模块程序)

模块列表

0x10-sRGB

三色RGB模块

0x11-sKey

按键模块

SlaveLibraries

功能

  1. 存放每个模块对应的单独.c 和.h文件
  2. 便于模块文件的集中管理,除了此处每个模块不一样,其他部分基本上一致

2016-11-29 16:51:43

  • 增加SlaveBoot程序框架
  • 增加SlaveApp程序框架
    • 必须要加上NVIC_SRAM()这个程序,意义是:更改中断向量表

2016-12-08 18:44:28

  • Master+APP成功运行,证据:2016-12-08 Master+APP成功运行.txt

2016-12-09 00:50:59

  • SlaveBoot配合模块APP使用即可

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.