summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-01-29 13:29:58 -0800
committerGitHub <noreply@github.com>2018-01-29 13:29:58 -0800
commit36ffd317121a3a45891e361d759127bb825a583e (patch)
tree1b765867eebf685f95b3e3c4e9f4020da51945d7
parent271c4bead6807cbde8fcd5141042fc5b91cf06a7 (diff)
parent189c62ac7d15b6d07005d79a5bc4e2d2cc6488c4 (diff)
Merge pull request #557 from python-ugame/stage-lib
Bring back the _stage library
-rw-r--r--ports/atmel-samd/Makefile3
-rw-r--r--ports/atmel-samd/mpconfigport.h2
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 },