aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen/timer_queue.rs (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2020-06-10Disable optimisation profiles in GHA for 1.36.0Gravatar Henrik Tjäder 1-0/+17
2020-06-10Remove compilation optimisations on 1.36.0Gravatar Henrik Tjäder 1-0/+6
2020-06-03Run cargo fmtGravatar Henrik Tjäder 4-9/+9
2020-06-02Use travis to set the PATH properlyGravatar Henrik Tjäder 2-2/+1
2020-06-02Use statically compiled mdbookGravatar Henrik Tjäder 1-2/+9
2020-06-02Testing GHA v0.1Gravatar Henrik Tjäder 6-0/+567
Implementing previous Travis CI setup on Github Actions
2020-05-13Update app.mdGravatar KENTARO OKUDA 1-4/+4
2020-04-22Retain cfg-attributes on resourcesGravatar Henrik Tjäder 5-5/+63
2020-04-21Temporarily disable extra test stub since tests are not merged yetGravatar Henrik Tjäder 1-5/+5
2020-04-21Remove reference to exampleGravatar Henrik Tjäder 1-1/+0
This example will be reintroduced in #306 instead
2020-04-20Use buildrs for conditional compilationGravatar Henrik Tjäder 3-0/+16
2020-04-13fix SLEEPONEXIT reference link in Russian versionGravatar Peter Taylor 1-1/+1
2020-04-13correct SLEEPONEXIT reference linkGravatar Peter Taylor 1-1/+1
2020-01-24Reference the correct exampleGravatar Henrik Tjäder 1-2/+2
2020-01-21docs: do not use Instant::now in #[init]Gravatar Jorge Aparicio 2-0/+5
2020-01-21use the safe DWT::unlock APIGravatar Jorge Aparicio 2-3/+5
instead of a unsafe write_volatile call
2019-12-04book, Russian lang: fix "idle not defined" typoGravatar Konstantin Mochalov 1-1/+1
Fix typo in Russian translation of book, was "When idle function is declared", should be "When no idle function is declared"
2019-12-03Update migration guide to include the enabling of the the DWT peripheral. ↵Gravatar Scott Mabin 1-1/+9
Also makes note of enable trace with the DCB to allow the DWT to work without a debugger connected.
2019-11-19Fixed link to API referenceGravatar Emil Fresk 1-1/+1
2019-11-19Preparation for v0.5.1Gravatar Emil Fresk 1-3/+7
2019-11-19TimerQueue.dequeue: don't set SYST reload to 0Gravatar Maciej Pasternacki 1-0/+7
ARM Architecture Reference Manual says: "Setting SYST_RVR to zero has the effect of disabling the SysTick counter independently of the counter enable bit." If Monotonic's ratio is less than one, the timeout calculations can compute zero if next task is scheduled after current instant, but before next timer tick. This results in disabling SYST and freezing the timer queue.
2019-11-18Bumped version to 0.5.1, cyccntr bugfixGravatar Per Lindgren 1-1/+1
2019-11-18Fixed internal overflow on subtraiton in elapsed and durationGravatar Per Lindgren 2-2/+9
2019-11-14fix CIGravatar Jorge Aparicio 1-4/+8
after caching was enabled binary install through the trust/install.sh script stopped working (due to permissions?). This updates crate installation to use `cargo-install` iff the requested version of a crate is not already installed
2019-11-14remove references to 'beta' from the docsGravatar Jorge Aparicio 3-5/+2
2019-11-14CI: fix caching mechanismGravatar Jorge Aparicio 1-1/+1
2019-11-14v0.5.0 final releaseGravatar Jorge Aparicio 3-7/+8
2019-11-13Minor docs update to monotonicGravatar Emil Fresk 1-2/+4
2019-11-07Added struct de-structure-ing example in tips & tricksGravatar Emil Fresk 2-0/+56
2019-11-06fix bash comparisonGravatar Jorge Aparicio 1-1/+1
2019-11-06run cfail tests only when rustc --version == $MSRVGravatar Jorge Aparicio 2-3/+6
this version is more or less fixed so new releases of Rust (stable or nightly channel) are unlikely to break to build due to changes in diagnostic messages
2019-11-06CI: replace compiletest-rs with trybuildGravatar Jorge Aparicio 12-47/+23
We use compiletest to run compile-fail tests but compiletest depends on compiler internals so it breaks every now and then and requires nightly. With trybuild we can also run compile-fail tests but it works on stable and it already has reached version 1.0
2019-11-06fix CI: use an older nightly on the x86_64 buildGravatar Jorge Aparicio 1-1/+2
2019-10-25CI: build 0.4 docs from the v0.4.x branchGravatar Jorge Aparicio 1-1/+1
instead of using a specific tag; this way documentation changes done to the v0.4.x branch will show up on the site as soon as they land -- right now they require publishing a new v0.4.x release on crates.io and manually updating the `after-success.sh` build script on master
2019-10-23Fixed peripherals -> device typoGravatar Emil Fresk 1-2/+2
2019-10-21do not zero late resource memory on bootGravatar Jorge Aparicio 1-2/+10
2019-10-17version v0.5 is still betav0.5.0-beta.1Gravatar Jorge Aparicio 1-1/+1
2019-10-16ARMv7-M+Gravatar Jorge Aparicio 1-1/+1
2019-10-16add migration guideGravatar Jorge Aparicio 2-0/+226
2019-10-16Update book/en/src/by-example/timer-queue.mdGravatar Jorge Aparicio 1-1/+1
Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com>
2019-10-15cyccnt::Instant: simplify the Send / Sync implGravatar Jorge Aparicio 1-13/+2
originally the type was made `!Send` because it loses its meaning when send from one core to another but that was an incorrect use of the `Send` bound (the send operation makes the value incorrect but that doesn't cause memory unsafety on its own). So later the type was (explicitly) made `Send` again resulting in a convoluted implementation -- this commit simplifies things.
2019-10-15document the limitations of cyccnt::{Instant,Duration}Gravatar Jorge Aparicio 1-5/+19
2019-10-15more monotonic timer docsGravatar Jorge Aparicio 6-5/+33
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 releaseGravatar Jorge Aparicio 7-27/+31
2019-10-11Fix matrix.to web link for the static room view.Gravatar Tim Small 1-1/+1
Fix the matrix.to link so that the room history can be viewed in "Matrix-Static" by users who aren't registered on Matrix (e.g. for previewing). Hopefully this will also get the room content into search engines. n.b. The new matrix.to URL uses the room name instead of the room ID, because the ID didn't work with Matrix-Static, and the matrix.to README at: https://github.com/matrix-org/matrix.to says... "Note that linking to rooms by ID should only be used for rooms to which the target user has been invited: these links cannot be assumed to work for all visitors."
2019-10-10critical sections: each task gets its own contextGravatar chrysn 1-1/+1
Fixing what was probably a copy-paste error; different tasks each have different types for their context argument.
2019-09-17fix linkchecker warningGravatar Jorge Aparicio 1-1/+1
2019-09-17fix more linksGravatar Jorge Aparicio 8-15/+15
2019-09-17update the CHANGELOGGravatar Jorge Aparicio 2-3/+38
also fix link to the older documentation
2019-09-17www: fix book placementGravatar Jorge Aparicio 1-4/+3