forked from space-ros/docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Zenoh Pico hello-world (space-ros#43)
* Initial commit of Zynq RTEMS hello-world Signed-off-by: Morgan Quigley <[email protected]> * a bit of cleanup Signed-off-by: Morgan Quigley <[email protected]> * cross-compile Zenoh-Pico static library Signed-off-by: Morgan Quigley <[email protected]> * add application skeleton for a zenoh pick client Signed-off-by: Morgan Quigley <[email protected]> * WIP fix build Signed-off-by: Morgan Quigley <[email protected]> * fix echo flag Signed-off-by: Morgan Quigley <[email protected]> * fix toolchain file to declare FreeBSD explicitly Signed-off-by: Morgan Quigley <[email protected]> * iterate toolchain Signed-off-by: Morgan Quigley <[email protected]> * create zenoh session seems to work Signed-off-by: Morgan Quigley <[email protected]> * a bit of cleanup and documentation Signed-off-by: Morgan Quigley <[email protected]> * doc Signed-off-by: Morgan Quigley <[email protected]> * doc Signed-off-by: Morgan Quigley <[email protected]> * rename script to agree with doc Signed-off-by: Morgan Quigley <[email protected]> * fix warning Signed-off-by: Morgan Quigley <[email protected]> * doc Signed-off-by: Morgan Quigley <[email protected]> * send hello-world data through zenoh Signed-off-by: Morgan Quigley <[email protected]> * doc Signed-off-by: Morgan Quigley <[email protected]> Signed-off-by: Morgan Quigley <[email protected]>
- Loading branch information
Showing
21 changed files
with
2,741 additions
and
35 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
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
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
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
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,21 @@ | ||
#!/bin/bash | ||
APP_NAME=hello_zenoh | ||
if [ $(basename $PWD) != $APP_NAME ]; then | ||
echo "This script must be run in the '$APP_NAME' directory." | ||
exit | ||
fi | ||
if [ $(id -u) -ne 0 ]; then | ||
echo "Non-root user detected. Re-running myself inside docker..." | ||
set -o verbose | ||
docker run --rm --net=host -e DISPLAY=$DISPLAY \ | ||
--device=/dev/dri:/dev/dri \ | ||
--volume=$PWD:/root/$APP_NAME \ | ||
-w /root/$APP_NAME \ | ||
openrobotics/zynq_rtems:latest \ | ||
/root/$APP_NAME/compile.sh | ||
exit | ||
fi | ||
set -o errexit | ||
set -o verbose | ||
./waf configure --rtems=/root/rtems/6 --rtems-archs=aarch64 --rtems-version=6 --show-commands | ||
./waf |
Oops, something went wrong.