Skip to content

Commit 5bab69e

Browse files
authored
Merge pull request #10 from aktondak/firmware_debuggability
Firmware debuggability configs addition
2 parents e64a3c8 + 332a92f commit 5bab69e

2 files changed

Lines changed: 1248 additions & 0 deletions

File tree

firmware_configs/firmware_log.json

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"version": {
3+
"product": 0,
4+
"schema": 0,
5+
"major": 1,
6+
"minor": 0
7+
},
8+
"enumerations": {
9+
"ipu_log_format": {
10+
"enumerators": {
11+
"full": 0,
12+
"concise": 1
13+
}
14+
},
15+
"ipu_log_level": {
16+
"enumerators": {
17+
"err": 1,
18+
"wrn": 2,
19+
"inf": 3,
20+
"dbg": 4
21+
}
22+
}
23+
},
24+
"structures": {
25+
"ipu_log_message_header": {
26+
"fields": [
27+
{
28+
"name": "timestamp",
29+
"type": "uint64_t",
30+
"width": 64,
31+
"format": "0x{:016X}"
32+
},
33+
{
34+
"name": "format",
35+
"enumeration": "ipu_log_format",
36+
"type": "uint32_t",
37+
"width": 1
38+
},
39+
{
40+
"name": "reserved_1",
41+
"type": "uint32_t",
42+
"width": 7,
43+
"format": "0b{:07b}"
44+
},
45+
{
46+
"name": "level",
47+
"enumeration": "ipu_log_level",
48+
"type": "uint32_t",
49+
"width": 3
50+
},
51+
{
52+
"name": "reserved_11",
53+
"type": "uint32_t",
54+
"width": 5,
55+
"format": "0b{:05b}"
56+
},
57+
{
58+
"name": "appn",
59+
"type": "uint32_t",
60+
"width": 8,
61+
"format": "0x{:02X}"
62+
},
63+
{
64+
"name": "argc",
65+
"type": "uint32_t",
66+
"width": 8,
67+
"format": "0x{:02X}"
68+
},
69+
{
70+
"name": "line",
71+
"type": "uint32_t",
72+
"width": 16,
73+
"format": "0x{:04X}"
74+
},
75+
{
76+
"name": "module",
77+
"type": "uint32_t",
78+
"width": 16,
79+
"format": "0x{:04X}"
80+
}
81+
]
82+
}
83+
}
84+
}

0 commit comments

Comments
 (0)