mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-04 06:57:48 +00:00
8238f96319
This moves the netdev/netlink namespace out of drivers and into their own packages. Also, defines netdev and netlink as L3/L4 and L2 OSI layers, respectively. Move some L3 functionality from netlink to netdev (GetIPAddr). For netlink, add ConnectParams for NetConnect to pass in L2 connection parameters (ssid, pass, auth_type, etc). Also adds connection mode (STA, AP, etc). For netlink, add SendEth and RecvEthFunc funcs to handle L2 send/recv of Ethernet pkts.
RTL8720DN Driver
This package provides a driver to use a separate connected WiFi processor RTL8720DN for TCP/UDP communication.
Using th RTL8720DN Driver
For now, it is only available for the RTL8720DN on Wio Terminal.
You can try the following command.
$ tinygo flash --target wioterminal --size short ./examples/net/webclient/
$ tinygo flash --target wioterminal --size short ./examples/net/tlsclient/
RTL8720DN Firmware
Follow the steps below to update. The firmware must be version 2.1.2 or later.