summaryrefslogtreecommitdiffstatshomepage
path: root/zephyr/mpconfigport.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/mpconfigport.h')
-rw-r--r--zephyr/mpconfigport.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/mpconfigport.h b/zephyr/mpconfigport.h
index 2c5fad21b7..32dc9f1ff9 100644
--- a/zephyr/mpconfigport.h
+++ b/zephyr/mpconfigport.h
@@ -51,3 +51,8 @@ typedef long mp_off_t;
// Include Zephyr's autoconf.h, which should be made first by Zephyr makefiles
#include "autoconf.h"
+
+// extra built in names to add to the global namespace
+#define MICROPY_PORT_BUILTINS \
+ { MP_OBJ_NEW_QSTR(MP_QSTR_help), (mp_obj_t)&mp_builtin_help_obj }, \
+