circuitpython/ports
Jim Mussared 5f8f32f917 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>
2022-12-15 17:40:06 +11:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 extmod: Make extmod.mk self-contained. 2022-10-11 23:31:49 +11:00
esp32 esp32/usb: Cleanup connection detection. 2022-12-13 20:46:32 -08:00
esp8266 esp8266/machine_pin: Disable open drain when pin becomes input/output. 2022-11-15 12:51:39 +11:00
mimxrt mimxrt/sdcard: Remove obsolete code already excluded by preprocessor. 2022-12-14 13:05:27 +11:00
minimal minimal/Makefile: Set linker to $(CC). 2022-11-15 17:09:37 +11:00
nrf nrf/boards/seeed_xiao_nrf52: Add defn for Seeed XIAO NRF52840 Sense. 2022-12-15 14:27:08 +11:00
pic16bit all: Use += rather than = everywhere for CFLAGS/LDFLAGS/LIBS. 2022-10-11 23:17:41 +11:00
powerpc all: Use += rather than = everywhere for CFLAGS/LDFLAGS/LIBS. 2022-10-11 23:17:41 +11:00
qemu-arm py/objstr: Add hex/fromhex to bytes/memoryview/bytearray. 2022-08-12 12:44:30 +10:00
renesas-ra renesas-ra: Change file system size to 64KB for RA6M1. 2022-11-15 10:01:36 +11:00
rp2 extmod/modnetwork: Use a type protocol to implement NIC functions. 2022-12-15 17:40:06 +11:00
samd samd/boards/SEEED_XIAO: Rename to SEEED_XIAO_SAMD21. 2022-12-15 14:18:44 +11:00
stm32 extmod/modnetwork: Use a type protocol to implement NIC functions. 2022-12-15 17:40:06 +11:00
teensy extmod: Make extmod.mk self-contained. 2022-10-11 23:31:49 +11:00
unix unix/moduos: Implement 2-arg version of os.getenv(). 2022-12-14 13:38:39 +11:00
webassembly webassembly/library: Extract and send data to print as UInt8Array. 2022-12-13 17:16:37 +11:00
windows windows/.gitignore: Simplify by removing build artefacts. 2022-12-13 17:22:11 +11:00
zephyr zephyr: Rename machine I2C and SPI types consistently across ports. 2022-10-22 12:58:21 +11:00