summaryrefslogtreecommitdiff
path: root/py/makemoduledefs.py
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2023-10-17 21:48:18 +0200
committerDamien George <damien@micropython.org>2023-10-31 12:35:22 +1100
commitc4e63ace661df9748cfae451bde7781e61e0b3d9 (patch)
tree78edc4436341b638eca03ec04b24a0a210e08afe /py/makemoduledefs.py
parentb2f220dff8b262bdd77c8ed6e2a9b2b8629411ca (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/makemoduledefs.py')
0 files changed, 0 insertions, 0 deletions