File: README.md

package info (click to toggle)
fastrpc 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,816 kB
  • sloc: ansic: 30,070; makefile: 230; sh: 31
file content (49 lines) | stat: -rw-r--r-- 1,702 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# fastrpc_test

This folder contains a test application (`fastrpc_test.c`) that demonstrates the usage of FastRPC (Fast Remote Procedure Call) to offload computations to different DSP (Digital Signal Processor) domains. The test application supports multiple examples, including a simple calculator service, a HAP example, and a multithreading example.

## Pushing Files to the Device

After building the application, the following files and directories need to be pushed to the device:

1. **fastrpc_test Binary**: The compiled test application.
2. **android Directory**: Contains shared libraries for the Android platform.
3. **linux Directory**: Contains shared libraries for the Linux platform.
4. **v68 Directory**: Contains skeletons for the v68 architecture version.
5. **v75 Directory**: Contains skeletons for the v75 architecture version.

### Installing the Test

Use `make install` to install the libraries and the executable to the appropriate directories:

```bash
make install
```

## Running the Test

To run the test application, use the following command:

```bash
fastrpc_test -d 3 -U 1 -t linux -a v68
```

### Options

- `-d domain`: Run on a specific domain.
  - `0`: Run the example on ADSP
  - `1`: Run the example on MDSP
  - `2`: Run the example on SDSP
  - `3`: Run the example on CDSP
  - **Default Value**: `3` (CDSP) for targets having CDSP.

- `-U unsigned_PD`: Run on signed or unsigned PD.
  - `0`: Run on signed PD.
  - `1`: Run on unsigned PD.
  - **Default Value**: `1`

- `-t target`: Specify the target platform (android or linux).
  - **Default Value**: `linux`

- `-a arch_version`: Specify the architecture version (e.g., v68, v75).
  - **Default Value**: `v68`