diff options
| author | Damien George | 2014-11-29 13:48:45 +0000 |
|---|---|---|
| committer | Damien George | 2014-12-04 18:57:57 +0000 |
| commit | 29a1ec1bd6680d1108408cc825935012af10d938 (patch) | |
| tree | 32f04d97e4e22c2739b7bfa17fefa71ad73fdb56 /stmhal/Makefile | |
| parent | d8f239263dbcc3ab54964421ef6c9755a6537f6e (diff) | |
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.
Diffstat (limited to 'stmhal/Makefile')
| -rw-r--r-- | stmhal/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile index abf78ee8d..367cebd15 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -196,7 +196,7 @@ ifeq ($(MICROPY_PY_WIZNET5K),1) WIZNET5K_DIR=drivers/wiznet5k INC += -I$(TOP)/$(WIZNET5K_DIR) CFLAGS_MOD += -DMICROPY_PY_WIZNET5K=1 -SRC_MOD += modwiznet5k.c +SRC_MOD += modnwwiznet5k.c SRC_MOD += $(addprefix $(WIZNET5K_DIR)/,\ ethernet/w5200/w5200.c \ ethernet/wizchip_conf.c \ @@ -210,7 +210,7 @@ ifeq ($(MICROPY_PY_CC3K),1) CC3000_DIR=drivers/cc3000 INC += -I$(TOP)/$(CC3000_DIR)/inc CFLAGS_MOD += -DMICROPY_PY_CC3K=1 -SRC_MOD += modcc3k.c +SRC_MOD += modnwcc3k.c SRC_MOD += $(addprefix $(CC3000_DIR)/src/,\ cc3000_common.c \ evnt_handler.c \ |
