Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

重写SPI通信代码 #10

Open
retrhelo opened this issue Apr 29, 2021 · 1 comment
Open

重写SPI通信代码 #10

retrhelo opened this issue Apr 29, 2021 · 1 comment

Comments

@retrhelo
Copy link
Contributor

一方面,Kendryte提供的spi.c对于xv6-k210的应用场景来说过于庞杂。原本的代码中考虑了很多在xv6-k210中大概率不会被用到的情况。另一方面,我们也希望通过重写spi.c来彻底消化SD卡驱动的协议栈。最后,我们还希望能够在新的代码中使用kmemalloc.c提供的动态内存分配功能。
但考虑到现有的spi.c模块其实跑得还挺好的,也许这项工作尚不太急?(笑

@SKTT1Ryze
Copy link
Member

支持,如果有时间的话,自己去弄懂 SPI 驱动怎么写,自主可控。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants