mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Prepare release alpha.4
This commit is contained in:
parent
6155f1366a
commit
c17348d290
5 changed files with 19 additions and 17 deletions
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -5,7 +5,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [v0.6.0-alpha.2] - 2020-04-08
|
||||
## [v0.6.0-alpha.3] - 2021-05-27
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed codegen structure to not have issues with local paths
|
||||
- Default paths for monotonics now work properly
|
||||
- New `embedded-time` version to `0.11`
|
||||
|
||||
## [v0.6.0-alpha.2] - 2021-04-08
|
||||
|
||||
### Added
|
||||
|
||||
|
@ -21,7 +29,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
|
||||
- The access to monotonic static methods was for example `MyMono::now()`, and is now `monotonics::MyMono::now()`
|
||||
|
||||
## [v0.6.0-alpha.1] - 2020-03-04
|
||||
## [v0.6.0-alpha.1] - 2021-03-04
|
||||
|
||||
### Added
|
||||
|
||||
|
|
10
Cargo.toml
10
Cargo.toml
|
@ -14,7 +14,7 @@ name = "cortex-m-rtic"
|
|||
readme = "README.md"
|
||||
repository = "https://github.com/rtic-rs/cortex-m-rtic"
|
||||
|
||||
version = "0.6.0-alpha.3"
|
||||
version = "0.6.0-alpha.4"
|
||||
|
||||
[lib]
|
||||
name = "rtic"
|
||||
|
@ -53,17 +53,15 @@ required-features = ["__v7"]
|
|||
|
||||
[dependencies]
|
||||
cortex-m = "0.7.0"
|
||||
cortex-m-rtic-macros = { path = "macros", version = "0.6.0-alpha.3" }
|
||||
# rtic-monotonic = "0.1.0-alpha.1"
|
||||
rtic-monotonic = { path = "../rtic-monotonic" }
|
||||
cortex-m-rtic-macros = { path = "macros", version = "0.6.0-alpha.4" }
|
||||
rtic-monotonic = "0.1.0-alpha.1"
|
||||
rtic-core = "0.3.1"
|
||||
heapless = "0.6.1"
|
||||
bare-metal = "1.0.0"
|
||||
generic-array = "0.14"
|
||||
|
||||
[dependencies.dwt-systick-monotonic]
|
||||
# version = "0.1.0-alpha.2"
|
||||
path = "../dwt-systick-monotonic"
|
||||
version = "0.1.0-alpha.2"
|
||||
optional = true
|
||||
|
||||
[build-dependencies]
|
||||
|
|
|
@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"
|
|||
name = "cortex-m-rtic-macros"
|
||||
readme = "../README.md"
|
||||
repository = "https://github.com/rtic-rs/cortex-m-rtic"
|
||||
version = "0.6.0-alpha.3"
|
||||
version = "0.6.0-alpha.4"
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
@ -22,5 +22,4 @@ proc-macro2 = "1"
|
|||
proc-macro-error = "1"
|
||||
quote = "1"
|
||||
syn = "1"
|
||||
# rtic-syntax = "0.5.0-alpha.2"
|
||||
rtic-syntax = { path = "../../rtic-syntax" }
|
||||
rtic-syntax = "0.5.0-alpha.3"
|
||||
|
|
|
@ -157,11 +157,11 @@ pub fn codegen(
|
|||
Context::HardwareTask(t) => {
|
||||
&app.hardware_tasks[t].cfgs
|
||||
// ...
|
||||
},
|
||||
}
|
||||
Context::SoftwareTask(t) => {
|
||||
&app.software_tasks[t].cfgs
|
||||
// ...
|
||||
},
|
||||
}
|
||||
_ => &v,
|
||||
};
|
||||
|
||||
|
|
|
@ -142,10 +142,7 @@ pub fn mark_internal_ident(ident: &Ident) -> Ident {
|
|||
|
||||
/// Mark an ident as internal
|
||||
pub fn mark_internal_name(name: &str) -> Ident {
|
||||
Ident::new(
|
||||
&format!("__rtic_internal_{}", name),
|
||||
Span::call_site(),
|
||||
)
|
||||
Ident::new(&format!("__rtic_internal_{}", name), Span::call_site())
|
||||
}
|
||||
|
||||
fn link_section_index() -> usize {
|
||||
|
|
Loading…
Reference in a new issue