From 8433681cfe34ccfe1999dfce5e34cc3935d35da6 Mon Sep 17 00:00:00 2001 From: Aksel Skauge Mellbye Date: Tue, 29 Sep 2020 14:02:24 +0200 Subject: [PATCH] ConfigWizard: Add format specifier for option fields. The format specifier gives hints to the tool about how to graphically display the configuration option. --- CMSIS/DoxyGen/Pack/src/config_wizard.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CMSIS/DoxyGen/Pack/src/config_wizard.txt b/CMSIS/DoxyGen/Pack/src/config_wizard.txt index 97d7e4b5c6..14c4737244 100644 --- a/CMSIS/DoxyGen/Pack/src/config_wizard.txt +++ b/CMSIS/DoxyGen/Pack/src/config_wizard.txt @@ -391,6 +391,28 @@ The following table lists the Configuration Wizard Annotations: See \ref configWizard_display. + + \format-specifier> + no + Format specifier for graphical display of integer value. The format-specifier must be one of +
+
d
Decimal
+
h
Hexadecimal
+
o
Octal
+
b
Binary
+
+ \code + // A decimal option + #define MY_DECIMAL_1 13 -- displayed as decimal "13" in the tool + + // Another decimal option + #define MY_DECIMAL_2 0x10 -- displayed as decimal "16" in the tool + + // A hexadecimal option + #define MY_HEX 52 -- displayed as hexadecimal "0x34" in the tool + \endcode + + 1 Tools are expected to continue support of deprecated features but annotated files shall be updated to the new version.