W5500 Ethernet controller on OpenMV

Discussion related to "under the hood" OpenMV topics.
piliwilliam
Posts: 1
Joined: Thu Nov 15, 2018 10:11 pm

W5500 Ethernet controller on OpenMV

Postby piliwilliam » Thu Nov 15, 2018 10:18 pm

Hi all,

I was wondering if anyone successfully built the openmv with the "MICROPY_PY_WIZNET5K=5500" flag?
Below is the error when I try to build it.
Thanks,
Will

Code: Select all

CC src/usbd_uvc_if.c
CC src/usbd_conf.c
CC src/main.c
CC src/usbd_core.c
CC src/usbd_ctlreq.c
CC src/stm32fxxx_it.c
CC src/string0.c
CC src/usbd_uvc.c
CC src/usbd_ioreq.c
CC src/usbd_desc.c
CC src/systick.c
make[1]: Leaving directory '/home/piliwilliam/openmv/src/uvc'
/home/piliwilliam/openmv/src/build/micropython/modnetwork.o:(.rodata.mp_module_network_globals_table+0xc): undefined reference to `mod_network_nic_type_wiznet5k'
collect2: error: ld returned 1 exit status
Makefile:497: recipe for target 'firmware' failed
make: *** [firmware] Error 1
User avatar
kwagyeman
Posts: 2462
Joined: Sun May 24, 2015 2:10 pm

Re: W5500 Ethernet controller on OpenMV

Postby kwagyeman » Thu Nov 15, 2018 11:04 pm

It looks like you need to edit the MakeFile to include the wiznet c code. Usually, this means you need to find what .c file makes that thing up and add it to the MakeFile which compiles the C file and you also need to edit the main MakeFile that links the .o files.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests