From c0bfb257dbf52538f649fa8272f3786970dbfdc2 Mon Sep 17 00:00:00 2001 From: Winston Hoy Date: Wed, 2 Aug 2023 10:36:57 -0400 Subject: [PATCH] Update debugging.md --- docs/debugging.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/debugging.md b/docs/debugging.md index ba779e2..023c3fd 100644 --- a/docs/debugging.md +++ b/docs/debugging.md @@ -1,10 +1,13 @@ # Debugging the EC firmware + Terms used: - *target*: The laptop system that has the EC to be tested - *host*: The system that will have all devices connected to it and will receive the EC logs ## Debugging with target device + +[log_cflag]: https://github.com/system76/ec/blob/master/src/board/system76/common/common.mk#L31-L39 1. Install dependencies ```bash ./scripts/deps.sh @@ -13,7 +16,9 @@ Terms used: ```bash make BOARD=system76/ console_internal ``` -1. If you're not seeing seeing expected output, check the [log level cflag](https://github.com/system76/ec/blob/master/src/board/system76/common/common.mk#L31-L39). This is an EC compile time configuration and changing will require a build and flash of the EC. You can override this in the untracked `./config.mk` file for example. +1. If you're not seeing seeing expected output, check the + [log level cflag][log_cflag]. This is an EC compile time configuration and + changing will require a build and flash of the EC. ## Debugging with external device