aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen/hardware_tasks.rs (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-12-20remove unused import (#866)Gravatar onsdagens 1-1/+1
2023-12-06Prepare release of rtic-monotonics 1.4.1 and rtic-time 1.2.0 (#861)Gravatar Emil Fresk 3-1/+9
2023-12-06Fix race condition in `calculate_now` (#860)Gravatar Finomnis 8-15/+27
* Fix race condition in calculate_now * Add changelog * Update changelog * Refine comment * More comment fixes
2023-12-06Fix `nrf::rtc` errata workaround (#858)Gravatar Finomnis 6-18/+34
* Deprecate `should_dequeue_check` * Fix errata by delaying the wakeup point * Add changelog * Fix changelog typos
2023-12-06Fix nrf monotonics (#852)Gravatar Finomnis 18-103/+1082
* Fix nrf::timer * Bootstrap nrf52840-blinky example * More work on nrf blinky example * Fix README * Add asserts for correct timer functionality * Add correctness check to other monotonics as well * Update Changelog * Fix potential timing issues * Fix race condition in nrf::rtc * Add changelog * Add rtc blinky example * Change rtc example to RC lf clock source * Add changelog to rtic-time * Add changelog * Attempt to fix CI * Update teensy4-blinky Cargo.lock
2023-12-04Fix docs.rs features for rtic-sync (#857)Gravatar Emil Fresk 2-6/+15
2023-12-04Release rtic-monotonics, rtic-sync and rtic-time (#854)Gravatar Emil Fresk 6-8/+22
2023-12-04Update to heapless 0.8, disable pool test for now (#846)Gravatar Emil Fresk 3-2/+2
2023-12-04Add RTC interrupt example for stm32f411 (#853)Gravatar Milton Eduardo Sosa 7-0/+936
* Add RTC example for stm32f411 * Remove svd file --------- Co-authored-by: Milton Eduardo Sosa <milton.eduardo.sosa@gmail.com, milton@switch-ev.com>
2023-12-04Fix small error in readme (#856)Gravatar Emil Fresk 1-2/+2
2023-12-04Refactor race condition free timer helper (#850)Gravatar Finomnis 10-49/+350
* 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-12-04Fix rp2040 example (#855)Gravatar Emil Fresk 1-1/+1
2023-12-01Fix mono delay (#843)Gravatar Finomnis 19-140/+559
* rtic-time: Compenstate for timer uncertainty * Update changelog and incorrect cargo.lock in an example * Fix Monotonic impls * Fix tests * Fix other monotonics, again * Update changelog * Fix example * Fix DelayUs and DelayMs impls * Minor coding style fix in u64 conversions * Fix all changelogs * Fix changelog * Fix blocking DelayUs * Minor monotonic rework * Add delay precision test * Add more tests * Add rust-version tags to Cargo.toml * Fix imxrt, rp2040 and systick timer * Fix more monotonics * Fix systick monotonic * Some reverts * Fix imxrt * Fix nrf * Fix rp2040 * Fix stm32 * Fix systick * Fix rtic-time tests * Bump to e-h.rc2 * Apply e-h.rc2 fixes to rtic-time * Apply fixes from arbiter * Fix clippy warning * Minor beautification * Revert previous changes * Fix variable name * Add blocking tests, but disable them by default
2023-11-28rtic-sync Arbiter: impl more I2C trait fnsGravatar Andres Vahter 2-2/+22
For example embassy-stm32 I2C does not impl transaction yet but other fns are available. So it would be better to impl all of them here.
2023-11-28rtic-sync: add I2C Arbiter to changelogGravatar Andres Vahter 1-0/+1
2023-11-28rtic-sync: add Arbiter for I2CGravatar Andres Vahter 1-0/+89
2023-11-22rtic-sync: Add SPI bus sharing with arbiterGravatar Nils Fitinghoff 4-0/+90
2023-11-22rtic-time does not need nightlyGravatar Karsten Große 1-4/+0
2023-11-10Revert changelog since 1.3.0 isn't released yetGravatar Finomnis 1-5/+0
2023-11-10Update systick.rsGravatar Finomnis 1-2/+2
2023-11-10Add documentation for imxrt; other doc fixesGravatar Finomnis 8-11/+32
2023-11-09CI: Create local repo awareness of branch refGravatar Henrik Tjäder 1-1/+7
2023-11-08CI: rtic-monotonics: systick not always in scopeGravatar Henrik Tjäder 1-1/+1
Links are checked during compilation, and to not make it overly complex remove the link ``` error: unresolved link to `systick` --> rtic-monotonics/src/lib.rs:7:11 | 7 | //! The [`systick`] monotonic works on all cortex-M parts, and requires that the feature `cortex-m-systick` is enabled. | ^^^^^^^ no item named `systick` in scope | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` = note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(rustdoc::broken_intra_doc_links)]` error: could not document `rtic-monotonics` ```
2023-11-08Prepare rtic-monotonics v1.3.0 releaseGravatar Emil Fresk 2-1/+3
2023-11-08Fix commentGravatar Finomnis 2-2/+2
2023-11-08Use imxrt-uart-panic crate instead of custom panic handlerGravatar Finomnis 4-45/+17
2023-11-08Add Monotonic for i.MX RT chip familyGravatar Finomnis 13-1/+1251
2023-11-08Update changelogGravatar Finomnis 1-0/+1
2023-11-08Fix STM32 monotonic rollover race conditionGravatar Finomnis 1-28/+31
2023-11-01Book: timber-lang from the deadGravatar Henrik Tjäder 1-3/+5
Link to RTFM and RTIC publication search.
2023-11-01Fix CI with async_fn_in_trait not being a featureGravatar Emil Fresk 5-5/+3
2023-10-15[book] Remove non-existent anchor referenceGravatar Fabian Wolter 1-6/+0
There is no anchor named `timeout_at` in the example source file. By looking at the context, the reference doesn't look like it's supposed to be there at all.
2023-10-15Fix typoGravatar Fabian Wolter 1-1/+1
2023-10-04Book: Restore missing newlineGravatar Henrik Tjäder 1-1/+2
2023-10-03rtic-monotonics: Fix stm32-metapac useGravatar Nils Fitinghoff 4-36/+194
Previously, the stm32 monotonics only compiled for some chip families. For example, stm32g081kb worked, but not stm32f407*. The stm32-metapac does not directly unify peripheral names between the many stm32 families, but provides tools for build scripts to generate code that uses the right names for the selected chip. Use that mechanism instead of targeting a specific family.
2023-10-02Update stm32-metapac requirement from 13.0.0 to 14.0.0Gravatar dependabot[bot] 1-1/+1
Updates the requirements on [stm32-metapac](https://github.com/embassy-rs/stm32-data) to permit the latest version. - [Commits](https://github.com/embassy-rs/stm32-data/commits) --- updated-dependencies: - dependency-name: stm32-metapac dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2023-09-28remove nop from the empty idle loopGravatar onsdagens 4-4/+1
remove nop from the empty idle loop
2023-09-27export esp32c3 nopGravatar onsdagens 1-1/+1
export esp32c3 nop export esp32c3 nop
2023-09-27esp32c3 supportGravatar onsdagens 27-59/+524
2023-09-19Release rtic-monotonics v1.2.0Gravatar Emil Fresk 2-1/+3
2023-09-19rtic-monotonics: Implement blocking DelayUs from embedded-hal 1Gravatar Nils Fitinghoff 7-0/+39
2023-09-06add embedded-hal-async impl to stm32Gravatar Andres Vahter 1-0/+13
2023-09-06expose all stm32-metapac chips as featuresGravatar Andres Vahter 4-26/+1453
add more supported timers
2023-09-06PoC Monotonic impl based on stm32-metapacGravatar Andres Vahter 4-0/+264
2023-09-05Bump actions/checkout from 3 to 4Gravatar dependabot[bot] 3-15/+15
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-08-29book: Fix rtic-sync referencesGravatar Nils Fitinghoff 1-1/+1
2023-08-29book: Update default priority to 0Gravatar Nils Fitinghoff 3-4/+4
2023-08-29book: Fix broken linkGravatar Nils Fitinghoff 1-1/+1
2023-08-29Release rtic-monotonics 1.1.0, release rtic-sync 1.0.2Gravatar Emil Fresk 4-2/+8
2023-08-25rtic-monotonics: Add 64-bit SysTick monotonicGravatar Nils Fitinghoff 4-7/+36
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.