commit 277284d232463728673edaf449e3de337f448be6 parent 248c3c57f4b766b8a6a22774c8083b2bd1cd8bc4 Author: Martin Kloeckner <mjkloeckner@gmail.com> Date: Sun, 15 Mar 2026 13:49:53 -0300 update `README.md` Diffstat:
| M | README.md | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md @@ -16,3 +16,14 @@ configurations. In Debugger tab set Debug probe as ST-LINK (OpenOCD) and after pressing Show generator options setupReset Mode as Software system reset. In Startup tab add 'monitor arm semihosting enable' to the initialization commands. Finally Apply and Close (or Debug). + +## Running without IDE + +By default the code is written to run with the Stm32CubeIDE opened and in debug +mode, this by using semihosting. Semihosting is a way to log to the host console +via the attached debugger (without using an additional serial port). But if a +host console is not detected during initilization the program will halt. + +To run code without debug mode or without having the IDE opened semihosting +needs to be disabled. This is done by defining the macro +`LOGGER_CONFIG_USE_SEMIHOSTING` as `0` instead of `1` in the file `app/logger.h`.
