1
Fork 0

Update README.md

This commit is contained in:
Julian Gaal 2019-04-15 23:34:44 +02:00 committed by GitHub
parent f424926f1b
commit 638964fe4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ fn main() -> Result<(), Error<LinuxI2CError>> {
``` ```
#### Compile linux example #### Compile linux example
* full file [here](https://github.com/juliangaal/mpu6050/blob/master/src/bin/linux.rs) * full file [here](https://github.com/juliangaal/mpu6050/blob/master/src/bin/linux.rs)
* Requirements f: `apt-get install -qq gcc-arm-linux-gnueabihf libc6-armhf-cross libc6-dev-armhf-cross` * Requirements: `apt-get install -qq gcc-arm-linux-gnueabihf libc6-armhf-cross libc6-dev-armhf-cross`
* cross-compile with `cargo build --bin main --target=arm-unknown-linux-gnueabihf` * cross-compile with `cargo build --bin main --target=arm-unknown-linux-gnueabihf`
## TODO ## TODO