Fix paths, better instructions
This commit is contained in:
parent
621c760e80
commit
f46a5a5c2d
@ -50,8 +50,13 @@ Because the driver is made to target an ARM device, it must be cross-compiled. T
|
||||
To start:
|
||||
|
||||
```sh
|
||||
$ 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:~
|
||||
vagrant up && vagrant rsync && vagrant ssh
|
||||
```
|
||||
|
||||
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.
|
||||
|
@ -4,5 +4,5 @@ export DEBIAN_FRONTEND=noninteractive
|
||||
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
|
||||
|
||||
cd /vagrant/st7701s
|
||||
cd /vagrant/
|
||||
/home/vagrant/.cargo/bin/rustup target add armv7-unknown-linux-gnueabihf
|
||||
|
Loading…
x
Reference in New Issue
Block a user