diff options
Diffstat (limited to 'wirish')
-rw-r--r-- | wirish/boards/maple_mini/board.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wirish/boards/maple_mini/board.cpp b/wirish/boards/maple_mini/board.cpp index 599cb66..009ec51 100644 --- a/wirish/boards/maple_mini/board.cpp +++ b/wirish/boards/maple_mini/board.cpp @@ -39,9 +39,11 @@ #include <wirish/wirish_types.h> /* Since we want the Serial Wire/JTAG pins as GPIOs, disable both SW - * and JTAG debug support */ + * and JTAG debug support, unless configured otherwise. */ void boardInit(void) { +#ifndef CONFIG_MAPLE_MINI_NO_DISABLE_DEBUG disableDebugPorts(); +#endif } extern const stm32_pin_info PIN_MAP[BOARD_NR_GPIO_PINS] = { |