diff --git a/ports/rp2/boards/PIMORONI_PICOSYSTEM/board_builtin.h b/ports/rp2/boards/PIMORONI_PICOSYSTEM/board_builtin.h index e839dc84fb53..8aed27a3d0a7 100644 --- a/ports/rp2/boards/PIMORONI_PICOSYSTEM/board_builtin.h +++ b/ports/rp2/boards/PIMORONI_PICOSYSTEM/board_builtin.h @@ -28,6 +28,8 @@ enum _sprites_ids { { MP_ROM_QSTR(MP_QSTR_pen), MP_ROM_PTR(&picosystem_pen_obj) }, \ { MP_ROM_QSTR(MP_QSTR_tick), MP_ROM_PTR(&picosystem_tick_obj) }, \ { MP_ROM_QSTR(MP_QSTR_init), MP_ROM_PTR(&picosystem_init_obj) }, \ + { MP_ROM_QSTR(MP_QSTR_start), MP_ROM_PTR(&picosystem_run_obj) }, \ + { MP_ROM_QSTR(MP_QSTR_quit), MP_ROM_PTR(&picosystem_quit_obj) }, \ { MP_ROM_QSTR(MP_QSTR__reset), MP_ROM_PTR(&picosystem_reset_obj) }, \ { MP_ROM_QSTR(MP_QSTR__logo), MP_ROM_PTR(&picosystem_logo_obj) }, \ { MP_ROM_QSTR(MP_QSTR_stats), MP_ROM_PTR(&picosystem_stats_obj) }, \ diff --git a/py/builtin.h b/py/builtin.h index 4da8aae5a82c..ebaa46cf01c1 100644 --- a/py/builtin.h +++ b/py/builtin.h @@ -39,6 +39,8 @@ MP_DECLARE_CONST_FUN_OBJ_0(picosystem_init_obj); MP_DECLARE_CONST_FUN_OBJ_0(picosystem_reset_obj); MP_DECLARE_CONST_FUN_OBJ_0(picosystem_tick_obj); MP_DECLARE_CONST_FUN_OBJ_0(picosystem_logo_obj); +MP_DECLARE_CONST_FUN_OBJ_0(picosystem_run_obj); +MP_DECLARE_CONST_FUN_OBJ_0(picosystem_quit_obj); // stats.cpp