Skip to content

Commit b169904

Browse files
seemefirstdpgeorge
authored andcommitted
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.
1 parent 54db464 commit b169904

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ports/stm32/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@
106106
#define MICROPY_PY_BUILTINS_INPUT (1)
107107
#define MICROPY_PY_BUILTINS_POW3 (1)
108108
#define MICROPY_PY_BUILTINS_HELP (1)
109+
#ifndef MICROPY_PY_BUILTINS_HELP_TEXT
109110
#define MICROPY_PY_BUILTINS_HELP_TEXT stm32_help_text
111+
#endif
110112
#define MICROPY_PY_BUILTINS_HELP_MODULES (1)
111113
#define MICROPY_PY_MICROPYTHON_MEM_INFO (1)
112114
#define MICROPY_PY_ARRAY_SLICE_ASSIGN (1)

0 commit comments

Comments
 (0)