diff options
| author | Radomir Dopieralski <openstack@sheep.art.pl> | 2018-01-29 21:24:46 +0100 |
|---|---|---|
| committer | Radomir Dopieralski <openstack@sheep.art.pl> | 2018-01-29 21:24:46 +0100 |
| commit | 189c62ac7d15b6d07005d79a5bc4e2d2cc6488c4 (patch) | |
| tree | 1b765867eebf685f95b3e3c4e9f4020da51945d7 | |
| parent | 271c4bead6807cbde8fcd5141042fc5b91cf06a7 (diff) | |
Bring back the _stage library
I have tested the _stage module, and it works fine, so I'm including it
in he sources again. It's still disabled by default in the
mpconfigport.h.
| -rw-r--r-- | ports/atmel-samd/Makefile | 3 | ||||
| -rw-r--r-- | ports/atmel-samd/mpconfigport.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ports/atmel-samd/Makefile b/ports/atmel-samd/Makefile index f77910f6a..bd01f174e 100644 --- a/ports/atmel-samd/Makefile +++ b/ports/atmel-samd/Makefile @@ -333,6 +333,9 @@ SRC_SHARED_MODULE = \ busio/OneWire.c \ gamepad/__init__.c \ gamepad/GamePad.c \ + _stage/__init__.c \ + _stage/Layer.c \ + _stage/Text.c \ os/__init__.c \ random/__init__.c \ storage/__init__.c \ diff --git a/ports/atmel-samd/mpconfigport.h b/ports/atmel-samd/mpconfigport.h index 64a7044f1..2c8a66a88 100644 --- a/ports/atmel-samd/mpconfigport.h +++ b/ports/atmel-samd/mpconfigport.h @@ -173,6 +173,7 @@ extern const struct _mp_obj_module_t uheap_module; extern const struct _mp_obj_module_t ustack_module; extern const struct _mp_obj_module_t supervisor_module; extern const struct _mp_obj_module_t gamepad_module; +extern const struct _mp_obj_module_t stage_module; extern const struct _mp_obj_module_t touchio_module; extern const struct _mp_obj_module_t usb_hid_module; @@ -214,6 +215,7 @@ extern const struct _mp_obj_module_t usb_hid_module; // { MP_OBJ_NEW_QSTR(MP_QSTR_analogio), (mp_obj_t)&analogio_module }, // { MP_OBJ_NEW_QSTR(MP_QSTR_gamepad),(mp_obj_t)&gamepad_module }, +// { MP_OBJ_NEW_QSTR(MP_QSTR__stage), (mp_obj_t)&stage_module }, // { MP_OBJ_NEW_QSTR(MP_QSTR_usb_hid),(mp_obj_t)&usb_hid_module }, |
