Henrik Tjäder
7eaf732c4c
Provide Mutex relative to prelude to fix doc linking issues coming from rtic-core
2022-02-20 11:57:31 +01:00
Henrik Tjäder
2c14c9bce3
rtic::mutex::prelude::* fixes glob import lint
...
rtic-core Mutex, Exclusive and multi-lock retained in
old location to not be backwards breaking
2022-02-18 18:42:19 +01:00
Per Lindgren
28cf223bfd
Docfix: MSRV and Semantic Versioning
2021-12-25 18:15:41 +01:00
Per Lindgren
53306b1a7b
Docfix: remove pre-release note
2021-12-25 17:59:19 +01:00
bors[bot]
bc883e393d
Merge #565 #566
...
565: Edition: Bump to 2021 r=korken89 a=AfoHT
566: v1.0.0 r=korken89 a=AfoHT
This should fail building until all deps are released and accessible on crates.io
(There are some required PRs for edition2021 for each repo, alternatively just bringing in the v1.0 PR should have commits included, we can drop the extra PRs later on)
https://github.com/rtic-rs/rtic-monotonic/pull/6
https://github.com/rtic-rs/rtic-core/pull/22
https://github.com/rtic-rs/rtic-syntax/pull/68
Co-authored-by: Henrik Tjäder <henrik@grepit.se>
2021-12-25 15:05:26 +00:00
Henrik Tjäder
c297b4ee8d
Clippy lints
2021-12-25 13:17:16 +01:00
Henrik Tjäder
93ceb6bdef
Edition: Bump to 2021
2021-12-25 13:10:10 +01:00
Henrik Tjäder
3741d431be
Remove #[deny(warnings)], but deny warnings for CI
2021-11-25 10:46:29 +01:00
Henrik Tjäder
2e5c6f8e36
Docs: add RTIC logo
2021-11-25 10:06:58 +01:00
Emil Fresk
0dcb0c4e49
New monotonic trait working
2021-11-09 10:20:43 +01:00
Per Lindgren
1e2ab78a3f
added doc for RacyCell
2021-11-02 19:47:14 +01:00
Emil Fresk
8065d741ac
Fixed aliasing issue due to RacyCell implementation
2021-11-02 13:41:12 +01:00
Emil Fresk
bc3eb5c547
Remove linked list impl - use heapless, linked list init now const fn
2021-08-16 15:38:31 +02:00
Emil Fresk
6aa0fb450f
Goodbye static mut
2021-04-08 19:58:20 +02:00
Emil Fresk
3adda3c766
Updated schedule example with all combinations
2021-03-22 08:24:18 +01:00
Emil Fresk
53c407017f
Cancel and reschedule working
...
Support cfgs in the imports
Account for extern tasks
2021-03-20 08:19:56 +01:00
Emil Fresk
767d46e05b
Review fixes
2021-02-25 17:32:12 +01:00
Emil Fresk
ebf2f058a4
Now with new monotonic trait and crate
2021-02-18 19:30:59 +01:00
Emil Fresk
b57ef0bf9d
Merge branch 'master' into new_monotonic
2021-02-06 21:34:16 +01:00
Nicolas Stalder
aa90cb1484
Bump cortex-m to 0.7.0
2021-01-04 16:07:17 +01:00
Emil Fresk
35b4ec0d04
Reexport embedded-time as rtic::time
2020-12-13 00:06:50 +01:00
Emil Fresk
8e8ec9b7b8
Monotonic codegen now passing compile stage
2020-12-12 23:24:54 +01:00
Emil Fresk
97a48983d2
More work
2020-12-10 20:33:13 +01:00
Emil Fresk
ef50aeb2e8
Save, init generation fixed
2020-12-03 21:04:06 +01:00
Emil Fresk
3b4c10e790
Removed monotonic trait, moved to rtic-core
2020-12-03 18:25:54 +01:00
Emil Fresk
400df08ac7
Removed cortex-m-rt
2020-11-26 17:51:25 +01:00
Emil Fresk
d079949139
Add multilock to the book
2020-11-14 16:13:00 +01:00
Emil Fresk
243668df54
Multilock support
2020-11-14 16:02:36 +01:00
Henrik Tjäder
d06cf91acc
Remove stale code, fix comment styling
2020-09-01 17:48:53 +00:00
Henrik Tjäder
76cf14c520
Brutally yank out multicore
2020-09-01 14:50:06 +00:00
Henrik Tjäder
602a5b4374
Rename RTFM to RTIC
2020-06-11 17:18:29 +00:00
Emil Fresk
eb6406da7e
Fmt
2020-06-11 19:00:52 +02:00
Jorge Aparicio
303e964a10
touch src/lib.rs
2020-05-26 22:16:31 +02:00
Emil Fresk
2441b7e389
Minor docs update to monotonic
2019-11-13 21:19:59 +01:00
Jorge Aparicio
eef4e7bf79
more monotonic timer docs
...
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-15 18:44:49 -05:00
Emil Fresk
686cc9b995
One more place updated
2019-09-15 22:00:52 +02:00
Jorge Aparicio
996bdf8f0c
doc tweaks
2019-08-21 12:33:04 +02:00
Jorge Aparicio
45f9faae9c
document #[app]
2019-08-21 12:19:38 +02:00
Jorge Aparicio
a87cb2486f
change Monotonic::ratio return type to Fraction
2019-07-11 13:28:25 +02:00
Jorge Aparicio
596cf585ea
Monotonic trait is safe; add MultiCore trait
2019-06-24 14:09:12 +02:00
Jorge Aparicio
9897728709
add homogeneous multi-core support
2019-06-18 10:31:31 +02:00
Jorge Aparicio
81275bfa4f
rtfm-syntax refactor + heterogeneous multi-core support
2019-06-13 23:56:59 +02:00
Jorge Aparicio
fafc94ccfb
removes the maybe_uninit feature gate
...
and stop newtyping `core::mem::MaybeUninit`
2019-05-21 14:18:43 +02:00
Jorge Aparicio
a452700628
implement RFCs 147 and 155, etc.
...
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-05-01 20:49:25 +02:00
bors[bot]
6b61cd2e3f
Merge #153
...
153: add "nightly" feature; replace hint::unreachable_unchecked with a panic r=korken89 a=japaric
this implements the action plan described in #149
to give you a sense of the overhead of this change: it has increased the binary
size of some of our examples by up to 10% but this is mainly from pulling in a
panic handler that does formatting
r? @korken89
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-02-23 19:37:29 +00:00
Jorge Aparicio
3973b420ec
add Duration.as_cycles
2019-02-19 17:14:34 +01:00
Jorge Aparicio
16821c8315
document the nightly feature
2019-02-19 13:13:16 +01:00
Jorge Aparicio
88078e7770
add "nightly" feature
2019-02-19 12:37:25 +01:00
Jorge Aparicio
1ba03b9f00
document MSRV and SemVer policy
2019-02-12 11:08:39 +01:00
Jorge Aparicio
0007a35a27
change layout of books
2019-02-11 21:40:53 +01:00