summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-07-03 12:02:03 -0700
committerScott Shawcroft <scott@chickadee.tech>2017-07-12 11:55:50 -0700
commite02e4235106a174d4c5b52903a3aae4d28f51410 (patch)
tree5d3822922afe0cd9637caa97b8edc6aaea33f432
parentffc37faadc040ad349e9df7d65015e98b36a3494 (diff)
atmel-samd: Switch streams to non-blocking mode. Fixes #159.
-rw-r--r--atmel-samd/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/atmel-samd/mpconfigport.h b/atmel-samd/mpconfigport.h
index e123eba9a..3087730fc 100644
--- a/atmel-samd/mpconfigport.h
+++ b/atmel-samd/mpconfigport.h
@@ -64,6 +64,7 @@
#define MICROPY_CPYTHON_COMPAT (0)
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_NONE)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
+#define MICROPY_STREAMS_NON_BLOCK (1)
// fatfs configuration used in ffconf.h
#define MICROPY_FATFS_ENABLE_LFN (1)