atmel-samd: Turn on slice assignment in all builds.

This costs 376 bytes on a Trinket M0 leaving 33412 bytes free.

Fixes #193
This commit is contained in:
Scott Shawcroft 2017-10-31 15:57:56 -07:00
parent 8c7571a75d
commit 15dcc7011c

View File

@ -43,6 +43,7 @@
#define MICROPY_PY_BUILTINS_SET (1)
#define MICROPY_PY_BUILTINS_SLICE (1)
#define MICROPY_PY_BUILTINS_SLICE_ATTRS (1)
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
#define MICROPY_PY_BUILTINS_PROPERTY (1)
#define MICROPY_PY_BUILTINS_MIN_MAX (1)
#define MICROPY_PY___FILE__ (1)
@ -186,7 +187,6 @@ extern const struct _mp_obj_module_t usb_hid_module;
#define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG (1)
#define MICROPY_PY_ALL_SPECIAL_METHODS (1)
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)
#define MICROPY_PY_SYS_MAXSIZE (1)
#define MICROPY_CPYTHON_COMPAT (1)
// Scan gamepad every 32ms