Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
bdd804f88b | |||
f4cd3b704b | |||
7e2bb8618e | |||
6931432dcd |
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -16,11 +16,9 @@ jobs:
|
||||
override: true
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
use-cross: true
|
||||
command: check
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
use-cross: true
|
||||
command: check
|
||||
args: --examples
|
||||
|
||||
@ -54,7 +52,6 @@ jobs:
|
||||
- run: rustup component add clippy
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
use-cross: true
|
||||
command: clippy
|
||||
args: -- -D warnings
|
||||
|
||||
|
14
Cargo.toml
14
Cargo.toml
@ -11,23 +11,23 @@ keywords = ["no-std", "reb1", "cortex-m", "vorago", "va108xx"]
|
||||
categories = ["aerospace", "embedded", "no-std", "hardware-support"]
|
||||
|
||||
[dependencies]
|
||||
cortex-m = "0.7.5"
|
||||
cortex-m-rt = "0.7.1"
|
||||
cortex-m = "0.7"
|
||||
cortex-m-rt = "0.7"
|
||||
embedded-hal = "0.2.7"
|
||||
dummy-pin = "0.1.1"
|
||||
max116xx-10bit = "0.2.1"
|
||||
dummy-pin = "0.1"
|
||||
max116xx-10bit = "0.2"
|
||||
|
||||
[dependencies.va108xx-hal]
|
||||
version = "0.5.1"
|
||||
version = "0.5"
|
||||
features = ["rt"]
|
||||
|
||||
[features]
|
||||
rt = ["va108xx-hal/rt"]
|
||||
|
||||
[dev-dependencies]
|
||||
cortex-m-rtic = "1.1.2"
|
||||
cortex-m-rtic = "1.1"
|
||||
panic-halt = "0.2"
|
||||
nb = "1.0.0"
|
||||
nb = "1"
|
||||
|
||||
[dev-dependencies.rtt-target]
|
||||
version = "0.3"
|
||||
|
@ -58,8 +58,9 @@ A `jlink.gdb` file is provided to allow flashing of the board from the command l
|
||||
|
||||
## Debugging with VS Code
|
||||
|
||||
The REB1 board features an on-board JTAG, so all that is required to flash the board is a
|
||||
Micro-USB cable and an
|
||||
The REB1 board features an on-board JTAG, so all that is required to debug the board is a
|
||||
Micro-USB cable.
|
||||
|
||||
You can debug applications on the REB1 board with a graphical user interface using VS Code with
|
||||
the [`Cortex-Debug` plugin](https://marketplace.visualstudio.com/items?itemName=marus25.cortex-debug).
|
||||
|
||||
|
@ -21,7 +21,7 @@ pub struct Adt75TempSensor {
|
||||
current_reg: RegAddresses,
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Debug, Copy, Clone)]
|
||||
#[derive(PartialEq, Eq, Debug, Copy, Clone)]
|
||||
pub enum RegAddresses {
|
||||
Temperature = 0x00,
|
||||
Configuration = 0x01,
|
||||
|
Reference in New Issue
Block a user