-
Notifications
You must be signed in to change notification settings - Fork 22
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
Support for Wiznet RP2040 HAT in mainstream rp2 MicroPython firmware? #8
Comments
Currently, the MicroPython administrator is not accepting the pull request operation. Let me try to ask about this issue. |
Thank you for your response. I can see you are already talking to the Micropython developers. I think you need to ask them for advice about how to implement your patch for w5100s in a way that does not cause merge conflicts with their own maintained code. Those merge conflicts are the reason they have not accepted your suggested changes. You already have the necessary filestore permissions to change your own copy of this file. The MicroPython developers are probably quite right not to allow your patch to that file to change the behaviour for other users. |
Clickable links for the curious: @irinakim12 your fork has a merge conflict, only you can fix it, you have all the permissions you need already. Unfortunately, you made your PR from https://github.com/irinakim12/micropython/tree/master , rebasing would be much easier if you keep master in sync with upstream and made your PR from https://github.com/irinakim12/micropython/tree/wiznet5k You've been sitting on this for 5 months? |
FAO: Wiznet. Have you seen this Pull Request needing your attention for progress to be made by someone contributing to the micropython port. Wiznet/ioLibrary_Driver#120 |
I'm from the MicroPython project -- we have full support for the W5100 HAT and the W5100 & W5500 EVB boards in upstream MicroPython. Currently the HAT is supported by the EVB firmware (a Pico with the HAT is essentially identical to the EVB as far as the firmware is concerned). We plan to combine this into a single "board" with three variants on the downloads page, similar for example to the pyboard variants, see https://micropython.org/download/pybv11/ I'll update this issue when that's done. We're seeing a bit of confusion from our users as to whether to use this driver provided by WizNet or the upstream one. It might be better if you can replace this repository with something pointing to https://micropython.org/download/?vendor=Wiznet @irinakim12 it would be great to get your attention on Wiznet/ioLibrary_Driver#120 (@andrewleech) Thanks! |
Hello guys, and thank you @jimmo I have been testing the WizNet Driver for the W5100 HAT (https://github.com/Wiznet I have installed the firmware from https://micropython.org/download/?vendor=Wiznet and it works nice! Very reliable after a few hours of tests. However, I may have found some strange bug: With the official firmware from https://micropython.org/download/?vendor=Wiznet flashed, I can do:
This will make the RP2040 crash silently. BUT, If I start SPI first:
Everything works fine! @jimmo, should I report this as a bug on the micropython repo? thanks and best regards |
Hi @rafaelaroca, in your first example you don't configure the The second example configures all of these, hence works correctly. This same issue came up a couple of days ago, in that the "default" pins for SPI documented in the official rpi docs didn't neccesarily match the defaults in micropython. This is slated to be fixed in micropython/micropython#9224 |
Thanks @rafaelaroca There was an issue with default pin selection, I actually sent a PR to fix this earlier this week. Will hopefully be merged soon. micropython/micropython#9224 Separately we need to fix the issue where the Wiznet driver locks up with a misconfigured SPI instance. |
Do WIznet have any plans to progress the Pull Request #8021/#8023 to allow support in the rp2 port of MicroPython?
The text was updated successfully, but these errors were encountered: