Skip to content

Commit 189c62a

Browse files
committed
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.
1 parent 271c4be commit 189c62a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

ports/atmel-samd/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,9 @@ SRC_SHARED_MODULE = \
333333
busio/OneWire.c \
334334
gamepad/__init__.c \
335335
gamepad/GamePad.c \
336+
_stage/__init__.c \
337+
_stage/Layer.c \
338+
_stage/Text.c \
336339
os/__init__.c \
337340
random/__init__.c \
338341
storage/__init__.c \

ports/atmel-samd/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ extern const struct _mp_obj_module_t uheap_module;
173173
extern const struct _mp_obj_module_t ustack_module;
174174
extern const struct _mp_obj_module_t supervisor_module;
175175
extern const struct _mp_obj_module_t gamepad_module;
176+
extern const struct _mp_obj_module_t stage_module;
176177
extern const struct _mp_obj_module_t touchio_module;
177178
extern const struct _mp_obj_module_t usb_hid_module;
178179

@@ -214,6 +215,7 @@ extern const struct _mp_obj_module_t usb_hid_module;
214215
// { MP_OBJ_NEW_QSTR(MP_QSTR_analogio), (mp_obj_t)&analogio_module },
215216

216217
// { MP_OBJ_NEW_QSTR(MP_QSTR_gamepad),(mp_obj_t)&gamepad_module },
218+
// { MP_OBJ_NEW_QSTR(MP_QSTR__stage), (mp_obj_t)&stage_module },
217219
// { MP_OBJ_NEW_QSTR(MP_QSTR_usb_hid),(mp_obj_t)&usb_hid_module },
218220

219221

0 commit comments

Comments
 (0)