summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2023-03-28 13:27:57 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-29 20:16:08 +0000
commit1a2939cdf441719a322fc699da602435ba94ac7a (patch)
tree29a775caf542eb171ee4b575cb137a70c3f0b546 /docs
parentc53cbc40ccbb7f6567ada127cd610b71dab6d868 (diff)
downloadchrome-ec-1a2939cdf441719a322fc699da602435ba94ac7a.tar.gz
docs/reducing_ec_image_size.md: Add details on how to check a board's config
BRANCH=none BUG=none TEST=view in gitiles Change-Id: I9131efe660c50c33fc7aaf5cc9ec2b5ff8cdf637 Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4376210 Reviewed-by: Firas Sammoura <fsammoura@google.com> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/reducing_ec_image_size.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/reducing_ec_image_size.md b/docs/reducing_ec_image_size.md
index d58827441a..1f64316afa 100644
--- a/docs/reducing_ec_image_size.md
+++ b/docs/reducing_ec_image_size.md
@@ -135,6 +135,18 @@ $ ninja -C /tmp/zephyr-herobrine/herobrine/build-ro rom_report
Please refer to the [Zephyr Optimization Tools][3] documentation for details on
the `rom_report` and `ram_report` targets.
+## Checking a board's config
+
+If you want to see what configs are enabled for a given board, use the
+`print-configs` `Makefile` target:
+
+```shell
+$ make BOARD=<BOARD> print-configs
+```
+
+You can also open the `./build/<BOARD>/.config` file that is generated after
+building the board with `make BOARD=<BOARD>`.
+
## Disable console commands
The lowest hanging fruit for reducing the EC image size is by disabling console