From 7cec0aafdf5cf5e778069c563ba5604019ca1b50 Mon Sep 17 00:00:00 2001 From: CarlWachter Date: Tue, 21 Nov 2023 14:34:59 +0100 Subject: [PATCH] Intructions to enable format printing for floats --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 66e36a8..57a9791 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,8 @@ Configuration: * `#define STA_PRINTF_USE_STDLIB`: Use the stdlib implementation * `#define STA_PRINTF_USE_MPALAND`: Use the implementation by Marco Paland (thread safe & reentrant) +Format printing floats needs to be manually enabled: +Project Properties > C/C++-Build > Settings > MCU Settings -> "Use float with printf from newlib-nano" ## HAL Delay