aboutsummaryrefslogtreecommitdiff
path: root/xtask
AgeCommit message (Collapse)Author
2025-06-15xtask: rename variable cargologlevel to cargoargHenrik Tjäder
2025-06-15xtask: Cargo clippy lintsHenrik Tjäder
2025-06-15xtask: run: Use common BuildModeHenrik Tjäder
2025-06-15xtask: Add AllCi functionality: Run all xtaskHenrik Tjäder
2025-06-15xtask: AllCi --failearly optionHenrik Tjäder
2025-06-15xtask: Arg is not only used for cargo sizeHenrik Tjäder
2025-06-15xtask: cargo_format: grab check_only from structHenrik Tjäder
2025-06-15xtask: Add defaults for PackageOpt and FormatOptHenrik Tjäder
2025-06-15xtask: Add ci/AllCi commandHenrik Tjäder
2025-06-15xtask: Move info prints into runHenrik Tjäder
2025-04-07Added esp32c6 support and exampleWouter Geraedts
2025-03-23ci: Check at least one C3 targetdatdenkikniet
2025-03-23ci & xtask: support hifive clippydatdenkikniet
2025-03-12Configure CI for new backendsRomán Cárdenas Rodríguez
2025-03-12Prepare for new riscv ecosystemRomán Cárdenas Rodríguez
2025-01-24ATSAMD RTC monotonic referral in documentation (#1014)Dan Whitman
* rtic-monotonics: Adds a section to the module documentation about ATSAMD chip monotonics provided in the `atsamd-hal` crate * rtic-monotonics: Adds a section to README listing the supported microcontroller platforms. * rtic-sync: Fix clippy complaints error: the following explicit lifetimes could be elided: 'a --> rtic-sync/src/signal.rs:113:6 | 113 | impl<'a, T: Copy> SignalReader<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-D clippy::needless-lifetimes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]` help: elide the lifetimes | 113 - impl<'a, T: Copy> SignalReader<'a, T> { 113 + impl<T: Copy> SignalReader<'_, T> { * xtask: Clippy fix warning warning: elided lifetime has a name --> xtask/src/cargo_command.rs:427:14 | 420 | fn build_args<'i, T: Iterator<Item = &'i str>>( | -- lifetime `'i` declared here ... 427 | ) -> Vec<&str> { | ^ this elided lifetime gets resolved as `'i` | = note: `#[warn(elided_named_lifetimes)]` on by default --------- Co-authored-by: Dan Whitman <daniel.whitman.2@us.af.mil> Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-06-23Update `embedded-hal-bus` to 0.2 and fix `portable-atomic` featuresEmil Fresk
2024-06-23Breaking change: portable-atomic (#922)Henrik Tjäder
* Atomics: Replace polyfill with portable-atomic * Update Cargo.lock for examples * RTIC: portable-atomic: Update changelog * rtic-monotonics: portable-atomic: Update changelog * lm3s6965: enable critical-section when testing * xtask: Enable portable-atomic/critical-section When dealing with rtic-monotonics * rtic-monotonics: portable-atomics: Do not disable the ability to fallback --------- Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2024-06-23Update diffy requirement from 0.3.0 to 0.4.0 (#950)dependabot[bot]
Updates the requirements on [diffy](https://github.com/bmwill/diffy) to permit the latest version. - [Changelog](https://github.com/bmwill/diffy/blob/master/CHANGELOG.md) - [Commits](https://github.com/bmwill/diffy/commits) --- updated-dependencies: - dependency-name: diffy dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-23xtasks: handle platform flagged as unusedHenrik Tjäder
2024-05-27add support for nrf52805 (#941)Foo
2024-04-10Monotonic rewrite (#874)Finomnis
* Rework timer_queue and monotonic architecture Goals: * make Monotonic purely internal * make Monotonic purely tick passed, no fugit involved * create a wrapper struct in the user's code via a macro that then converts the "now" from the tick based monotonic to a fugit based timestamp We need to proxy the delay functions of the timer queue anyway, so we could simply perform the conversion in those proxy functions. * Update cargo.lock * Update readme of rtic-time * CI: ESP32: Redact esp_image: Too volatile * Fixup: Changelog double entry rebase mistake --------- Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-04-04Adjust esp32c3 codegen, bump pac to 0.21.0 (#906)onsdagens
* adjust esp32c3 codegen, bump pac to 0.21.0 * add esp32c3 example * adjust workflow flags * CI: Fix esp32c3 comment * esp32c3: Remove commented out git-dep * CI: Actually check the ESP32-C3 examples * Autoformat rtic/cargo.toml --------- Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-03-20RISC-V support over CLINT (#815)Román Cárdenas Rodríguez
* Rebase to master * using interrupt_mod * bug fixes * fix other backends * Add changelog * forgot about rtic-macros * backend-specific configuration * core peripherals optional over macro argument * pre_init_preprocessing binding * CI for RISC-V (WIP) * separation of concerns * add targets for RISC-V examples * remove qemu feature * prepare examples folder * move examples all together * move ci out of examples * minor changes * add cortex-m * new xtask: proof of concept * fix build.yml * feature typo * clean rtic examples * reproduce weird issue * remove unsafe code in user app * update dependencies * allow builds on riscv32imc * let's fix QEMU * Update .github/workflows/build.yml Co-authored-by: Henrik Tjäder <henrik@tjaders.com> * New build.rs * removing test features * adapt ui test to new version of clippy * add more examples to RISC-V backend * proper configuration of heapless for riscv32imc * opt-out examples for riscv32imc * point to new version of riscv-slic * adapt new macro bindings * adapt examples and CI to stable * fix cortex-m CI * Review --------- Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-02-27Make RTIC 2 work on stable by using `main`'s stack as an allocatorEmil Fresk
2024-02-23rtic-sync: Remove unstable flag, and add defmt derives (#889)Emil Fresk
2023-12-04Refactor race condition free timer helper (#850)Finomnis
* Implement half_period_counter in rtic-time * Rename compute_now to calculate_now, use it in stm32 and imxrt * Add more tests * Add some docs * Fix clippy warning, add imxrt timer to monotonics tests * Bump dependency version to make sure monotonics will build properly * Add changelog to rtic-monotonics * Add more docs * Add more docs * Finish documentation * Fix typos * Switch from atomic-polyfill to portable-atomic * Some more doc fixes * More doc fixes * Minor doc fix * Minor doc fix * Fix Atomics not existing * Fix example * Minor example improvement * Revert back to atomic-polyfill * Fix cargo.toml formatting * Remove atomic-polyfill * Attempt to fix unused macro warning * Remove atomics completely from half period counter * Minor doc fix * Doc fixes * Doc fixes * Remove obsolete comment * Fix ordering in monotonic initialization sequence
2023-11-22rtic-sync: Add SPI bus sharing with arbiterNils Fitinghoff
2023-11-01Fix CI with async_fn_in_trait not being a featureEmil Fresk
2023-08-25rtic-monotonics: Add 64-bit SysTick monotonicNils Fitinghoff
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.
2023-05-22Update pretty_env_logger requirement from 0.4.0 to 0.5.0dependabot[bot]
Updates the requirements on [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger) to permit the latest version. - [Commits](https://github.com/seanmonstar/pretty-env-logger/compare/v0.4.0...v0.5.0) --- updated-dependencies: - dependency-name: pretty_env_logger dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2023-04-23Check rtic-monotonics with eh-async enableddatdenkikniet
2023-04-16Also allow denying for QEMU, and fix the link-arg problem caused bydatdenkikniet
overriding RUSTFLAGS
2023-04-16Tests should always deny warningsdatdenkikniet
2023-04-16Actually chain thesedatdenkikniet
2023-04-16Also print extra env variables as cmd_strdatdenkikniet
2023-04-16Rename + better printoutdatdenkikniet
2023-04-16Also always deny warnings for docdatdenkikniet
2023-04-16Deny on warnings in xtasksdatdenkikniet
2023-04-16Unconditionally deny warnings for clippydatdenkikniet
2023-04-16FIx printing for Run and Qemudatdenkikniet
2023-04-16Also separate all results and datadatdenkikniet
2023-04-16Move run into a subdirectory and split `iter` stuff into a moduledatdenkikniet
2023-04-16Move all run-related stuff into `run`datdenkikniet
2023-04-16Rename cargo_commands -> rundatdenkikniet
Rename command -> cargo_command
2023-04-16Redo command building so that we don't repeat as much, and todatdenkikniet
make it easier to add new ones
2023-04-16CargoCommand can take any packagedatdenkikniet
2023-04-16Use chdir() instead of unstable option, also confirm whenver a command ↵datdenkikniet
succeeds because why not
2023-04-16Improve locality of error messages & ExampleBuild + Qemu commands, anddatdenkikniet
indicate failure earlier
2023-04-16Fix running of testsdatdenkikniet