Emil Fresk
1cda61fbda
Make some linked list operations unsafe, and document their safety at usage
2023-03-01 00:35:20 +01:00
datdenkikniet
002d0b0d16
Make embedded-hal-async dependency optional for better compatibility with HALs
...
Some hals implement traits for embedded-hal version `=1.0.0.alpha.<not 9>`, which is
explicitly incompatible with the version `=1.0.0.alpha.9` which embedded-hal-async
depends on. Making the dependency optional allows downstream projects to include
rtic-monotonic without requiring that all of their other libraries also implement
that specific version of embedded-hal 1.0
2023-03-01 00:35:19 +01:00
datdenkikniet
60d5e9e1db
Fix spelling on "cortex_m_systick"
2023-03-01 00:35:19 +01:00
Emil Fresk
b566a89393
rtic-monotonics: Feature gate monotonics correctly to support multiple MCUs
2023-03-01 00:35:19 +01:00
Emil Fresk
8963e0e27a
RP2040 monotonic, rename systick monotonic to not have double name
2023-03-01 00:35:19 +01:00
Henrik Tjäder
d248dddf7b
CI: Make clippy fail on error
2023-03-01 00:35:18 +01:00
Henrik Tjäder
10a896ab9b
xtask: Propagate stdio/stderr, exitcodes
2023-03-01 00:35:18 +01:00
Henrik Tjäder
6742936e07
CI: Make it clearer in GHA UI which target for QEMU
2023-03-01 00:35:18 +01:00
Henrik Tjäder
22544c3ba1
CI: Docs use underscore, not hyphen
2023-03-01 00:35:18 +01:00
Henrik Tjäder
fb203dc4b7
CI: xtask handling example tests
2023-03-01 00:35:18 +01:00
Henrik Tjäder
a7c213e950
CI: Build docs for all crates
2023-03-01 00:35:17 +01:00
Henrik Tjäder
bedc9b55eb
CI: Cargo clippy done via xtask
2023-03-01 00:35:17 +01:00
Henrik Tjäder
84f5bca9d3
CI: Let xtask running the different targets
2023-03-01 00:35:17 +01:00
Henrik Tjäder
748ab7de95
Add rtic-arbiter to workspace
2023-03-01 00:35:17 +01:00
Henrik Tjäder
8653823258
xtask: For now test on ARM
2023-03-01 00:35:17 +01:00
Henrik Tjäder
8661ca2f4b
CI: Improve naming and styling
2023-03-01 00:35:16 +01:00
Henrik Tjäder
7bcbdf7306
xtask: Fixup, copy paste fail
2023-03-01 00:35:16 +01:00
Henrik Tjäder
dc0ff017d6
CI: Fix macros job name
2023-03-01 00:35:16 +01:00
Henrik Tjäder
79b53ce82d
CI: Use xtask for all checks
2023-03-01 00:35:16 +01:00
Henrik Tjäder
0439867baf
CI: Use xtask for running QEMU examples
2023-03-01 00:35:15 +01:00
Henrik Tjäder
806b3668e8
xtask: Major overhaul
...
Fix error printouts for examples,
Rename BuildAll -> Build
Rename Build -> ExampleBuild
Command interface changed, targets by defalt only v6 and v7
2023-03-01 00:35:15 +01:00
Henrik Tjäder
d5471f2da4
xtask: Add proper diff printing in case of incorrect results
2023-03-01 00:35:15 +01:00
Henrik Tjäder
6ed64610c9
xtask: Add thumbv8.base thumbv8.main
2023-03-01 00:35:15 +01:00
Henrik Tjäder
afba4c7b14
Improve build time with Rayon
2023-03-01 00:35:15 +01:00
Henrik Tjäder
50e1d2d129
Upgrade to clap v4, use log and env_logger
2023-03-01 00:35:14 +01:00
Henrik Tjäder
81ba62787c
xtask: Make target flag optional, default to all targets
2023-03-01 00:35:14 +01:00
Henrik Tjäder
0f7e0e9736
CI: Update to match separate rtic-macros
2023-03-01 00:35:14 +01:00
Henrik Tjäder
c6c6a9e6c8
Added thumbv8 to rust-toolchain
2023-03-01 00:35:14 +01:00
Henrik Tjäder
9fb7559a86
Add other crates to workspace
2023-03-01 00:35:13 +01:00
Henrik Tjäder
9e445b3583
Move rtic macros to repo root, tune xtask
2023-03-01 00:35:13 +01:00
Henrik Tjäder
4124fbdd61
xtask: Allow filtering examples
2023-03-01 00:35:13 +01:00
Henrik Tjäder
f7651911d7
xtask: Clippy, optionally get cargo size output
2023-03-01 00:35:13 +01:00
Henrik Tjäder
858160a55d
rtic-monotonics: Simplify features, default is 1kHz
...
Make 100 Hz or 10 kHz opt in through features,
which are meant for testing primarily.
2023-03-01 00:35:13 +01:00
Henrik Tjäder
ace010f4e9
Book: Touchup README and preface
2023-03-01 00:35:12 +01:00
Henrik Tjäder
5fadc07042
Update book/en/src/by-example/app.md
2023-03-01 00:35:12 +01:00
Per Lindgren
0f513e1e20
book/example polish
2023-03-01 00:35:12 +01:00
Per Lindgren
a8d890db3d
examples polished
2023-03-01 00:35:12 +01:00
Emil Fresk
2493860078
Fix missing crate docs in examples
2023-03-01 00:35:12 +01:00
Per Lindgren
e57155a7c2
deny missing docs
2023-03-01 00:35:11 +01:00
Emil Fresk
b6fdb9060b
Simplify Systick Monotonic by integrating the TQ
2023-03-01 00:35:11 +01:00
Emil Fresk
82f2f08349
Make xtask pass, clean up rtic Cargo.toml
2023-03-01 00:35:11 +01:00
Henrik Tjäder
0f5178a48f
RTIC: Examples cargo fmt
2023-03-01 00:35:11 +01:00
Henrik Tjäder
4e639e1f68
CI: Fix CI, missed space
2023-03-01 00:35:10 +01:00
Henrik Tjäder
519ebf1519
Book: Update authors
2023-03-01 00:35:10 +01:00
Henrik Tjäder
c2d2b1ba38
Add authors to each Cargo.toml
...
Copy-paste the default one used for the project
2023-03-01 00:35:10 +01:00
Henrik Tjäder
fe77b4538d
Add alpha.0 and required Cargo fields
2023-03-01 00:35:10 +01:00
Henrik Tjäder
19c87ea79d
Fix cargo README paths, disable publish for xtask
...
Do not publish xtask crate under any circumstance
2023-03-01 00:35:10 +01:00
perlindgren
fc6343b65c
Apply suggestions from code review
...
Thanks for all suggestions, awesome!
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-03-01 00:35:09 +01:00
Per Lindgren
aa6baafa56
book remove ramfunc, remove migration
2023-03-01 00:35:09 +01:00
Per Lindgren
89632f9b22
book polish
2023-03-01 00:35:04 +01:00