AP_Logger: Add metadata for VER and FILE messages

This commit is contained in:
Simon Hancock 2024-02-23 22:58:53 +00:00 committed by Peter Barker
parent 591d65ec91
commit 2a67cbe681
1 changed files with 21 additions and 0 deletions

View File

@ -1195,6 +1195,13 @@ struct PACKED log_VER {
// @Field: Free: free stack
// @Field: Name: thread name
// @LoggerMessage: FILE
// @Description: File data
// @Field: FileName: File name
// @Field: Offset: Offset into the file of this block
// @Field: Length: Length of this data block
// @Field: Data: File data of this block
// @LoggerMessage: SCR
// @Description: Scripting runtime stats
// @Field: TimeUS: Time since system startup
@ -1203,6 +1210,20 @@ struct PACKED log_VER {
// @Field: Total_mem: total memory usage of all scripts
// @Field: Run_mem: run memory usage
// @LoggerMessage: VER
// @Description: Ardupilot version
// @Field: TimeUS: Time since system startup
// @Field: BT: Board type
// @Field: BST: Board subtype
// @Field: Maj: Major version number
// @Field: Min: Minor version number
// @Field: Pat: Patch number
// @Field: FWT: Firmware type
// @Field: GH: Github commit
// @Field: FWS: Firmware version string
// @Field: APJ: Board ID
// @Field: BU: Build vehicle type
// @LoggerMessage: MOTB
// @Description: Motor mixer information
// @Field: TimeUS: Time since system startup