-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GAIAPLAT-1521] Add direct_access example README.md (#1005)
- Add direct_access example README.md - Minor fixes to the incubator README.md
- Loading branch information
1 parent
70f93c3
commit 108f8a2
Showing
2 changed files
with
42 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Direct Access Demo | ||
A demo of the Gaia Direct Access API. | ||
|
||
## Build Instructions | ||
These instructions assume you have installed the SDK and have installed the `clang` and `cmake` tools. See the SDK User's Guide for instructions on how to do this. | ||
|
||
1. To preserve the initial state of the sample code, copy the source files to a new directory. | ||
```shell | ||
mkdir direct_access | ||
cd direct_access | ||
cp -r /opt/gaia/examples/direct_access/* . | ||
``` | ||
2. Create the build directory under the current `direct_access/` directory and initiate the build. | ||
```shell | ||
mkdir build | ||
cd build/ | ||
cmake .. | ||
make | ||
``` | ||
3. The output of the build is the 'incubator' executable. | ||
|
||
# Running the Demo | ||
|
||
To run the `hospital` binary from the build directory use the following command: | ||
|
||
```shell | ||
./hospital | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters