From a1c0fb90e04eeff8a77e0eff163370410d057d54 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sun, 12 Dec 2021 23:04:21 +0100 Subject: [PATCH 1/4] update example link --- src/i2c.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i2c.rs b/src/i2c.rs index 507f8fd..540853c 100644 --- a/src/i2c.rs +++ b/src/i2c.rs @@ -2,7 +2,7 @@ //! //! ## Examples //! -//! - [REB1 I2C temperature sensor example](https://github.com/robamu-org/vorago-reb1-rs/blob/main/examples/temp-sensor.rs) +//! - [REB1 I2C temperature sensor example](https://egit.irs.uni-stuttgart.de/rust/vorago-reb1/src/branch/main/examples/adt75-temp-sensor.rs) use crate::{ clock::{enable_peripheral_clock, PeripheralClocks}, pac::{I2CA, I2CB, SYSCONFIG}, From 2abf35bb6e3643d60a2a1f01c034a92b0695ce70 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sun, 12 Dec 2021 23:49:44 +0100 Subject: [PATCH 2/4] simplified ci files --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb0b87d..1100277 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,12 +18,11 @@ jobs: with: use-cross: true command: check - args: --target thumbv6m-none-eabi - uses: actions-rs/cargo@v1 with: use-cross: true command: check - args: --examples --target thumbv6m-none-eabi + args: --examples fmt: name: Rustfmt @@ -57,7 +56,7 @@ jobs: with: use-cross: true command: clippy - args: --target thumbv6m-none-eabi -- -D warnings + args: -- -D warnings ci: if: ${{ success() }} From 439e1d43e7e2c186600dcd936615088978eaaa0b Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sun, 12 Dec 2021 23:51:47 +0100 Subject: [PATCH 3/4] update link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 220f287..f24ec18 100644 --- a/README.md +++ b/README.md @@ -85,4 +85,4 @@ is contained within the 7. Flashing the board might work differently for different boards and there is usually more than one way. You can find example instructions for the REB1 development board - [here](https://github.com/robamu-org/vorago-reb1-rs). + [here](https://egit.irs.uni-stuttgart.de/rust/vorago-reb1). From 59463fbabab5454b856e468b1b532f508b6260a9 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 13 Dec 2021 00:04:09 +0100 Subject: [PATCH 4/4] try without use-cross in CI --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1100277..8caa486 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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