diff options
| author | robert-hh <robert@hammelrath.com> | 2023-10-17 21:48:18 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-10-31 12:35:22 +1100 |
| commit | c4e63ace661df9748cfae451bde7781e61e0b3d9 (patch) | |
| tree | 78edc4436341b638eca03ec04b24a0a210e08afe /py/lexer.c | |
| parent | b2f220dff8b262bdd77c8ed6e2a9b2b8629411ca (diff) | |
esp32/network_lan: Fix and simplify the code for ETH-SPI devices.
SPI support was not enabled, and was not adapted for esp-idf v5.x. This
change enables SPI ethernet for all boards and adapts the code for esp-idf
v5.x. The change follows the sample implementation of @hemakumarm72, but
adds the changes for the other adapters as well. Further, it simplifies
the code by removing actions from netwwork_lan.c which are done in the
esp-idf drivers later, like setting the default values for .command_bits
and .address_bits, and registering the SPI interface.
Tested with a Wiznet W5500 breakout.
Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'py/lexer.c')
0 files changed, 0 insertions, 0 deletions
