diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2023-02-15 16:17:04 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-03-09 01:11:03 +0000 |
commit | 1a9f3cfec6eee885563010e5cce4f13e7fe4fad9 (patch) | |
tree | 7f985f085dbd8d4e7e8b19a2f013c051103f6608 /docs/zephyr | |
parent | 8aa6c643c95d829e9c5711380fc168aeb64f3b2d (diff) | |
download | chrome-ec-1a9f3cfec6eee885563010e5cce4f13e7fe4fad9.tar.gz |
doc: zephyr: add more information to the missing __device_dts_ord point
Add a note in to the __device_dts_ord bit to point out at where to find
the reference.
BRANCH=none
BUG=none
TEST=view on gitiles
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: I230edd1df47a67006315077eed65f04c10963446
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4264114
Reviewed-by: Yuval Peress <peress@google.com>
Commit-Queue: Yuval Peress <peress@google.com>
Diffstat (limited to 'docs/zephyr')
-rw-r--r-- | docs/zephyr/zephyr_troubleshooting.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/zephyr/zephyr_troubleshooting.md b/docs/zephyr/zephyr_troubleshooting.md index a7a7716e5e..552f22eac1 100644 --- a/docs/zephyr/zephyr_troubleshooting.md +++ b/docs/zephyr/zephyr_troubleshooting.md @@ -76,7 +76,9 @@ corresponding `struct device` is not instantiated, either because the driver has not been enabled or because of a devicetree misconfiguration (missing `status = "okay"`). -Quick fix: enable the corresponding driver (CONFIG_...=y) or fix the devicetree. +Quick fix: find what device is causing the issue (look into +`devicetree_generated.h`) enable the corresponding driver (CONFIG_...=y) or fix +the devicetree. Proper fix: find the code referencing to the undefined node, make sure that the corresponding Kconfig option depends on the subsystem being enabled (ADC, |