Compare commits

...

4 Commits
v0.4.0 ... main

Author SHA1 Message Date
Robin Müller bdd804f88b
lets try without cross..
Rust/vorago-reb1/pipeline/head This commit looks good Details
2022-09-27 20:55:20 +02:00
Robin Müller f4cd3b704b
typo
Rust/vorago-reb1/pipeline/head This commit looks good Details
2022-09-27 20:51:37 +02:00
Robin Müller 7e2bb8618e
bump dependencies
Rust/vorago-reb1/pipeline/head This commit looks good Details
2022-09-13 10:58:54 +02:00
Robin Müller 6931432dcd
add eq auto-derive
Rust/vorago-reb1/pipeline/head This commit looks good Details
2022-09-13 10:47:23 +02:00
4 changed files with 11 additions and 13 deletions

View File

@ -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

View File

@ -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"

View File

@ -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).

View File

@ -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,