Fix paths, better instructions

This commit is contained in:
Corey Vixie 2020-03-29 12:54:11 -07:00
parent 621c760e80
commit f46a5a5c2d
2 changed files with 8 additions and 3 deletions

View File

@ -50,8 +50,13 @@ Because the driver is made to target an ARM device, it must be cross-compiled. T
To start: To start:
```sh ```sh
$ vagrant up && vagrant rsync && vagrant ssh vagrant up && vagrant rsync && vagrant ssh
$ cd /vagrant/st7701s/ && cargo build --target=armv7-unknown-linux-gnueabihf && scp target/armv7-unknown-linux-gnueabihf/debug/st7701s debian@beaglebone.local:~ ```
To build and copy:
```sh
cd /vagrant/ && cargo build --target=armv7-unknown-linux-gnueabihf && scp target/armv7-unknown-linux-gnueabihf/debug/st7701s debian@beaglebone.local:~
``` ```
Remember, you can run `vagrant rsync-auto` in another shell to continually sync changes for "live" development. Remember, you can run `vagrant rsync-auto` in another shell to continually sync changes for "live" development.

View File

@ -4,5 +4,5 @@ export DEBIAN_FRONTEND=noninteractive
sudo apt-get -yq install curl gcc vim git device-tree-compiler g++-arm-linux-gnueabihf sudo apt-get -yq install curl gcc vim git device-tree-compiler g++-arm-linux-gnueabihf
echo 'curl https://sh.rustup.rs -sSf | sh -s -- -y;' | su vagrant echo 'curl https://sh.rustup.rs -sSf | sh -s -- -y;' | su vagrant
cd /vagrant/st7701s cd /vagrant/
/home/vagrant/.cargo/bin/rustup target add armv7-unknown-linux-gnueabihf /home/vagrant/.cargo/bin/rustup target add armv7-unknown-linux-gnueabihf