aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
AgeCommit message (Collapse)Author
2022-02-18rtic::mutex::prelude::* fixes glob import lintHenrik Tjäder
rtic-core Mutex, Exclusive and multi-lock retained in old location to not be backwards breaking
2022-02-15CHANGELOG merge=unionHenrik Tjäder
2022-02-10Docs: Fix dated migration docs for spawnHenrik Tjäder
2022-02-10Update CHANGELOGHenrik Tjäder
2022-02-10Update CHANGELOGHenrik Tjäder
2022-02-09docs: make mdBook emit error codesHenrik Tjäder
2022-02-08book: Restore accidentally removed filesHenrik Tjäder
2022-02-05Merge #593bors[bot]
593: RTIC macro expansion: Try to find target-dir r=korken89 a=AfoHT Seems over-engineered, but for projects where ``` [build] target-dir = "target" ``` is set to anything other than default `target` RTIC did simply not produce any `rtic-expansion.rs`. This changes the approach to not giving up if not finding `target/` by looking at `OUT_DIR` and traversing back until `TARGET` is found. As the `TARGET` target-triple variable is not available, approximate the `TARGET` folder (found in `target-dir`) with `s.starts_with("thumbv")`. `target-dir` as set in `.cargo/config` will now be the parent directory of the `Path` ending with `TARGET` ## Example running with default target: ``` cortex-m-rtic on  expansionoutdir [$!?] is 📦 v1.0.0 via R v1.58.0 took 4s ❯ cargo build --example spawn --target thumbv7em-none-eabihf OUT_DIR "/home/henrik/rust/rtic/cortex-m-rtic/target/thumbv7em-none-eabihf/debug/build/cortex-m-rtic-5bd81e8412a790d5/out" target/ exists Write file: target/rtic-expansion.rs Finished dev [unoptimized + debuginfo] target(s) in 7.20s ``` ## Contrived example With `.cargo/config` containing: ``` [build] target-dir = "/tmp/cargothingy/../rust/./target/cargo"` ``` ``` cortex-m-rtic on  expansionoutdir [$!?] is 📦 v1.0.0 via R v1.58.0 took 3s ❯ cargo build --example spawn --target thumbv7em-none-eabihf OUT_DIR "/tmp/cargothingy/../rust/./target/cargo/thumbv7em-none-eabihf/debug/build/cortex-m-rtic-5bd81e8412a790d5/out" "/tmp/cargothingy/../rust/./target/cargo" Write file: /tmp/cargothingy/../rust/./target/cargo/rtic-expansion.rs Finished dev [unoptimized + debuginfo] target(s) in 6.42s ``` ## Less extreme with relative paths ``` [build] target-dir = "../../cargothingy/target/buildfiles/and-stuff" ``` ``` OUT_DIR "/home/henrik/rust/rtic/cortex-m-rtic/../../cargothingy/target/buildfiles/and-stuff/thumbv7em-none-eabihf/debug/build/cortex-m-rtic-5bd81e8412a790d5/out" "/home/henrik/rust/rtic/cortex-m-rtic/../../cargothingy/target/buildfiles/and-stuff" Write file: /home/henrik/rust/rtic/cortex-m-rtic/../../cargothingy/target/buildfiles/and-stuff/rtic-expansion.rs Finished dev [unoptimized + debuginfo] target(s) in 6.78s ``` Note: If the user creates a folder named target in the same directory where `Cargo.toml`/crate root is, that will be used for storing the expansion. ``` <...> OUT_DIR "/home/henrik/rust/rtic/cortex-m-rtic/../../cargothingy/target/buildfiles/and-stuff/thumbv7em-none-eabihf/debug/build/cortex-m-rtic-5bd81e8412a790d5/out" target/ exists Write file: target/rtic-expansion.rs Finished dev [unoptimized + debuginfo] target(s) in 6.62s ``` Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2022-02-04add changelog entryRobert Jördens
2022-01-28RTIC macro expansion: Try to find target-dirHenrik Tjäder
2022-01-04Drift free timing examplesPer Lindgren
2022-01-03Added changelog enforcerEmil Fresk
2021-12-25Bump version to 1.0.0Henrik Tjäder
2021-12-14Update changelogHenrik Tjäder
2021-11-09Update versions and changelogEmil Fresk
2021-11-08CHANGELOG: Add links to v0.6.xHenrik Tjäder
2021-11-08Update changelog from v0.5.x branchHenrik Tjäder
2021-11-08Update CHANGELOGHenrik Tjäder
2021-09-28Prepare rc.2 releaseEmil Fresk
2021-09-27Preparing 0.6.0-rc.1Emil Fresk
2021-07-09Update changelog and versionEmil Fresk
2021-05-28Fixed changelogEmil Fresk
2021-05-27Prepare release alpha.4Emil Fresk
2021-04-080.6.0-alpha.2 releaseEmil Fresk
2020-11-14Updated changelog, use released version of rtic-coreEmil Fresk
2020-11-14Update the ChangelogHenrik Tjäder
2020-10-29extern taskPer Lindgren
2020-10-23Updating the changelogHenrik Tjäder
2020-10-23move dispatchers to app argumentPer Lindgren
2020-08-27Preparing v0.5.5 releaseEmil Fresk
2020-08-26Preparing for 0.5.4 releaseEmil Fresk
2020-06-12Updated CHANGELOGEmil Fresk
2020-06-12Preparing for v0.5.3Emil Fresk
2020-06-11Rename RTFM to RTICHenrik Tjäder
2020-06-11Prepare for v0.5.2 releaseEmil Fresk
2019-11-19Preparation for v0.5.1Emil Fresk
2019-11-18Fixed internal overflow on subtraiton in elapsed and durationPer Lindgren
2019-11-14v0.5.0 final releaseJorge Aparicio
2019-10-15more monotonic timer docsJorge Aparicio
covers - initialization and configuration of the timer; this is now a responsibility of the application author - correctness of `Monotonic::now()` in `#[init]` - safety of `Monotonic::reset()` closes #251
2019-10-15v0.5.0 beta releaseJorge Aparicio
2019-09-17update the CHANGELOGJorge Aparicio
also fix link to the older documentation
2019-05-01implement RFCs 147 and 155, etc.Jorge Aparicio
This commit: - Implements RFC 147: "all functions must be safe" - Implements RFC 155: "explicit Context parameter" - Implements the pending breaking change #141: reject assign syntax in `init` (which was used to initialize late resources) - Refactors code generation to make it more readable -- there are no more random identifiers in the output -- and align it with the book description of RTFM internals. - Makes the framework hard depend on `core::mem::MaybeUninit` and thus will require nightly until that API is stabilized. - Fixes a ceiling analysis bug where the priority of the system timer was not considered in the analysis. - Shrinks the size of all the internal queues by turning `AtomicUsize` indices into `AtomicU8`s. - Removes the integration with `owned_singleton`.
2019-04-21v0.4.3Jorge Aparicio
2019-02-27v0.4.2Jorge Aparicio
2019-02-12changelog: note that new syntax is documented in the bookJorge Aparicio
2019-02-12update CHANGELOG with alt init syntaxJorge Aparicio
2019-02-12v0.4.1Jorge Aparicio
2019-01-09Absolute link to the book so it works on crates.ioEddy Petrișor
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
2018-12-16note that the timer queue is not supported on ARMv6-MJorge Aparicio
2018-11-03update CHANGELOGJorge Aparicio