Skip to content

Commit

Permalink
Peripheral mapping fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
valff committed Nov 27, 2019
1 parent cc9eb46 commit 3539369
Show file tree
Hide file tree
Showing 32 changed files with 187 additions and 149 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ Possible log types:

### Unreleased

### v0.11.1 (2019-11-27)

- [fixed] Fix `uart` peripheral mappings for STM32L4/STM32L4+
- [fixed] Fix `dma`, `tim` peripheral mappings for STM32F4

### v0.11.0 (2019-11-06)

- [added] Add STM32F4 family support with `adc`, `dma`, `exti`, `gpio`, `tim`
Expand Down
24 changes: 12 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ members = [

[package]
name = "drone-stm32-map"
version = "0.11.0"
version = "0.11.1"
authors = ["Valentine Valyaeff <[email protected]>"]
edition = "2018"
exclude = ["/svd_files"]
Expand Down Expand Up @@ -70,54 +70,54 @@ tim = ["drone-stm32-map-periph-tim"]
uart = ["drone-stm32-map-periph-uart"]

[dependencies.drone-cortex-m]
version = "0.11.0"
version = "0.11.1"
path = "../drone-cortex-m"

[dependencies.drone-stm32-map-pieces]
version = "=0.11.0"
version = "=0.11.1"
path = "src/pieces"

[dependencies.drone-stm32-map-periph-adc]
version = "=0.11.0"
version = "=0.11.1"
path = "src/periph/adc"
optional = true

[dependencies.drone-stm32-map-periph-dma]
version = "=0.11.0"
version = "=0.11.1"
path = "src/periph/dma"
optional = true

[dependencies.drone-stm32-map-periph-exti]
version = "=0.11.0"
version = "=0.11.1"
path = "src/periph/exti"
optional = true

[dependencies.drone-stm32-map-periph-gpio]
version = "=0.11.0"
version = "=0.11.1"
path = "src/periph/gpio"
optional = true

[dependencies.drone-stm32-map-periph-i2c]
version = "=0.11.0"
version = "=0.11.1"
path = "src/periph/i2c"
optional = true

[dependencies.drone-stm32-map-periph-rtc]
version = "=0.11.0"
version = "=0.11.1"
path = "src/periph/rtc"
optional = true

[dependencies.drone-stm32-map-periph-spi]
version = "=0.11.0"
version = "=0.11.1"
path = "src/periph/spi"
optional = true

[dependencies.drone-stm32-map-periph-tim]
version = "=0.11.0"
version = "=0.11.1"
path = "src/periph/tim"
optional = true

[dependencies.drone-stm32-map-periph-uart]
version = "=0.11.0"
version = "=0.11.1"
path = "src/periph/uart"
optional = true
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ publish:

# Publish the docs to api.drone-os.com
publish-doc: doc
dir=$(sed -n 's/.*api\.drone-os\.com\/\(.*\)"/\1/;T;p' Cargo.toml) \
dir=$(sed -n 's/.*api\.drone-os\.com\/\(.*\/.*\)\/.*\/"/\1/;T;p' Cargo.toml) \
&& rm -rf ../drone-api/$dir \
&& cp -rT target/doc ../drone-api/$dir \
&& cp -rT target/{{target}}/doc ../drone-api/$dir \
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
//!
//! ```toml
//! [dependencies]
//! drone-stm32-map = { version = "0.11.0", features = [...] }
//! drone-stm32-map = { version = "0.11.1", features = [...] }
//! ```

#![deny(elided_lifetimes_in_paths)]
Expand Down
8 changes: 4 additions & 4 deletions src/periph/adc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "drone-stm32-map-periph-adc"
version = "0.11.0"
version = "0.11.1"
authors = ["Valentine Valyaeff <[email protected]>"]
edition = "2018"
repository = "https://github.com/drone-os/drone-stm32-map"
Expand All @@ -15,13 +15,13 @@ STM32 peripheral mappings for Drone, an Embedded Operating System.
path = "lib.rs"

[dependencies.drone-core]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-core"

[dependencies.drone-cortex-m]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-cortex-m"

[dependencies.drone-stm32-map-pieces]
version = "=0.11.0"
version = "=0.11.1"
path = "../../pieces"
8 changes: 4 additions & 4 deletions src/periph/dma/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "drone-stm32-map-periph-dma"
version = "0.11.0"
version = "0.11.1"
authors = ["Valentine Valyaeff <[email protected]>"]
edition = "2018"
repository = "https://github.com/drone-os/drone-stm32-map"
Expand All @@ -15,13 +15,13 @@ STM32 peripheral mappings for Drone, an Embedded Operating System.
path = "lib.rs"

[dependencies.drone-core]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-core"

[dependencies.drone-cortex-m]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-cortex-m"

[dependencies.drone-stm32-map-pieces]
version = "=0.11.0"
version = "=0.11.1"
path = "../../pieces"
8 changes: 4 additions & 4 deletions src/periph/exti/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "drone-stm32-map-periph-exti"
version = "0.11.0"
version = "0.11.1"
authors = ["Valentine Valyaeff <[email protected]>"]
edition = "2018"
repository = "https://github.com/drone-os/drone-stm32-map"
Expand All @@ -15,13 +15,13 @@ STM32 peripheral mappings for Drone, an Embedded Operating System.
path = "lib.rs"

[dependencies.drone-core]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-core"

[dependencies.drone-cortex-m]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-cortex-m"

[dependencies.drone-stm32-map-pieces]
version = "=0.11.0"
version = "=0.11.1"
path = "../../pieces"
8 changes: 4 additions & 4 deletions src/periph/gpio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "drone-stm32-map-periph-gpio"
version = "0.11.0"
version = "0.11.1"
authors = ["Valentine Valyaeff <[email protected]>"]
edition = "2018"
repository = "https://github.com/drone-os/drone-stm32-map"
Expand All @@ -15,13 +15,13 @@ STM32 peripheral mappings for Drone, an Embedded Operating System.
path = "lib.rs"

[dependencies.drone-core]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-core"

[dependencies.drone-cortex-m]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-cortex-m"

[dependencies.drone-stm32-map-pieces]
version = "=0.11.0"
version = "=0.11.1"
path = "../../pieces"
8 changes: 4 additions & 4 deletions src/periph/i2c/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "drone-stm32-map-periph-i2c"
version = "0.11.0"
version = "0.11.1"
authors = ["Valentine Valyaeff <[email protected]>"]
edition = "2018"
repository = "https://github.com/drone-os/drone-stm32-map"
Expand All @@ -15,13 +15,13 @@ STM32 peripheral mappings for Drone, an Embedded Operating System.
path = "lib.rs"

[dependencies.drone-core]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-core"

[dependencies.drone-cortex-m]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-cortex-m"

[dependencies.drone-stm32-map-pieces]
version = "=0.11.0"
version = "=0.11.1"
path = "../../pieces"
8 changes: 4 additions & 4 deletions src/periph/rtc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "drone-stm32-map-periph-rtc"
version = "0.11.0"
version = "0.11.1"
authors = ["Valentine Valyaeff <[email protected]>"]
edition = "2018"
repository = "https://github.com/drone-os/drone-stm32-map"
Expand All @@ -15,13 +15,13 @@ STM32 peripheral mappings for Drone, an Embedded Operating System.
path = "lib.rs"

[dependencies.drone-core]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-core"

[dependencies.drone-cortex-m]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-cortex-m"

[dependencies.drone-stm32-map-pieces]
version = "=0.11.0"
version = "=0.11.1"
path = "../../pieces"
8 changes: 4 additions & 4 deletions src/periph/spi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "drone-stm32-map-periph-spi"
version = "0.11.0"
version = "0.11.1"
authors = ["Valentine Valyaeff <[email protected]>"]
edition = "2018"
repository = "https://github.com/drone-os/drone-stm32-map"
Expand All @@ -15,13 +15,13 @@ STM32 peripheral mappings for Drone, an Embedded Operating System.
path = "lib.rs"

[dependencies.drone-core]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-core"

[dependencies.drone-cortex-m]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-cortex-m"

[dependencies.drone-stm32-map-pieces]
version = "=0.11.0"
version = "=0.11.1"
path = "../../pieces"
8 changes: 4 additions & 4 deletions src/periph/tim/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "drone-stm32-map-periph-tim"
version = "0.11.0"
version = "0.11.1"
authors = ["Valentine Valyaeff <[email protected]>"]
edition = "2018"
repository = "https://github.com/drone-os/drone-stm32-map"
Expand All @@ -15,13 +15,13 @@ STM32 peripheral mappings for Drone, an Embedded Operating System.
path = "lib.rs"

[dependencies.drone-core]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-core"

[dependencies.drone-cortex-m]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-cortex-m"

[dependencies.drone-stm32-map-pieces]
version = "=0.11.0"
version = "=0.11.1"
path = "../../pieces"
8 changes: 4 additions & 4 deletions src/periph/uart/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "drone-stm32-map-periph-uart"
version = "0.11.0"
version = "0.11.1"
authors = ["Valentine Valyaeff <[email protected]>"]
edition = "2018"
repository = "https://github.com/drone-os/drone-stm32-map"
Expand All @@ -15,13 +15,13 @@ STM32 peripheral mappings for Drone, an Embedded Operating System.
path = "lib.rs"

[dependencies.drone-core]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-core"

[dependencies.drone-cortex-m]
version = "0.11.0"
version = "0.11.1"
path = "../../../../drone-cortex-m"

[dependencies.drone-stm32-map-pieces]
version = "=0.11.0"
version = "=0.11.1"
path = "../../pieces"
Loading

0 comments on commit 3539369

Please sign in to comment.