diff options
author | Dave Hylands <dhylands@gmail.com> | 2016-10-04 22:10:44 -0700 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-10-06 11:47:45 +1100 |
commit | c08f50bcf7740885863224509d56229d55ac1193 (patch) | |
tree | c2d116d618e8cd0d64796819a87ede193ca4fa4a /stmhal/modusocket.c | |
parent | 7f19b1c3eb488a8466fd1fca0530dba6a02d9f1a (diff) | |
download | micropython-c08f50bcf7740885863224509d56229d55ac1193.tar.gz micropython-c08f50bcf7740885863224509d56229d55ac1193.zip |
stmhal: Disable network and usocket for ESPRUINO_PICO
Diffstat (limited to 'stmhal/modusocket.c')
-rw-r--r-- | stmhal/modusocket.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stmhal/modusocket.c b/stmhal/modusocket.c index 36f149c450..30536bc156 100644 --- a/stmhal/modusocket.c +++ b/stmhal/modusocket.c @@ -35,6 +35,8 @@ #include "netutils.h" #include "modnetwork.h" +#if MICROPY_PY_USOCKET + /******************************************************************************/ // socket class @@ -446,3 +448,5 @@ const mp_obj_module_t mp_module_usocket = { .base = { &mp_type_module }, .globals = (mp_obj_dict_t*)&mp_module_usocket_globals, }; + +#endif // MICROPY_PY_USOCKET |