Commit graph

1501 commits

Author SHA1 Message Date
Henrik Tjäder
3e8a36ae2a CI: Use xtask for format checking 2023-03-01 00:35:22 +01:00
Henrik Tjäder
18c843b550 xtask: Add format and format-check 2023-03-01 00:35:22 +01:00
Henrik Tjäder
0fac174936 CI: Use backend instead of target 2023-03-01 00:35:22 +01:00
Henrik Tjäder
3087304298 Book: Reintroduce WIP internals targets 2023-03-01 00:35:22 +01:00
Henrik Tjäder
aa30d1d251 xtask: Default backend needs no argument
Propagate features for check and build
2023-03-01 00:35:21 +01:00
Emil Fresk
1c26eb722f Add template for bindings 2023-03-01 00:35:21 +01:00
Henrik Tjäder
d82f577724 Book: Fix links, proofread targets and starting_a_project 2023-03-01 00:35:21 +01:00
Emil Fresk
4442c46926 Update backend features to be more clear 2023-03-01 00:35:21 +01:00
Emil Fresk
9552790dcc Fix xtask to work with backends 2023-03-01 00:35:20 +01:00
Emil Fresk
e8cebff69e Added support for adding codegen to intrrupt entry and exit (needed for RISC-V) 2023-03-01 00:35:20 +01:00
Emil Fresk
b9e0f36aff Add feature flags 2023-03-01 00:35:20 +01:00
Emil Fresk
60f0342b69 Break out core specific codegen to bindings 2023-03-01 00:35:20 +01:00
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