GithubHelp home page GithubHelp logo

Comments (8)

BernardXiong avatar BernardXiong commented on May 18, 2024

当然可以,你可以做相应的移植,然后提交pull request,我们可以合并到upstream中。

from rt-thread.

overheat avatar overheat commented on May 18, 2024

nRF51822这个芯片如果不使用蓝牙协议栈的话,只使用普通的2.4G外设移植应该不太难,就是个带无线外设的Cortex-M0。
但是,启用蓝牙协议栈后,协议栈会占用一些系统资源(比如Timer0)。他背后的实现方法是利用SVC接管中断,比如产生中断后,会先经过协议栈的处理再返给应用程序。因为我不太清楚RTT的实现原理,有没有可能和这种操作方式兼容?

from rt-thread.

BernardXiong avatar BernardXiong commented on May 18, 2024

RT-Thread并没有使用Timer0来作为时钟中断,而是使用Cortex-M0 Core里面的SysTick。同样的,即使它依赖于一些Timer0,也可以转换成一些软件方式的 Timer来进行处理。

至于说SVC中断处理方式,这种关系也不大,但是会涉及到一些系统上下文切换相关的一些东西。

from rt-thread.

overheat avatar overheat commented on May 18, 2024

如果想做移植的话,有没有好的起点(模版)?还是在其他工程上修改?

发自我的 iPhone

在 2013年10月27日,下午8:30,Bernard Xiong [email protected] 写道:

RT-Thread并没有使用Timer0来作为时钟中断,而是使用Cortex-M0 Core里面的SysTick。同样的,即使它依赖于一些Timer0,也可以转换成一些软件方式的 Timer来进行处理。

至于说SVC中断处理方式,这种关系也不大,但是会涉及到一些系统上下文切换相关的一些东西。


Reply to this email directly or view it on GitHub.

from rt-thread.

BernardXiong avatar BernardXiong commented on May 18, 2024

基于LPC1114的工程来做吧,貌似nRF51822里面内置的是一个LPC的M0芯片。

from rt-thread.

overheat avatar overheat commented on May 18, 2024

OK,菜鸟问一句ARM的M0也分不同厂家吗?

2013/10/28 Bernard Xiong [email protected]

基于LPC1114的工程来做吧,貌似nRF51822里面内置的是一个LPC的M0芯片。


Reply to this email directly or view it on GitHubhttps://github.com//issues/185#issuecomment-27186159
.

from rt-thread.

BernardXiong avatar BernardXiong commented on May 18, 2024

Planning to release this BSP in RT-Thread v2.1.0 alpha.

from rt-thread.

BernardXiong avatar BernardXiong commented on May 18, 2024

Close it, because the BSP of nRF51822 has been submitted into github repo.

from rt-thread.

Related Issues (20)

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.