Wiznet5k

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
Post Reply
jamonda
Posts: 36
Joined: Thu May 21, 2020 3:48 pm

Wiznet5k

Post by jamonda » Wed Jul 21, 2021 1:23 am

Hi.
I compiled the firmware with MICROPY_PY_WIZNET5K=5500 MICROPY_PY_LWIP=1, as I used to do for my PyBoard. No error messages.
However, when I try to import network, REPL says "no module named 'network'".
What am I doing wrong?
Can you help me?

davef
Posts: 811
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

Re: Wiznet5k

Post by davef » Wed Jul 21, 2021 1:43 am

At the top of the .py you want to run do you have:

Code: Select all

import network
Check repl by doing:

Code: Select all

help('modules')

jamonda
Posts: 36
Joined: Thu May 21, 2020 3:48 pm

Re: Wiznet5k

Post by jamonda » Wed Jul 21, 2021 3:08 am

I mean there is no 'network' module in the firmware I compile, and I don't know what I am doing wrong. I checked with help('modules').
But I've just found the answer for my question: it has not been implemented yet.

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

Post Reply