summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorhahmadi <seemefirst@gmail.com>2020-02-20 16:03:52 -0500
committerDamien George <damien.p.george@gmail.com>2020-02-21 15:02:19 +1100
commitb169904254de8b206703c9c5166659d113255d53 (patch)
treee54f7552b66aad629fd41e045f1125bf49874db9
parent54db464a1bde6b09d17b95a283a2230689763720 (diff)
downloadmicropython-b169904254de8b206703c9c5166659d113255d53.tar.gz
micropython-b169904254de8b206703c9c5166659d113255d53.zip
stm32/mpconfigport.h: Add option to have custom help text.
Define MICROPY_PY_BUILTINS_HELP_TEXT in <yourboard>/mpconfigboard.h for a custom help text.
-rw-r--r--ports/stm32/mpconfigport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h
index 90e3875547..4e9118ef1a 100644
--- a/ports/stm32/mpconfigport.h
+++ b/ports/stm32/mpconfigport.h
@@ -106,7 +106,9 @@
#define MICROPY_PY_BUILTINS_INPUT (1)
#define MICROPY_PY_BUILTINS_POW3 (1)
#define MICROPY_PY_BUILTINS_HELP (1)
+#ifndef MICROPY_PY_BUILTINS_HELP_TEXT
#define MICROPY_PY_BUILTINS_HELP_TEXT stm32_help_text
+#endif
#define MICROPY_PY_BUILTINS_HELP_MODULES (1)
#define MICROPY_PY_MICROPYTHON_MEM_INFO (1)
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)