mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +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]
|
## [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
|
### 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()`
|
- 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
|
### Added
|
||||||
|
|
||||||
|
|
10
Cargo.toml
10
Cargo.toml
|
@ -14,7 +14,7 @@ name = "cortex-m-rtic"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/rtic-rs/cortex-m-rtic"
|
repository = "https://github.com/rtic-rs/cortex-m-rtic"
|
||||||
|
|
||||||
version = "0.6.0-alpha.3"
|
version = "0.6.0-alpha.4"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "rtic"
|
name = "rtic"
|
||||||
|
@ -53,17 +53,15 @@ required-features = ["__v7"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cortex-m = "0.7.0"
|
cortex-m = "0.7.0"
|
||||||
cortex-m-rtic-macros = { path = "macros", version = "0.6.0-alpha.3" }
|
cortex-m-rtic-macros = { path = "macros", version = "0.6.0-alpha.4" }
|
||||||
# rtic-monotonic = "0.1.0-alpha.1"
|
rtic-monotonic = "0.1.0-alpha.1"
|
||||||
rtic-monotonic = { path = "../rtic-monotonic" }
|
|
||||||
rtic-core = "0.3.1"
|
rtic-core = "0.3.1"
|
||||||
heapless = "0.6.1"
|
heapless = "0.6.1"
|
||||||
bare-metal = "1.0.0"
|
bare-metal = "1.0.0"
|
||||||
generic-array = "0.14"
|
generic-array = "0.14"
|
||||||
|
|
||||||
[dependencies.dwt-systick-monotonic]
|
[dependencies.dwt-systick-monotonic]
|
||||||
# version = "0.1.0-alpha.2"
|
version = "0.1.0-alpha.2"
|
||||||
path = "../dwt-systick-monotonic"
|
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|
|
@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"
|
||||||
name = "cortex-m-rtic-macros"
|
name = "cortex-m-rtic-macros"
|
||||||
readme = "../README.md"
|
readme = "../README.md"
|
||||||
repository = "https://github.com/rtic-rs/cortex-m-rtic"
|
repository = "https://github.com/rtic-rs/cortex-m-rtic"
|
||||||
version = "0.6.0-alpha.3"
|
version = "0.6.0-alpha.4"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
@ -22,5 +22,4 @@ proc-macro2 = "1"
|
||||||
proc-macro-error = "1"
|
proc-macro-error = "1"
|
||||||
quote = "1"
|
quote = "1"
|
||||||
syn = "1"
|
syn = "1"
|
||||||
# rtic-syntax = "0.5.0-alpha.2"
|
rtic-syntax = "0.5.0-alpha.3"
|
||||||
rtic-syntax = { path = "../../rtic-syntax" }
|
|
||||||
|
|
|
@ -157,11 +157,11 @@ pub fn codegen(
|
||||||
Context::HardwareTask(t) => {
|
Context::HardwareTask(t) => {
|
||||||
&app.hardware_tasks[t].cfgs
|
&app.hardware_tasks[t].cfgs
|
||||||
// ...
|
// ...
|
||||||
},
|
}
|
||||||
Context::SoftwareTask(t) => {
|
Context::SoftwareTask(t) => {
|
||||||
&app.software_tasks[t].cfgs
|
&app.software_tasks[t].cfgs
|
||||||
// ...
|
// ...
|
||||||
},
|
}
|
||||||
_ => &v,
|
_ => &v,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -142,10 +142,7 @@ pub fn mark_internal_ident(ident: &Ident) -> Ident {
|
||||||
|
|
||||||
/// Mark an ident as internal
|
/// Mark an ident as internal
|
||||||
pub fn mark_internal_name(name: &str) -> Ident {
|
pub fn mark_internal_name(name: &str) -> Ident {
|
||||||
Ident::new(
|
Ident::new(&format!("__rtic_internal_{}", name), Span::call_site())
|
||||||
&format!("__rtic_internal_{}", name),
|
|
||||||
Span::call_site(),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn link_section_index() -> usize {
|
fn link_section_index() -> usize {
|
||||||
|
|
Loading…
Reference in a new issue