Wiznet / RP2040-HAT-MicroPython

53 stars 22 forks source link

urequest.py missing and alternate solution proposal #2

Closed rafaelaroca closed 2 years ago

rafaelaroca commented 2 years ago

Hello,

The file urequest.py mentioned in the instructions is missing.

By the way, the instructions at the README and the HTTP example proposed the use of urequest.py instead of the official urequests.py. Maybe because urequests.py fails with WIZnet W5100S-EVB-Pico.

I made a fix that allows W5100S-EVB-Pico to use the official urequests.py. The fix is here:

https://github.com/micropython/micropython/issues/8298

By the way, I have prepared BIPES to allow block-based programming with Ethernet. Works nicely and is quite straightforward for most users. Take a look:

BIPES and Raspberry Pi Pico Ethernet

and

Building MicroPython for the Raspberry Pi PICO with Ethernet and WebREPL support

thanks!

irinakim12 commented 2 years ago

thanks~! We will review the part you pointed out and correct it.

irinakim12 commented 2 years ago

Hi~@rafaelaroca I apply the upip using wiznet5k library I implemented it to be UPIP using WIZnet5K. This content was applied after firmware v1.0.3, and below is the operation video of UPIP. https://youtu.be/3-w5iO6PuvQ Thank you for your always good comments.