diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-02-15 00:28:20 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2019-02-15 00:28:20 -0500 |
| commit | 5154e0581e0eda0b755a19df98dca45db7ffa76b (patch) | |
| tree | ce2eb5a8f91b9c8cb16ac3013c356278ca0dc879 /ports/nrf | |
| parent | 379258112aad44255ef3acaada0749c556b7b09e (diff) | |
WIP: atmel-samd trinket build works
Diffstat (limited to 'ports/nrf')
| -rwxr-xr-x | ports/nrf/Makefile | 4 | ||||
| -rw-r--r-- | ports/nrf/mpconfigport.h | 10 |
2 files changed, 8 insertions, 6 deletions
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) |
