aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-29Replace proc-macro-error with proc-macro-error2 (#979)Sympatron GmbH
2024-09-18Fix for system_monotonic macro with 1 argument (#978)Robin Mueller
2024-09-18update docs (#977)Robin Mueller
Add notice for systems without native CAS operations
2024-08-28docs: migration softare->software (#969)Henrik Tjäder
2024-08-21Change `timeout`/`delay` functions to non-async (#910)dalegaard
Because of a compiler bug, the `async` implementations of `delay`/`delay_until`/`timeout`/`timeout_at` produce much larger RAM footprint than they should. Fixes #890. Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2024-08-07Fix codegen emitting unqualified `Result` (#967)Emil Fresk
2024-08-07Fix CI with 1.80Emil Fresk
2024-07-06Release rtic-monotonics v2.0.2Emil Fresk
2024-07-05Fix STM32 Monotonic for peripherals with only two Clock Compare modules (#960)Finomnis
* Update dependencies of stm32g0 timer example * Replace obsolete probe-run with probe-rs run * Modify stm32 monotonic to work with timers that have only 2 compare modules * Add changelog * Fix typo
2024-06-26Add example for STM32F411 with HW & SW tasks communicating via MPSC channel ↵Milton Eduardo Sosa
(#953) * Add example with HW & SW tasks communicating via MPSC channel * example: f411-adc-mpcsc: nit: typos * example: f411-adc-mpsc: prefer text over picture --------- Co-authored-by: Milton Eduardo Sosa <milton@Miltons-MacBook-Pro.local> Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-06-26Add ADC example for STM32F411 (#952)Milton Eduardo Sosa
* Add ADC example for STM32F411 * Update dependencies * Update RTIC version * example: f411-adc: prefer text over picture * example: f411-adc: nit: typo --------- Co-authored-by: Milton Eduardo Sosa <milton@Miltons-MacBook-Pro.local> 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-23Fix `Default` for `rtic_sync::signal`Emil Fresk
2024-06-23rtic-sync: clippy::new-without-default lintHenrik Tjäder
2024-06-23xtasks: handle platform flagged as unusedHenrik Tjäder
2024-06-23rtic-macros: handle backend flagged as unusedHenrik Tjäder
2024-06-19Add Signal to rtic-sync (#934)AdinAck
* add signal to rtic-sync * woops update changelog * remove example, too comlicated for a doc TODO: add example to rtic-examples repo * fix @korken89's issues * ...remove fence * fix clippy warnings * add tests
2024-06-02Make rtic-monotonic macros create a public typeEmil Fresk
2024-05-29Cleanup CHANGELOGs for monotonics/time v2 release (#945)Emil Fresk
2024-05-28Improve error output for prios > dispatchers (#943)Henri Lunnikivi
* Improve error output for prios > dispatchers * Update changelog
2024-05-27add support for nrf52805 (#941)Foo
2024-05-27Fix clippy lintsEmil Fresk
2024-05-22Update cassette requirement from 0.2 to 0.3 (#920)dependabot[bot]
Updates the requirements on [cassette](https://github.com/jamesmunns/cassette) to permit the latest version. - [Release notes](https://github.com/jamesmunns/cassette/releases) - [Commits](https://github.com/jamesmunns/cassette/compare/v0.2.1...v0.3.0) --- updated-dependencies: - dependency-name: cassette 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-05-22updated esp32c3 dependency to version 0.22.0 (#937)broke
* Update Cargo.toml esp32c3 dependency * fixed esp32c3 example to build with esp32c3=0.22.0 dependency * added CHANGELOG.md entry for esp32c3 version update
2024-05-08rtic-macros: Template: Include Span (#935)Henrik Tjäder
2024-05-08Fix another clippy::assign_op_pattern warning (#933)Hiroaki Yutani
2024-05-03Fix clippy::assign_op_pattern lint (#932)Hiroaki Yutani
2024-05-01Make debug asserts into asserts to help find the issue (#931)Emil Fresk
2024-05-01fix: typos (#930)Cyril Marpaud
2024-04-21Bump rp2040-pac to 0.6 in rtic-monotonics (#905)Martins Polakovs
* Support rp2040-pac v0.6 in rtic-monotonics * Add changelog entry * Fix rp2040_local_i2c_init example
2024-04-17Use riscv-slic form crates.io (#919)Román Cárdenas Rodríguez
* use riscv-slic form crates.io * address comments
2024-04-16Bump peaceiris/actions-gh-pages from 3 to 4 (#915)dependabot[bot]
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16Bump peaceiris/actions-mdbook from 1 to 2 (#916)dependabot[bot]
Bumps [peaceiris/actions-mdbook](https://github.com/peaceiris/actions-mdbook) from 1 to 2. - [Release notes](https://github.com/peaceiris/actions-mdbook/releases) - [Changelog](https://github.com/peaceiris/actions-mdbook/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-mdbook/compare/v1...v2) --- updated-dependencies: - dependency-name: peaceiris/actions-mdbook dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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-10CI: Add ESP32-C3 QEMU support (#914)Henrik Tjäder
* CI: ESP32-C3: QEMU support * CI: ESP32C3: Script for preparing and running * CI: gitignore qemu.log * ESP32-C3: Example sw_and_hw output
2024-04-10Clean up esp32c3 files with rustfmt (#913)Adam Hott
* Fix incorrect end bracket, moved to after pub fn extra_modules * Clean up - rtic-macros/src/codegen/bindings/esp32c3.rs
2024-04-05CI: docs: Use xtask doc (#901)Henrik Tjäder
* CI: docs: Use xtask doc * CI: docs: Keep cargo-config Deleting it was relevant when it defined which target to build for etc.
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-04-03fix included examples and markdown(book) (#912)Franz Dietrich
* fix included examples and markdown(book) fixes: #911 * fix footnote pre_init * more example link updates * Restore pool example name * Example: pool: Upgrade to heapless v0.8 * Example: pool: thumbv6 unsupported: wild cfg-if Experiment with multi-backend example contained in the example * Example: lm3s6965: Updated cargo.lock * Book: Use cargo xtask for by-example * Docs: Contributing: cargo xtask --------- Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-03-24Docs: Rename `DelayUs` to `DelayNs` in docs for macros. (#908)Gram
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-03-13rtic-sync: Fix xtask doc, non-compiling example (#900)Henrik Tjäder
2024-03-13Fix thumbv6 source masking (#902)Emil Fresk
We unconditionally enabled interrupts on exit of locks, now we only enable interrupts that were disabled by the mask.
2024-02-27Release rtic v2.1.0, rtic-macros v2.1.0Emil Fresk
2024-02-27Add example of using Embassy HAL(stm32) with RTIC. (#891)cschuhen
The RTIC book mentions Embassy+RTIC but gives no examples. fmt. Add feature flag Seems CI does not deal with 2 levels of depth. Forgot to stage. Thumb m arch. Co-authored-by: Corey Schuhen <cschuhen@gmail.com>
2024-02-27Make RTIC 2 work on stable by using `main`'s stack as an allocatorEmil Fresk
2024-02-27Fix thumbv7 soundness issue in the lock implementationEmil Fresk
The old lock implementation did not set basepri to max(current ceiling, resource ceiling), it simply set basepri to the resource ceiling.
2024-02-23rtic-sync: Remove unstable flag, and add defmt derives (#889)Emil Fresk