aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-10-23[monotonics] Fix STM32 read-modify-write race condition (#984)Finomnis
* Fix stm32 read-modify-write problem The `SR` register for STM32 clears when writing a zero to a bit. Therefore, all registers that should not be cleared need to be `1`. `modify` here caused a read-modify-write error that could clear unrelated flags. * Add changelog * Make initialization more deterministic * Update changelog * Beautification in comments --------- Co-authored-by: Martin Stumpf <martin.stumpf@vected.de>
2024-10-23rtic-monotonics: Improve docs on interrupt priorityEmil Fresk
2024-10-23Signal ergo minor fixes (#986)Sebastian Kuzminsky
* rtic_sync::signal: fix some docs typos * impl Debug for Signal, SignalReader, and SignalWriter This facilitates e.g. `my_task::spawn(my_signal_reader).unwrap();`
2024-10-23Update riscv requirement from 0.11.0 to 0.12.1 (#982)dependabot[bot]
--- updated-dependencies: - dependency-name: riscv 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-10-16Update support/example for ESP32-C3 to use latest versions of dependencies ↵Jesse Braham
(#975) * Update `rtic` package to use latest version of `esp32c3` dependency * Update `rtic-macros` ESP32-C3 bindings to reflect changes in HAL * Update the ESP32-C3 examples to use latest versions of all dependencies * Update changelogs * adjust expected qemu output, add compile-time checks * remove runtime checks, this is checked at compile time * fix expected qemu output * Clean up interrupt enable code a bit * Update `rtic-monotonic` to use the latest PAC for ESP32-C3 * Update `CHANGELOG.md` for `rtic-monotonic` * ci: esp32c3: Format runner.sh * ci: esp32c3: Default to silent boot export DEBUGGING while running to get verbose boot env DEBUGGING=1 cargo xtask ... * ci: esp32c3: Update expected example output --------- Co-authored-by: onsdagens <pawdzi-7@student.ltu.se> Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-10-16Book: Fix link to systick-monotonic (#981)Henrik Tjäder
Fixes #980
2024-10-02Add example to poll encoder and display value on I2C display (#963)Milton Eduardo Sosa
Co-authored-by: Milton Eduardo Sosa <milton@Miltons-MacBook-Pro.local>
2024-09-29Add SYSTIMER based ESP32-C3 monotonic (#972)onsdagens
* add esp32c3 monotonic * fix tests
2024-09-29Feature/rp235x (#970)Michael Zill
* Add support for RP235x (Raspberry Pico 2) The xtask build system has not been updated therefor the components need to be build through Cargo * Remove unnecessary thumbv8mainhf-backend definition * Remove unnecessary thumbv8m.main-none-eabihf target * Update CHANGELOG * Remove default feature rp235x from rtic-monotonics * Remove features from rp235x-pac dependency in rtic-monotonics for rp235x
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>