π’ super fast π and tiny π₯ embedded device πΎ printf-like trace β code, works also inside β‘ interrupts β‘ and real-time PC π» logging (trace ID visualization π)
When triceRpc.c is compiled into a remote target or a PC application, a target machine can trigger a remote procedure call on a remote target. If a result is needed, the remote target can answer with a triceRpc call.
All targets can get the same triceRpc.c files compiled in. It is up to the user to provide fn1, fn2, ... with target specific functionality. When a target receives an id, it checks the triceRpc list and executes the appropriate function if the id was found.
targetCode.c:
With
trice insert
a til.json exists and atrice generate
command creates 2 files from til.json:File triceRpc.h:
File triceRpc.c:
When triceRpc.c is compiled into a remote target or a PC application, a target machine can trigger a remote procedure call on a remote target. If a result is needed, the remote target can answer with a triceRpc call.
All targets can get the same triceRpc.c files compiled in. It is up to the user to provide fn1, fn2, ... with target specific functionality. When a target receives an id, it checks the triceRpc list and executes the appropriate function if the id was found.