Skip to the content.

TriceGirlS.png

πŸ…ƒπŸ…ace πŸ„Έd’s πŸ„² πŸ„΄mbedded

github.io/trice/

GitHub issues GitHub All Releases GitHub code size in bytes GitHub watchers GitHub release (latest by date) GitHub commits since latest release Go Report Card PRs Welcome test Coverage Status

Log in (a) trice (S>G)

even inside β†― interrupts in less than 1 Β΅s❗

About

Possible Use Cases

How it approximately works (UART example)

This slightly simplified view is explained here

trice

Data Transfer

Start trice ds inside a console, option: third_party/alacritty, locally or on a remote PC and connect with several trice tool instances like with trice log -p COM15 -ds for example.

Documentation

Debugging using VS-Code and Clang for a Trice-instrumented Project in Direct-Out Mode over SEGGER-RTT

(See folder ./examples for more details.)

x

Trice Cache

Starting with Trice version 0.70.0 it is possible to use additionally the Trice -cache CLI switch for the commands trice insert and trice clean. This switch will have only effect when the user creates in his home directory the .trice/cache folder. The Trice cache is considered as experimental, even it it thoroughly tested. (Trice Cache Spec)

When to use it

When you use trice i as a pre-compile step and trice c as a post-compile step to have the IDs not in the project source code when you work on it, therefore only during compilation time, and wish to speed-up the whole thing.

How it works

The Trice cache keeps copies of all to trice i or trice c passed files after processing them, to avoid repeatedly ID inserting and cleaning. The copies are used to get the same results as with trice i or trice c for all files not edited inbetween. Edited files are processed normally and the cache is updated afterwards. Because the file copies are done without changing the file modification time, a build system does not process unchanged files again even the IDs have been temorarily removed from the files.

Hint

Special care is needed, when the build system modifies source files as well!

For example an auto-formatter should get active before the tice insert command.

Wich mode to use?

Project Status

Trice is full usable and there are no known bugs (see issues).

Future

The documentation could get improved, for example by adding a quick start help. Additional features like remote procedure calls could be described and a separate tlog, maybe written in C, would allow logging on any platforms - not only Go supported ones.

Support?

Yes please - or simply :star: it. ☺

Become a Sponsor with your Github Account

OR

Buy Me A Coffee

OR

paypal

Cloning the repo:

git clone https://github.com/rokath/trice.git

Similar projects