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

Wiznet如何实现将SPI设备(如W5500)挂载至SPI总线上的? #35

Open
hw75320 opened this issue Nov 2, 2019 · 1 comment

Comments

@hw75320
Copy link

hw75320 commented Nov 2, 2019

我仔细看了Wiznet的源码,没有发现源码使用rt_spi_bus_attach_device()函数将W5500挂载至SPI总线上,请问程序是如何实现挂载的?或者就没有挂载,要用户自己挂载?谢谢!

@zhouscd
Copy link
Contributor

zhouscd commented Jan 8, 2020

需要用户自己挂载
设备和驱动是低耦合的,用户自己挂载设备,Wiznet驱动即可根据WIZ_SPI_DEVICE找到。

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