// embeddedDeviceCodeExample.c ... int k = ReadADC(); TRICE(Id(12345), "msg: %d Kelvin\n", k); ...
trice Buffer
TRICEmacro
Programflow
ISR
til.json (trice ID list)
The trice ID list is updated in a pre-compile step
byte
11223344
trice tool
printf()
Display
embedded device
PC
trigger
"TRICE" "msg: %d Kelvin\\n"
UART
3 trice 32-bit units: Timestamp 11223344, ID3039+count01+cycle c0, data 0x0000000e
Programflow
COBS encoded & optionally encrypted
The trice ID list is used by the PC trice tool during runtime (trice log)
trice update
ID 12345
patches new source code with ID
Build process
ID 0x3039
value 14
bit width & format String
COBS encoding
+mode
+mode
user Buffer
3 trice 32-bit units: 11223344, 303901c0, 0x0000000e
14 Kelvin
trigger
out Buffer