aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-20Fix for default monotonic, `monotonics::now()` now properly worksEmil Fresk
2021-04-13Merge #471bors[bot]
471: Force push to gh-pages branch r=korken89 a=AfoHT As suggested in https://github.com/rtic-rs/rfcs/pull/48#issuecomment-815730654 Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-04-13Force push to gh-pages branchHenrik Tjäder
2021-04-08Merge #465bors[bot]
465: update russian translation of the book r=korken89 a=burrbull Co-authored-by: Andrey Zgarbul <zgarbul.andrey@gmail.com>
2021-04-08Merge #468bors[bot]
468: Tiny fix of README-link r=korken89 a=AfoHT Want to try GH-pages rebuild by GHA Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-04-08Tiny fix of README-linkHenrik Tjäder
Want to try GH-pages rebuild by GHA
2021-04-08Merge #467bors[bot]
467: 0.6.0-alpha.2 release r=AfoHT a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-04-08update russian translation of the bookAndrey Zgarbul
2021-04-080.6.0-alpha.2 releaseEmil Fresk
2021-04-08Merge #466bors[bot]
466: Fix for type aliases in `mod app`, UB in `spawn_at`, and `#[cfg]` in hardware tasks r=AfoHT a=korken89 Type aliases such as the following did not work in `0.6-alpha`: ```rust use rtic::app; #[app(device = lm3s6965, dispatchers = [SSI0])] mod app { type Test = u32; #[task] fn t1(_: t1::Context, _val: Test) {} } ``` Plus that accessing associated constants of monotonic timers was not working as it should dues to the syntax and codegen transforming: ```rust #[monotonic(binds = SysTick, default = true)] type MyMono = DwtSystick<8_000_000>; // 8 MHz ``` into ```rust mod MyMono { // ... } ``` causing the original `type MyMono` to not exist anymore. This PR fixes this and adds test to check for this by doing the following expansion instead: ```rust #[monotonic(binds = SysTick, default = true)] type MyMono = DwtSystick<8_000_000>; // 8 MHz ``` into ```rust type MyMono = DwtSystick<8_000_000>; mod monotonics { mod MyMono { // ... } // And other monotonics go here as well } ``` **Breaking change** This causes a breaking change in accessing the `MyMono::now()` method which now exists under `monotonics::MyMono::now()`. --- Moreover a UB issue was found and fixed in `spawn_at` and hardware tasks properly propagate `#[cfg]`s. Closes #460 Closes #462 Closes #463 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-04-08Fixed UB in `spawn_at`Emil Fresk
2021-04-08Type aliases now work in the app moduleEmil Fresk
2021-04-07Merge #456bors[bot]
456: Cancel/reschedule support for monotonics r=AfoHT a=korken89 Design document: https://hackmd.io/lhUCzrKBS-66aadO4KsSzw?view Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-04-07Updated dwt-systick-monotonicEmil Fresk
2021-03-22Updated schedule example with all combinationsEmil Fresk
2021-03-20Cancel and reschedule workingEmil Fresk
Support cfgs in the imports Account for extern tasks
2021-03-13Added interface for cancel/rescheduleEmil Fresk
Use wrapping add for marker No need to store handle to queue Remove unnecessary `SpawnHandle::new` Fix test Updated interface to follow proposal
2021-03-13Macros versionEmil Fresk
2021-03-04Merge pull request #455 from rtic-rs/macros_versionEmil Fresk
Macros version
2021-03-04Macros versionEmil Fresk
2021-03-04Merge #454bors[bot]
454: Add periodic GHA job to run cargo audit r=korken89 a=AfoHT With the recent generic-array issue affecting heapless it seems wise to stay up to date with the latest advisories. Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-03-04Add periodic GHA job to run cargo auditHenrik Tjäder
2021-03-04Merge #436bors[bot]
436: New monotonic r=AfoHT a=korken89 Design document: https://hackmd.io/vWa9GvssR8qBfUYgMZm0CQ Closes #433 Closes #432 Closes #427 Closes #426 Closes #403 Closes #332 Closes #312 Closes #309 Closes #299 Closes #292 Closes #247 Closes #219 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2021-03-04Preparing release 0.6.0-alpha.1Emil Fresk
2021-03-03Merge pull request #450 from AfoHT/testssingleonlyEmil Fresk
Cleanup of tests, solve duplicate panic handler error
2021-03-03Fix the UI tests, remove panic_haltHenrik Tjäder
2021-03-03Update the GHA job to run the tests testHenrik Tjäder
2021-03-03Update the tests file to find the testsHenrik Tjäder
2021-03-03Remove keyword single for all testsHenrik Tjäder
2021-03-03Use panic_semihosting for all examplesHenrik Tjäder
2021-03-02Updated `spawn_after` docsEmil Fresk
2021-03-02Bump heaplessEmil Fresk
2021-02-25Documentation generation fixesEmil Fresk
Test fixes
2021-02-25Review fixesEmil Fresk
2021-02-23No need for new rtic-coreEmil Fresk
2021-02-23GHA updateEmil Fresk
Fmt fixes Spawn_after did not work with parameters Examples working again Revert "GHA update" This reverts commit e0a71d4859966a6c5cf2629d3cb27e88acada9c0. Readd flags Only add DWT based dep with __v7 flag
2021-02-23Test output fixEmil Fresk
2021-02-23Remove flags, updates UI testsEmil Fresk
2021-02-22Use zero time in init for `spawn_after` to not cause panicEmil Fresk
2021-02-22Updated to new interfaceEmil Fresk
2021-02-22Added enable/disable timer callsEmil Fresk
2021-02-22Of by 1Emil Fresk
2021-02-21Properly call `on_interrupt`Emil Fresk
2021-02-21Fixed UB in generated `Monotonic::now()`Emil Fresk
2021-02-20Test fixesEmil Fresk
2021-02-20Fixing warningsEmil Fresk
2021-02-18Now with new monotonic trait and crateEmil Fresk
2021-02-06Merge branch 'master' into new_monotonicEmil Fresk
2021-02-06Merge #445bors[bot]
445: Minor grammar correction r=korken89 a=barnabywalters you -> your Co-authored-by: Barnaby Walters <barnaby@waterpigs.co.uk>
2021-02-05Minor grammar correctionBarnaby Walters
you -> your