summaryrefslogtreecommitdiff
path: root/docs/i2c-debugging.md
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2021-01-26 10:38:55 -0800
committerCommit Bot <commit-bot@chromium.org>2021-01-28 16:38:57 +0000
commit2f40b71b625bcd826fd0cb4a005985abef0b8903 (patch)
tree1f67563e6de1dc64fd4d40bb50ea70d2a17d18a7 /docs/i2c-debugging.md
parent4e950b9fde9e5d7197d2558f7a36bc809e193a49 (diff)
downloadchrome-ec-2f40b71b625bcd826fd0cb4a005985abef0b8903.tar.gz
docs: Run mdformat on all .md files
BRANCH=none BUG=b:178648877 TEST=view in gitiles Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I0ac5581ba7bc512234d40dbf34222422afa9c725 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2650551 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'docs/i2c-debugging.md')
-rw-r--r--docs/i2c-debugging.md15
1 files changed, 6 insertions, 9 deletions
diff --git a/docs/i2c-debugging.md b/docs/i2c-debugging.md
index 7ab84f9d8d..125e72b777 100644
--- a/docs/i2c-debugging.md
+++ b/docs/i2c-debugging.md
@@ -1,13 +1,10 @@
-I²C Debugging Tips
-==================
+# I²C Debugging Tips
-The EC codebase has functionality to help you debug I²C errors without
-pulling out the scope. Some of the debug functionality is disabled by
-default to save space, but can be enabled with the `CONFIG_I2C_DEBUG`
-option.
+The EC codebase has functionality to help you debug I²C errors without pulling
+out the scope. Some of the debug functionality is disabled by default to save
+space, but can be enabled with the `CONFIG_I2C_DEBUG` option.
-Tracing
--------
+## Tracing
You can use the `i2ctrace` command to monitor (ranges of) addresses:
@@ -51,4 +48,4 @@ Note that `i2ctrace enable` will merge debug entries when possible:
id port address
-- ---- -------
0 0 0x10 to 0x50
-``` \ No newline at end of file
+```