Skip to content

Commit

Permalink
add to mpu the versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
jr1221 committed Dec 21, 2024
1 parent 2ac1464 commit caa918b
Showing 1 changed file with 100 additions and 0 deletions.
100 changes: 100 additions & 0 deletions cangen/can-messages/mpu.json
Original file line number Diff line number Diff line change
Expand Up @@ -932,5 +932,105 @@
]
}
]
},
{
"id": "0x698",
"desc": "Cerberus Version Tag",
"sim_freq": 1000,
"fields": [
{
"name": "MPU/Version/Tag",
"unit": "major.minor.patch",
"sim": {
"min": 0,
"max": 3,
"inc_min": 1,
"inc_max": 1,
"round": true
},
"points": [
{
"size": 8
},
{
"size": 8
},
{
"size": 8
}
]
},
{
"name": "MPU/Version/Dirty",
"unit": "bool",
"sim": {
"options": [
[
0,
0.95
],
[
1,
0.05
]
]
},
"points": [
{
"size": 8
}
]
},
{
"name": "MPU/Version/LocalCommit",
"unit": "bool",
"sim": {
"options": [
[
0,
0.95
],
[
1,
0.06
]
]
},
"points": [
{
"size": 8
}
]
}
]
},
{
"id": "0x699",
"desc": "Cerberus Version Hash",
"sim_freq": 1000,
"fields": [
{
"name": "MPU/Version/ShortHash",
"unit": "hash",
"sim": {
"min": 0000,
"max": 4294967295,
"inc_min": 1,
"inc_max": 1,
"round": true
}
},
{
"name": "MPU/Version/AuthorHash",
"unit": "hash",
"sim": {
"min": 0000,
"max": 4294967295,
"inc_min": 1,
"inc_max": 1,
"round": true
}
}
]
}
]

0 comments on commit caa918b

Please sign in to comment.