From 5154e0581e0eda0b755a19df98dca45db7ffa76b Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Fri, 15 Feb 2019 00:28:20 -0500 Subject: WIP: atmel-samd trinket build works --- ports/nrf/mpconfigport.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'ports/nrf/mpconfigport.h') diff --git a/ports/nrf/mpconfigport.h b/ports/nrf/mpconfigport.h index bdee568ac..ed2f74c57 100644 --- a/ports/nrf/mpconfigport.h +++ b/ports/nrf/mpconfigport.h @@ -92,7 +92,8 @@ #define MICROPY_PY_BUILTINS_HELP_MODULES (1) #define MICROPY_PY_BUILTINS_INPUT (1) #define MICROPY_MODULE_BUILTIN_INIT (1) -#define MICROPY_PY_ALL_SPECIAL_METHODS (0) +#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1) +#define MICROPY_PY_ALL_SPECIAL_METHODS (1) #define MICROPY_PY_MICROPYTHON_MEM_INFO (1) #define MICROPY_PY_ARRAY_SLICE_ASSIGN (1) #define MICROPY_NONSTANDARD_TYPECODES (0) @@ -101,7 +102,7 @@ #define MICROPY_PY_SYS_MAXSIZE (1) #define MICROPY_PY_SYS_STDFILES (1) #define MICROPY_PY_SYS_STDIO_BUFFER (1) -#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (0) +#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1) #define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (0) #define MICROPY_PY_CMATH (0) #define MICROPY_PY_IO (1) @@ -113,9 +114,10 @@ #define MICROPY_PY_UCTYPES (0) #define MICROPY_PY_UZLIB (0) #define MICROPY_PY_UJSON (1) -#define MICROPY_PY_URE (0) +#define MICROPY_PY_URE (1) #define MICROPY_PY_UHEAPQ (0) -#define MICROPY_PY_UHASHLIB (1) +#define MICROPY_PY_UHASHLIB (0) +// This is py/modstruct.c, not shared-bindings/struct/ #define MICROPY_PY_STRUCT (0) #define MICROPY_PY_FRAMEBUF (0) -- cgit v1.2.3