Skip to content

Commit 8dbff9b

Browse files
committed
docs: modify the am and soc test intro
1 parent ad39569 commit 8dbff9b

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ $ chmod +x ~/.cache/mill/download/0.9.9
226226
```
227227

228228
### Software test
229+
Software test, also called application test, can provide integrated test for interrupt. You need to recompile the amtest with specific `AM_TARGET` when you want to change the software target.
229230
```bash
230231
# the 'AM_TARGET' option value(default h):
231232
# h => "hello"
@@ -243,18 +244,26 @@ $ make amTest
243244
```
244245

245246
### Benchmark test
247+
First, you need to compile the benchmark programs.
246248
```bash
247249
$ make coremarkTestBuild
248250
$ make dhrystoneTestBuild
249251
$ make microbenchTestBuild
250252
```
253+
```bash
254+
$ make coremakrTest
255+
$ make dhrystoneTest
256+
$ make microbenchTest
257+
```
251258

252259
### SoC test
253260
SoC test is based on ysyxSoC project. SoC test provides more accurate simulation environment for processor design.
254261

255262
```bash
256-
$ make socBuild
257-
$ make socTest
263+
$ make CHIP_TARGET=tc_l2 socBuild
264+
# SOC_APP_TYPE: flash, loader
265+
# SOC_APP_NAME: hello, memtest, rtthread
266+
$ make CHIP_TARGET=tc_l2 SOC_APP_TYPE=flash SOC_APP_NAME=hello socTest
258267
```
259268
### Add and Customize new project
260269
```bash

0 commit comments

Comments
 (0)