The ev3dev Brick Manager.
Please report issues or feature requests at https://github.com/ev3dev/ev3dev/issues
Get the code:
-
Clone of the brickman repo.
git clone git://github.com/ev3dev/brickman cd brickman git submodule update --init --recursive
To build for the EV3:
-
In
brickstrap shell:sudo apt-get build-dep brickman mkdir -p /host-rootfs/<some-path-like-home/user/build-brickman> cd /host-rootfs/<some-path-like-home/user/build-brickman> cmake /host-rootfs/<path-to-brickman-repo> -DCMAKE_BUILD_TYPE=string:Debug make -
On your host computer (not in
brickstrap shell), use NFS or sshfs to share <some-path-like-home/user/build-brickman> with your EV3. -
On your EV3, stop the runing service:
sudo systemctl stop brickman, connect the share and run./brickmanor if you temporarily replaced the one in/usr/sbinrestart it withsudo systemctl start brickman. -
If running brickman from systemd, you find the stdout/stderr in the journal:
journalctl -f -u brickman. -
To get more details you can
sudo systemctl set-environment G_MESSAGES_DEBUG=allandsudo systemctl restart brickman. -
likewise you can tune down the amount of logging with
sudo systemctl unset-environment G_MESSAGES_DEBUGfollowed bysudo systemctl restart brickman.
To build the desktop test (makes UI development much faster), in a regular terminal, not in brickstrap shell:
-
Install the build-deps listed in
debian/controland also the packageslibev3devkit-desktop-devandlibgtk-3-dev. -
Then...
mkdir -p <some-build-dir> cd <some-build-dir> cmake <path-to-brickdm-source> -DCMAKE_BUILD_TYPE=string:Debug -DBRICKMAN_TEST=bool:Yes make make run -
Also see
brickman.sublime-projectfor more build hints.
Note: brickman.sublime-project is for Sublime Text.