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/Makefile | 4 ++-- ports/nrf/mpconfigport.h | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'ports/nrf') diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile index ac7024e82..13c7edb80 100755 --- a/ports/nrf/Makefile +++ b/ports/nrf/Makefile @@ -210,6 +210,8 @@ SRC_BINDINGS_ENUMS += \ endif SRC_SHARED_MODULE = \ + _pixelbuf/__init__.c \ + _pixelbuf/PixelBuf.c os/__init__.c \ random/__init__.c \ struct/__init__.c \ @@ -237,8 +239,6 @@ SRC_SHARED_MODULE = \ ifndef EXCLUDE_PIXELBUF - SRC_SHARED_MODULE += _pixelbuf/__init__.c \ - _pixelbuf/PixelBuf.c endif # uheap/__init__.c \ 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