Damien George
5a5bc4a61f
drivers/wiznet5k: Fix bug with MACRAW socket calculating packet size.
7 years ago
Damien George
c0ea91bc89
drivers/wiznet5k: Get low-level W5500 driver working.
This patch implements the basic SPI read/write functions for the W5500
chip. It also allows _WIZCHIP_ to be configured externally to select the
specific Wiznet chip.
7 years ago
Li Weiwei
73e387cff6
drivers/wiznet5k: Improve the performance of socket ops with threading.
Use MICROPY_THREAD_YIELD() instead of HAL_Delay in busy waiting to improve
the performance of connect, send, recv, sento and recvfrom.
7 years ago
Alexander Steffen
55f33240f3
all: Use the name MicroPython consistently in comments
There were several different spellings of MicroPython present in comments,
when there should be only one.
7 years ago
Damien George
dfe056df6f
drivers/wiznet5k: Fix indentation so it's not misleading.
Otherwise gcc 6.1.1 raises a misleading-indentation error.
8 years ago
Damien George
d8f239263d
drivers, wiznet5k: Add socket_reset; fix orderly shutdown in recv.
10 years ago
Damien George
9d2bf9c405
drivers, wiznet5k: Wrap exported functions in a macro for renaming.
3rd party drivers should not export generic names like "close".
10 years ago
Damien George
bcf041f1a3
stmhal: Add wiznet5k module, to control WIZnet ethernet adaptor.
Allows to create socket objects that support TCP and UDP in server and
client mode. Interface is very close to standard Python socket class,
except bind and accept do not work the same (due to hardware not
supporting them in the usual way).
Not compiled by default. To compile this module, use:
make MICROPY_PY_WIZNET5K=1
10 years ago
Damien George
cdd40f149a
drivers, wiznet5k: Make DNS service use HAL sys tick.
10 years ago
Damien George
9091e84454
drivers, wiznet5k: Add HAL_Delay(1) to "infinite" loops.
10 years ago
Damien George
7da9145e47
drivers, wiznet5k: Properly fix ARP bug with W5200 chipset.
10 years ago
Damien George
0c0550bff0
drivers, wiznet5k: Add W5200 support.
10 years ago
Damien George
79d17e3e7d
drivers, wiznet5k: Change SPI interface to read/write multiple bytes.
10 years ago
Damien George
812cf62f43
drivers, wiznet5k: Fix IP addr verification.
10 years ago
Damien George
71224cb8db
drivers: Initial import of WIZnet5x000 driver.
10 years ago