Comments (8)
当然可以,你可以做相应的移植,然后提交pull request,我们可以合并到upstream中。
from rt-thread.
nRF51822这个芯片如果不使用蓝牙协议栈的话,只使用普通的2.4G外设移植应该不太难,就是个带无线外设的Cortex-M0。
但是,启用蓝牙协议栈后,协议栈会占用一些系统资源(比如Timer0)。他背后的实现方法是利用SVC接管中断,比如产生中断后,会先经过协议栈的处理再返给应用程序。因为我不太清楚RTT的实现原理,有没有可能和这种操作方式兼容?
from rt-thread.
RT-Thread并没有使用Timer0来作为时钟中断,而是使用Cortex-M0 Core里面的SysTick。同样的,即使它依赖于一些Timer0,也可以转换成一些软件方式的 Timer来进行处理。
至于说SVC中断处理方式,这种关系也不大,但是会涉及到一些系统上下文切换相关的一些东西。
from rt-thread.
如果想做移植的话,有没有好的起点(模版)?还是在其他工程上修改?
发自我的 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.
基于LPC1114的工程来做吧,貌似nRF51822里面内置的是一个LPC的M0芯片。
from rt-thread.
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.
Planning to release this BSP in RT-Thread v2.1.0 alpha.
from rt-thread.
Close it, because the BSP of nRF51822 has been submitted into github repo.
from rt-thread.
Related Issues (20)
- [bsp] board.h中不要include一些没有必要的头文件
- 如何在rt-thread中实现nfs服务端 HOT 1
- master 的 raspberrypi-pico 开启smp 编译报错
- 潘多拉开发板16M QSPI Flash只能使用前8M,无法使用后8M HOT 1
- 潘多拉开发板wlan不支持LwIP2.1.2及以上 HOT 1
- 关于在mpc5744上移植rtthread HOT 1
- RT_ASSERT_RET(condition, ret) HOT 2
- smp选项关闭,但编译时依旧生效 HOT 1
- [spi]spi总线挂载多个设备时可能通信失败 HOT 1
- AARCH64,SMP模式下的建议 HOT 4
- 'struct rt_device' has no member named 'ops' 与 'struct dfs_file' has no member named 'pos'
- 异步I/O的aio_write函数
- [bsp] loongson 下 ls2kdev 链接时报错 undefined reference to `sbrk' HOT 1
- v5.1.1 需要推进的点 HOT 6
- 5.0.2版本stm32f103-100ask-pro的spi_flash_init.c缺少#include "drv_gpio.h" HOT 2
- [drv_eth] STM32以太网BSP驱动的PHY物理地址问题 HOT 1
- rt_can_read memory write out of boundary HOT 1
- RTThread不支持 STM32CUBEMX 生成的Advanced工程,只支持Basic工程。
- RT-thread 移植到RISC-V裸片的问题 HOT 1
- shell.c 文件中finsh_get_prompt()函数使用strcat()函数会造成数据访问异常 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rt-thread.