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

如果我板载两个W5500网口, 那么应该如何适配? #32

Open
Linjieqiang opened this issue Oct 8, 2019 · 5 comments
Open

如果我板载两个W5500网口, 那么应该如何适配? #32

Linjieqiang opened this issue Oct 8, 2019 · 5 comments

Comments

@Linjieqiang
Copy link

No description provided.

@Lawlieta
Copy link
Collaborator

Lawlieta commented Oct 8, 2019

目前只支持单个 W5500 设备接入,后续会考虑多设备支持

@Linjieqiang
Copy link
Author

@Lawlieta 我可以进行复制 wiznet/net 后, 然后修改命名为"wiz2_xxxx", 然后重新注册接入到 SAL 层中吗

@Lawlieta
Copy link
Collaborator

Lawlieta commented Oct 8, 2019

应该不行,如果你想使用 W5500 多网卡,可能要对 wiz_init 函数即其使用的函数进行修改完善,包括wiz_set_mac、wiz_reset、wiz_callback_register、wiz_chip_cfg_init、wiz_network_init 等函数,需要添加对应设备对象入参已区分不同设备(改动可能比较大,不能复制改名注册,你也可以尝试修改),因为之前认为同时使用两个 W5500 设备需求较小没有添加,如果确实有需求,我们后续会考虑添加

@Linjieqiang
Copy link
Author

好 我试试看

@ke00001
Copy link

ke00001 commented Jan 11, 2023

目前有支持两个w5500的方案吗 @Lawlieta

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

3 participants