Page 1 of 1

Wiznet5k

Posted: Wed Jul 21, 2021 1:23 am
by jamonda
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?

Re: Wiznet5k

Posted: Wed Jul 21, 2021 1:43 am
by davef
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')

Re: Wiznet5k

Posted: Wed Jul 21, 2021 3:08 am
by jamonda
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