summaryrefslogtreecommitdiff
path: root/docs/esp32/tutorial/peripheral_access.rst
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-12-14 16:29:30 +1100
committerDamien George <damien@micropython.org>2022-12-15 17:40:06 +1100
commit5f8f32f917479d5fdd052292eae64f9d43b07217 (patch)
treeb27e2fe3276bb0237d5592649c0f543c9020b726 /docs/esp32/tutorial/peripheral_access.rst
parent7f71057a89322d8a0b82b94abbe04b86a74f69da (diff)
extmod/modnetwork: Use a type protocol to implement NIC functions.
This was previously implemented by adding additional members to the mp_obj_type_t defined for each NIC, which is difficult to do cleanly with the new object type slots mechanism. The way this works is also not supported on GCC 8.x and below. Instead replace it with the type protocol, which is a much simpler way of achieving the same thing. This affects the WizNet (in non-LWIP mode) and Nina NIC drivers. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'docs/esp32/tutorial/peripheral_access.rst')
0 files changed, 0 insertions, 0 deletions