Skip to content

Commit e9bf2fc

Browse files
Qinghao ShiQinghao Shi
authored andcommitted
add testing section for the rtos and target page
1 parent c46748e commit e9bf2fc

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

docs/reference/contributing/target/rtos.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,11 @@ Due to differences in the Mbed OS and CMSIS directory structure, you can't impor
2929
### Modification
3030

3131
Due to different use cases between Mbed OS and CMSIS, we modified the source code. We upstream our changes to the CMSIS repository, but in cases when they aren't compatible with CMSIS requirements, we maintain a small set of changes. We maintain changes as separate commits in `mbed-os`, and SHAs are in the `commit_sha` section of the `cmsis_importer.json` file.
32+
33+
### Testing
34+
35+
The Mbed OS provides a set of conformance tests for rtos configurations. You can use these tests to validate the correctness of your rtos porting. To run the rtos tests, use the following command:
36+
37+
```
38+
mbed test -t <toolchain> -m <target> -n "tests-mbedmicro-rtos-mbed*"
39+
```

docs/reference/contributing/target/target.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,11 @@ SLEEP | sleep_api.h
5555
SPI SPISLAVE | spi_api.h
5656
TRNG | trng_api.h
5757
FLASH | flash_api.h
58+
59+
### Testing
60+
61+
The Mbed OS HAL provides a set of conformance tests for the Mbed OS HAL API. You can use these tests to validate the correctness of your implementation. To run the all of the Mbed OS HAL API tests, use the following command:
62+
63+
```
64+
mbed test -t <toolchain> -m <target> -n mbed-os-tests-mbed_hal*
65+
```

0 commit comments

Comments
 (0)