From e02e4235106a174d4c5b52903a3aae4d28f51410 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Mon, 3 Jul 2017 12:02:03 -0700 Subject: atmel-samd: Switch streams to non-blocking mode. Fixes #159. --- atmel-samd/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3