Links are checked during compilation, and to not
make it overly complex remove the link
```
error: unresolved link to `systick`
--> rtic-monotonics/src/lib.rs:7:11
|
7 | //! The [`systick`] monotonic works on all cortex-M parts, and requires that the feature `cortex-m-systick` is enabled.
| ^^^^^^^ no item named `systick` in scope
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
= note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(rustdoc::broken_intra_doc_links)]`
error: could not document `rtic-monotonics`
```
There is no anchor named `timeout_at` in the example source file. By looking at the context, the reference doesn't look like it's supposed to be there at all.
Previously, the stm32 monotonics only compiled for some chip families. For
example, stm32g081kb worked, but not stm32f407*.
The stm32-metapac does not directly unify peripheral names between the
many stm32 families, but provides tools for build scripts to generate
code that uses the right names for the selected chip. Use that mechanism
instead of targeting a specific family.
Counting at 1 kHz, 32 bits for counting ticks is not enough to ensure
monotonicity for more than 50 days. Add a feature to change the backing
storage to 64 bits.
Before, `make_channel` assumed that `critical_section` would be
available in the namespace of the code that invoked the macro. Access
`critical_section` through `rtic-sync` instead.
767: allow #[init] and #[idle] to be externed r=korken89 a=wiktorwieclaw
I updated `rtic-macros` to a allow init and idle to be externally defined.
## Design notes
* Updated `extern_binds` example to include external #[init] and #[idle] functions.
* Added docs to Local and Shared structs. The `extern_binds` example has a `#![deny(missing_docs)]` which caused some issues.
## Testing
Apart from building the example, I also used this feature in one of my projects and ran it on a MCU [here](98ca7bd42e/crates/cansat-stm32f4/src/main.rs (L59-L74))
## Related issues
* https://github.com/rtic-rs/rtic/issues/505
## Related PRs
* https://github.com/rtic-rs/rtic-syntax/pull/71
Co-authored-by: Vixu <lonevixu@gmail.com>