Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Commit

Permalink
DG-11: Updated to use device-sdk-c tag 0.7.1
Browse files Browse the repository at this point in the history
Signed-off-by: br <bindu@iotechsys.com>
  • Loading branch information
BinduRao2018 committed Dec 11, 2018
1 parent c876b09 commit 78fc465
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ By default, the configuration and profile file used by the service are available

## Configuration for docker image
1. Port number specified in the configuration.toml
2. --device=/dev/<i2c device> to map host device to the container. For Raspberry PI, it is i2c-1.
2. --device=/dev/ < i2c-device > to map host device to the container. For Raspberry PI, it is i2c-1.

**Note:** On Raspberry PI, make sure that i2c_arm=on is set. This enables i2c-1 device, required for communication between Grove PI & Raspberry PI boards.

Expand Down
6 changes: 3 additions & 3 deletions scripts/build_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ then

# get c-sdk from edgexfoundry
cd /device-grove/deps
wget https://github.com/edgexfoundry/device-sdk-c/archive/0.7.0.tar.gz
tar -xzf 0.7.0.tar.gz
cd device-sdk-c-0.7.0
wget https://github.com/edgexfoundry/device-sdk-c/archive/0.7.1.tar.gz
tar -xzf 0.7.1.tar.gz
cd device-sdk-c-0.7.1
./scripts/build.sh
cp -rf include/* /usr/include/
cp build/release/c/libcsdk.so /usr/lib/
Expand Down

0 comments on commit 78fc465

Please sign in to comment.