diff --git a/tools/drwatson/README.md b/tools/drwatson/README.md index c9255dc..b7c4738 100644 --- a/tools/drwatson/README.md +++ b/tools/drwatson/README.md @@ -5,6 +5,10 @@ It requires Ubuntu-based system and Python 3.4+. ## Setup Drwatson +First make sure that all submodules are checked out: `git submodule update --init --recursive`. + +Then execute the setup script as superuser, and you're ready to go: + ```bash sudo ./setup.sh sudo ./drwatson_epm_v3.py can0 @@ -15,5 +19,6 @@ sudo ./drwatson_epm_v3.py can0 Drwatson can upload firmware automatically, but if you want to do it yourself, here's how: ```bash +cd drwatson ./lpc11c00_can_bootloader.py can0 firmware.bin ``` diff --git a/tools/drwatson/setup.sh b/tools/drwatson/setup.sh index 8c6aa9a..646d445 100755 --- a/tools/drwatson/setup.sh +++ b/tools/drwatson/setup.sh @@ -7,6 +7,6 @@ fi set -o xtrace -apt-get install -y python3 python3-pip +apt-get install -y python3 python3-pip can-utils pip3 install colorama 'uavcan>=0.0.dev0'