From 15391709fd964e23d91deaf3db832a9d83da1ea5 Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Sat, 20 Dec 2014 18:03:47 -0800 Subject: 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 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 Reviewed-by: Todd Broch Trybot-Ready: Vincent Palatin Tested-by: Vincent Palatin Commit-Queue: Vincent Palatin --- board/twinkie/build.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/twinkie/build.mk') 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 -- cgit v1.2.1