From fe6b3a02c0388483da0a0610bf15e854426f8fee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Mon, 29 Jul 2019 19:28:29 +0200 Subject: [PATCH] dependencies: use stm32h7 PAC 0.8 * remove and warnings notes on using the local build of stm32h7 * bump cortex-m-rt to 0.6.10 (.ARM.exidx section) * mention that this works with beta --- .github/force-pac-master.sh | 18 ------------------ .travis.yml | 1 - Cargo.toml | 4 ++-- README.md | 15 +-------------- 4 files changed, 3 insertions(+), 35 deletions(-) delete mode 100755 .github/force-pac-master.sh diff --git a/.github/force-pac-master.sh b/.github/force-pac-master.sh deleted file mode 100755 index b0b70405..00000000 --- a/.github/force-pac-master.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -set -e - -git clone https://github.com/stm32-rs/stm32-rs -cd stm32-rs -cargo install --force svd2rust -# cargo install form # not needed here -rustup component add rustfmt -# pip install --user pyyaml # already installed -cd svd -./extract.sh -cd .. -make patch CRATES=stm32h7 -make -j$(nproc) svd2rust CRATES=stm32h7 -cd .. - -sed -i 's|/your/path/here/||' Cargo.toml diff --git a/.travis.yml b/.travis.yml index 2ce9e543..de6d183d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,6 @@ branches: before_script: - rustup target add thumbv7em-none-eabihf - - ./.github/force-pac-master.sh env: - MCU=stm32h742 diff --git a/Cargo.toml b/Cargo.toml index 272505f0..d24d639c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,8 +21,8 @@ features = ["stm32h743", "rt"] [dependencies] embedded-hal = "0.2.3" cortex-m = "^0.6.0" -cortex-m-rt = "0.6.8" -stm32h7 = { path = "/your/path/here/stm32-rs/stm32h7" } +cortex-m-rt = "0.6.10" +stm32h7 = "0.8.0" void = { version = "1.0.2", default-features = false } cast = { version = "0.2.2", default-features = false } nb = "0.1.2" diff --git a/README.md b/README.md index bb2f9e2d..8f5f65db 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,7 @@ are pull requests!** 🚧 *Work in progress* -❗ *Nightly required* - -📂 *[Local dependancy required](#Hacking)* +❗ *Beta or nightly required* `stm32h7xx-hal` contains a hardware abstraction on top of the peripheral access API for the STMicro STM32H7 series @@ -72,17 +70,6 @@ Run an Example This will start `arm-none-eabi-gdb`. -Hacking --------- - -TODO: Remove this section when it no longer applies! - -To build this crate you will need the HEAD of [`stm32h7`][] built -locally. You will need to download -[`stm32-rs/stm32-rs`](https://github.com/stm32-rs/stm32-rs) locally -and follow the instructions in [the -README](https://github.com/stm32-rs/stm32-rs#generating-device-crates--building-locally). - License --------