-
- Downloads
stmhal: Overhaul network drivers; has generic network protocol in C.
This patch overhauls the network driver interface. A generic NIC must provide a set of C-level functions to implement low-level socket control (eg socket, bind, connect, send, recv). Doing this, the network and usocket modules can then use such a NIC to implement proper socket control at the Python level. This patch also updates the CC3K and WIZNET5K drivers to conform to the new interface, and fixes some bugs in the drivers. They now work reasonably well.
Showing
- stmhal/Makefile 2 additions, 2 deletionsstmhal/Makefile
- stmhal/modnetwork.c 32 additions, 6 deletionsstmhal/modnetwork.c
- stmhal/modnetwork.h 35 additions, 2 deletionsstmhal/modnetwork.h
- stmhal/modnwcc3k.c 618 additions, 0 deletionsstmhal/modnwcc3k.c
- stmhal/modnwwiznet5k.c 232 additions, 227 deletionsstmhal/modnwwiznet5k.c
- stmhal/modusocket.c 333 additions, 30 deletionsstmhal/modusocket.c
- stmhal/qstrdefsport.h 17 additions, 35 deletionsstmhal/qstrdefsport.h
Loading
Please register or sign in to comment