@@ -4,16 +4,16 @@ This document explains how to use the test suite and what is needed to do so.
4
4
5
5
## Prerequisites
6
6
7
- - [ rustup] , which will automatically install the version of Nightly Rust compiler specified by ` rust-toolchain `
7
+ - [ rustup] [ ] , which will automatically install the version of Nightly Rust compiler specified by ` rust-toolchain `
8
8
- [ QEMU] ( https://www.qemu.org/ ) 4.2 or later to test the Arm-M/-A port.
9
9
- libusb 1.x and libudev to run ` r3_test_runner ` (used to test various ports).
10
10
- [ OpenOCD] ( http://openocd.org ) to test the Arm-A port on GR-PEACH.
11
- - ` JLinkExe ` <sup >†</sup > from [ J-Link Software] to test the RISC-V port on RED-V.
11
+ - ` JLinkExe ` <sup >†</sup > from [ J-Link Software] [ ] to test the RISC-V port on RED-V.
12
12
13
13
[ rustup ] : https://rustup.rs/
14
14
[ J-Link Software ] : https://www.segger.com/downloads/jlink#J-LinkSoftwareAndDocumentationPack
15
15
16
- [ Nix] users can use the provided ` shell.nix ` file to install all required software except for those marked with <sup >†</sup >.
16
+ [ Nix] [ ] users can use the provided ` shell.nix ` file to install all required software except for those marked with <sup >†</sup >.
17
17
18
18
[ Nix ] : https://nixos.org/nix/
19
19
@@ -23,24 +23,24 @@ This document explains how to use the test suite and what is needed to do so.
23
23
24
24
The following table shows how to run the kernel test suite for each target.
25
25
26
- | Architecture | Board | Command |
27
- | --------------- | ---------------------------------------- | --------------------------------------------------------------------- |
28
- | Host | Host | ` cargo test -p r3_port_std --features r3_test_suite/full ` |
29
- | Armv7-M+FPU+DSP | [ NUCLEO-F401RE] | ` cargo run -p r3_test_runner -- -t nucleo_f401re ` |
30
- | Armv8-MML+FPU | [ Arm MPS2+] [ AN505] (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_mps2_an505 ` |
31
- | Armv8-MML | Arm MPS2+ AN505 (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_mps2_an505 -a cortex_m33 ` |
32
- | Armv8-MBL | Arm MPS2+ AN505 (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_mps2_an505 -a cortex_m23 ` |
33
- | Armv7-M | Arm MPS2+ [ AN385] (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_mps2_an385 ` |
34
- | Armv6-M | Arm MPS2+ AN385 (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_mps2_an385 -a cortex_m0 ` |
35
- | Armv6-M | [ Raspberry Pi Pico] (USB) | ` cargo run -p r3_test_runner -- -t rp_pico ` |
36
- | Armv7-A | [ GR-PEACH] | ` cargo run -p r3_test_runner -- -t gr_peach ` |
37
- | Armv7-A | [ Arm RealView PBX for Cortex-A9] (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_realview_pbx_a9 ` |
38
- | RV32IMAC | [ SiFive E] (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_sifive_e_rv32 ` |
39
- | RV32GC | [ SiFive U] (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_sifive_u_rv32 ` |
40
- | RV64IMAC | SiFive U (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_sifive_u_rv64 -a rv64i+m+a+c ` |
41
- | RV64GC | SiFive U (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_sifive_u_rv64 ` |
42
- | RV32IMAC | [ RED-V] (SPI flash XIP) | ` cargo run -p r3_test_runner -- -t red_v ` |
43
- | RV64GC | [ Maix] boards (UART ISP) | ` cargo run -p r3_test_runner -- -t maix ` |
26
+ | Architecture | Board | Command |
27
+ | ----------------- | ------------------------------------------- | ----------------------------------------------------------------------- |
28
+ | Host | Host | ` cargo test -p r3_port_std --features r3_test_suite/full ` |
29
+ | Armv7-M+FPU+DSP | [ NUCLEO-F401RE] [ ] | ` cargo run -p r3_test_runner -- -t nucleo_f401re ` |
30
+ | Armv8-MML+FPU | [ Arm MPS2+] [ ] [ AN505] [ ] (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_mps2_an505 ` |
31
+ | Armv8-MML | Arm MPS2+ AN505 (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_mps2_an505 -a cortex_m33 ` |
32
+ | Armv8-MBL | Arm MPS2+ AN505 (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_mps2_an505 -a cortex_m23 ` |
33
+ | Armv7-M | Arm MPS2+ [ AN385] [ ] (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_mps2_an385 ` |
34
+ | Armv6-M | Arm MPS2+ AN385 (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_mps2_an385 -a cortex_m0 ` |
35
+ | Armv6-M | [ Raspberry Pi Pico] [ ] (USB) | ` cargo run -p r3_test_runner -- -t rp_pico ` |
36
+ | Armv7-A | [ GR-PEACH] [ ] | ` cargo run -p r3_test_runner -- -t gr_peach ` |
37
+ | Armv7-A | [ Arm RealView PBX for Cortex-A9] [ ] (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_realview_pbx_a9 ` |
38
+ | RV32IMAC | [ SiFive E] [ ] (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_sifive_e_rv32 ` |
39
+ | RV32GC | [ SiFive U] [ ] (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_sifive_u_rv32 ` |
40
+ | RV64IMAC | SiFive U (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_sifive_u_rv64 -a rv64i+m+a+c ` |
41
+ | RV64GC | SiFive U (QEMU) | ` cargo run -p r3_test_runner -- -t qemu_sifive_u_rv64 ` |
42
+ | RV32IMAC | [ RED-V] [ ] (SPI flash XIP) | ` cargo run -p r3_test_runner -- -t red_v ` |
43
+ | RV64GC | [ Maix] [ ] boards (UART ISP) | ` cargo run -p r3_test_runner -- -t maix ` |
44
44
45
45
[ NUCLEO-F401RE ] : https://www.st.com/en/evaluation-tools/nucleo-f401re.html
46
46
[ Arm MPS2+ ] : https://developer.arm.com/tools-and-software/development-boards/fpga-prototyping-boards/mps2
0 commit comments