1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-02-10 04:33:37 +02:00

Get compass solution working and add more information.

This commit is contained in:
Andrew Walbran 2023-03-09 12:52:01 +00:00
parent 17bbf5f0b7
commit 82f4dab523
3 changed files with 17 additions and 0 deletions

View File

@ -17,3 +17,11 @@ use microbit::{hal::uarte::{Baudrate, Parity, Uarte}, Board};
}
}
```
See the serial output with
```sh
picocom --baud 115200 --imap lfcrlf /dev/ttyACM0
```
Use Ctrl+A Ctrl+Q to quit picocom.

View File

@ -1,2 +1,5 @@
[build]
target = "thumbv7em-none-eabihf" # Cortex-M4F
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
rustflags = ["-C", "link-arg=-Tlink.x"]

View File

@ -1,2 +1,8 @@
[default.general]
chip = "nrf52833_xxAA"
[debug.gdb]
enabled = true
[debug.reset]
halt_afterwards = true