From b169904254de8b206703c9c5166659d113255d53 Mon Sep 17 00:00:00 2001 From: hahmadi Date: Thu, 20 Feb 2020 16:03:52 -0500 Subject: [PATCH] stm32/mpconfigport.h: Add option to have custom help text. Define MICROPY_PY_BUILTINS_HELP_TEXT in /mpconfigboard.h for a custom help text. --- ports/stm32/mpconfigport.h | 2 ++ 1 file changed, 2 insertions(+) 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)