From 5d24cdcd7e3708f34bd3fdc3da87aca1beec2685 Mon Sep 17 00:00:00 2001 From: Mikael Nousiainen Date: Thu, 3 Sep 2020 22:19:21 +0300 Subject: [PATCH] Update documentation --- README.md | 3 ++- src/config.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1288feb..0613de8 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,8 @@ and install GDB from [ARM GNU GCC toolchain](https://developer.arm.com/tools-and Semihosting allows the firmware to send log messages via special system calls to OpenOCD, so that you can get real-time feedback and debug output from the application. -*Semihosting needs to be disabled when not connec +**Semihosting has to be disabled when the RS41 radiosonde is not connected to the STM32 programmer dongle, +otherwise the firmware will not run.** ### Steps to start firmware debugging and semihosting diff --git a/src/config.h b/src/config.h index 7e6ed06..cdda221 100644 --- a/src/config.h +++ b/src/config.h @@ -2,6 +2,7 @@ #define __CONFIG_H // Enable semihosting to receive debug logs during development +// NOTE: Semihosting has to be disabled when the RS41 radiosonde is not connected to the STM32 programmer dongle, otherwise the firmware will not run. //#define SEMIHOSTING_ENABLE //#define LOGGING_ENABLE