summaryrefslogtreecommitdiff
path: root/docs/zephyr
diff options
context:
space:
mode:
Diffstat (limited to 'docs/zephyr')
-rw-r--r--docs/zephyr/zephyr_ap_ec_comm.md7
-rw-r--r--docs/zephyr/ztest.md13
2 files changed, 8 insertions, 12 deletions
diff --git a/docs/zephyr/zephyr_ap_ec_comm.md b/docs/zephyr/zephyr_ap_ec_comm.md
index dca948fbe9..711b2449ec 100644
--- a/docs/zephyr/zephyr_ap_ec_comm.md
+++ b/docs/zephyr/zephyr_ap_ec_comm.md
@@ -110,20 +110,19 @@ selected host interface and SoC family. Each SoC driver has specific
compatibility string which is used to get node with configuration from the
device tree.
For example, the nuvoton npcx chip uses compatibility string
-`nuvoton,npcx-cros-shi`.
+`nuvoton,npcx-shi`.
The node's required properties are defined in yaml files: [SHI bindings]
```
/ {
- shi: shi@4000f000 {
- compatible = "nuvoton,npcx-cros-shi";
+ shi0: shi@4000f000 {
+ compatible = "nuvoton,npcx-shi";
reg = <0x4000f000 0x120>;
interrupts = <18 1>;
clocks = <&pcc NPCX_CLOCK_BUS_APB3 NPCX_PWDWN_CTL5 1>;
pinctrl-0 = <&altc_shi_sl>;
shi-cs-wui =<&wui_io53>;
- label = "SHI";
};
}
```
diff --git a/docs/zephyr/ztest.md b/docs/zephyr/ztest.md
index d6b598b0e3..5adcae7c5b 100644
--- a/docs/zephyr/ztest.md
+++ b/docs/zephyr/ztest.md
@@ -128,20 +128,17 @@ platform/ec$ ./twister -T path/to/my/tests
### Run a specific test
```shell
-platform/ec$ ./twister -s external/platform/ec/zephyr/test/<test dir>/<my.test.case>
+platform/ec$ ./twister -s <test dir>/<my.test.scenario>
```
For example:
```shell
-platform/ec$ ./twister -s external/platform/ec/zephyr/test/drivers/drivers.default
+platform/ec$ ./twister -s drivers/drivers.default
```
-Explanation of this string: `external/` is not a path component, but rather a
-label that indicates we are running tests from outside of the Zephyr tree;
-`platform/ec/zephyr/test/` is the location of our tests relative to the first
-common parent of `ZEPHYR_BASE` and `platform/ec`; `drivers` is the directory for
-our driver tests, and `drivers.default` is a specific test scenario defined in
-that directory's `testcase.yaml` file.
+Explanation of this string: `drivers/` is the directory under `zephyr/test/`
+that contains the requested test, and `drivers.default` is the specific test
+scenario specified in that directory's `testcase.yaml` file.
### Run all tests with coverage