PeterBorisenko / w5500-lwip-freertos

RTOS-based binding for W5500 and LwIp
22 stars 6 forks source link

can't work #1

Open joywoo opened 4 years ago

joywoo commented 4 years ago

i put this into the project, but it didn't work, wiz_lowlevel_setup(); setMR(MR_RST); setSn_MR(0, Sn_MR_MACRAW | Sn_MR_MIP6B | Sn_MR_MMB); setSn_RXBUF_SIZE(0, 16); setSn_TXBUF_SIZE(0, 16); setINTLEVEL(1); setSIMR(1); setSn_IMR(0, (Sn_IR_RECV)); setSn_CR(0, Sn_CR_OPEN);

i didn't see any ip, gateway, netmask,port setting, and without listen, i can't get interruput with the macraw mode.

joywoo commented 4 years ago

can you plz provide the full source code? thanks a lot

PeterBorisenko commented 3 years ago

Hi @joywoo! Sorry for late response! Have you used it with LwIP? Such parameters like ip, gateway, netmask,port setting are on behalf of LwIP stack and API. The main idea of this repo is to provide LwIP users an implementation of the port for w5500.