diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2014-12-20 18:03:47 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-04-10 23:29:31 +0000 |
commit | 15391709fd964e23d91deaf3db832a9d83da1ea5 (patch) | |
tree | 16c9bbcc696f810c7fbe2fc96f0cae9b901ccf72 /board/twinkie/build.mk | |
parent | 686a23585e2bc8a357842bd30ea3cae0cc5648da (diff) | |
download | chrome-ec-15391709fd964e23d91deaf3db832a9d83da1ea5.tar.gz |
twinkie: add simple text tracing mechanism
When using the Twinkie dongle without a protocol decoder on the host,
add a simple text tracing mechanism, so the user can get the timestamped traces
of the packets on the wire (in a best effort fashion).
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=none
TEST=On Twinkie command-line, type "tw trace on"
then plug a DingDong to Samus through Twinkie and
see the PD message traces on the console.
Change-Id: I4fa35d6783cc6279c95209c86f37e6d717de7301
Reviewed-on: https://chromium-review.googlesource.com/237222
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
Trybot-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/twinkie/build.mk')
-rw-r--r-- | board/twinkie/build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/twinkie/build.mk b/board/twinkie/build.mk index ca503a7095..8179cbaaf3 100644 --- a/board/twinkie/build.mk +++ b/board/twinkie/build.mk @@ -11,4 +11,4 @@ CHIP_FAMILY:=stm32f0 CHIP_VARIANT:=stm32f07x board-y=board.o usb_pd_policy.o -board-$(HAS_TASK_SNIFFER)+=sniffer.o injector.o +board-$(HAS_TASK_SNIFFER)+=sniffer.o injector.o simpletrace.o |