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