summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-07-21 13:13:50 -0700
committerGitHub <noreply@github.com>2020-07-21 13:13:50 -0700
commite047ea287f6658f1a1fd10ab31f45f25bce846c1 (patch)
tree1bfe3ef814522f92c82d66a0c0ab1f30ebeb536a /shared-bindings
parentda1c7f2a7940448da551ff850992023d943413b9 (diff)
parent0c6935e33639c004581fe9d5b2038c4864b193e2 (diff)
Merge pull request #3164 from tannewt/disable_network
Disable existing native networking.
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/network/__init__.c3
-rw-r--r--shared-bindings/socket/__init__.c3
-rw-r--r--shared-bindings/wiznet/__init__.c7
3 files changed, 12 insertions, 1 deletions
diff --git a/shared-bindings/network/__init__.c b/shared-bindings/network/__init__.c
index 58aa13473..4bd543a0a 100644
--- a/shared-bindings/network/__init__.c
+++ b/shared-bindings/network/__init__.c
@@ -40,6 +40,9 @@
//| """Network Interface Management
//|
+//| .. warning:: This module is disabled in 6.x and will removed in 7.x. Please use networking
+//| libraries instead.
+//|
//| This module provides a registry of configured NICs.
//| It is used by the 'socket' module to look up a suitable
//| NIC when a socket is created."""
diff --git a/shared-bindings/socket/__init__.c b/shared-bindings/socket/__init__.c
index 0ded0218b..2485d8ef8 100644
--- a/shared-bindings/socket/__init__.c
+++ b/shared-bindings/socket/__init__.c
@@ -39,6 +39,9 @@
//| """TCP, UDP and RAW socket support
//|
+//| .. warning:: This module is disabled in 6.x and will removed in 7.x. Please use networking
+//| libraries instead. (Native networking will provide a socket compatible class.)
+//|
//| Create TCP, UDP and RAW sockets for communicating over the Internet."""
//|
diff --git a/shared-bindings/wiznet/__init__.c b/shared-bindings/wiznet/__init__.c
index bc7ff150f..8df06b546 100644
--- a/shared-bindings/wiznet/__init__.c
+++ b/shared-bindings/wiznet/__init__.c
@@ -35,7 +35,12 @@
#include "shared-module/network/__init__.h"
-//| """Support for WizNet hardware, including the WizNet 5500 Ethernet adaptor."""
+//| """Support for WizNet hardware, including the WizNet 5500 Ethernet adaptor.
+//|
+//|
+//| .. warning:: This module is disabled in 6.x and will removed in 7.x. Please use networking
+//| libraries instead.
+//| """
//|
extern const mod_network_nic_type_t mod_network_nic_type_wiznet5k;