Skip to content

Commit bce96f6

Browse files
committed
Update README for accuracy
1 parent 5b630ed commit bce96f6

1 file changed

Lines changed: 8 additions & 23 deletions

File tree

README.md

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,7 @@ For an example of how it is used, checkout [brickman].
1313

1414
## Status
1515

16-
This is currently in the development stages and is unstable. The device driver
17-
interfaces require the latest ev3dev kernel (currently v3.16.7-ckt4-ev3dev1).
18-
19-
## Dependencies
20-
21-
Besides dependencies included in trusty, we need vala >= 0.24, which you can get
22-
from the [vala-team PPA](https://launchpad.net/~vala-team/+archive/ubuntu/ppa),
23-
and libgrx which is part of the ev3dev package repository.
16+
This is currently in the development stages and is unstable.
2417

2518

2619
## Get the code
@@ -32,37 +25,29 @@ This project uses git and git submodules.
3225

3326
## Cross-compiling for the EV3
3427

35-
This requires that you have [Docker](https://www.docker.com) installed.
28+
This requires that you have [Docker](https://www.docker.com) installed. (On
29+
Linux, you will also need to install the `qemu-user-static` package.)
3630

3731
cd ev3devKit
38-
./docker/setup.sh $BUILD_DIR $ARCH
32+
./docker/setup.sh $ARCH
3933
docker exec --tty ev3devkit_$ARCH make install
4034

41-
Substitute any directory you like for `$BUILD_DIR` this is where the compiled
42-
files will be stored. The directory will be created if it does not exist.
4335
Substitute `$ARCH` with `armel` for the EV3 or `armhf` for RPi/BeagleBone.
44-
When the build is completed, copy the files from `$BUILD_DIR/dist` to your EV3.
36+
When the build is completed, copy the files from `build-$ARCH/dist` to your EV3.
4537

4638

4739
## Compiling for desktop
4840

4941
# include install build depends
5042
$ sudo apt-get install cmake valac libgirepository1.0-dev \
5143
libgudev-1.0-dev libgrx-3.0-dev libgtk-3-dev
52-
# create a build directory (not in cloned ev3devKit directory).
53-
$ mkdir build
54-
$ cd build
55-
$ cmake ../ev3devKit -DCMAKE_BUILD_TYPE=string:Debug
56-
$ make
57-
58-
You can add additional build option to the `cmake` command. Note: you need to
59-
delete *everything* in the build directory when changing `cmake` options to
60-
ensure that they take effect.
44+
$ cmake -P setup.cmake
45+
$ make -C build
6146

6247

6348
## Running
6449

65-
When building for the desktop, one can run the demos using `make run<tab>`. In
50+
When building for the desktop, one can run the demos using `make -C build run<tab>`. In
6651
order to run them on the device, copy the demos over or share the folder via NFS
6752
or sshfs with the EV3. When copying them to /home/user, the demos are runable
6853
from the file-browser.

0 commit comments

Comments
 (0)