Commit Graph

7 Commits

Author SHA1 Message Date
Simon Hancock c0a503d74d autotest: Provide format and unit/multiplier info for log messages
Definitions of each character are extracted from LogStructure.h
Data is extracted by parsing the logging definition struct
Also parse WriteMessage() calls for messages not defined in struct
Add support to separate log descriptions for messages with same field list
Compute derived unit from combination of format, unit and multiplier
For XML output the format and derived unit into new attributes
Add enumerations to the XML output (bitmasks were already done)
For MD,RST,HTML, output either derived unit, 'char[n]', 'bitmask' or 'enum'
Fix support for Blimp by adding it to the parse_enum.py lookup table
2024-01-16 11:24:34 +11:00
Peter Barker fa64415446 autotest: correct generator of rst in logger metadata 2023-01-26 15:41:32 +11:00
Peter Barker 3708ed7a45 Tools: add script to extract enumeration as metadata 2023-01-25 19:50:34 +11:00
Pierre Kancir 4b67ed808f Tools: logger_metadata: remove useless shebang 2022-06-08 08:16:42 +09:00
Iampete1 00eca20cf4 Tools: logger metadata: emit rst discription on new line 2022-01-12 18:17:58 +11:00
Peter Barker e671a0912e autotest: logger_metadata: understand , in @LoggerMessage
This means multiple messages use exactly the same meaning in the fields

Also retain ordering of fields
2020-03-21 09:34:43 +11:00
Peter Barker 60ff6c0b24 autotest: add parser for the logger metadata 2020-03-20 13:05:46 +11:00