aboutsummaryrefslogtreecommitdiff
path: root/rtic-monotonics/CHANGELOG.md
AgeCommit message (Collapse)Author
2025-11-08Support external SYST clock sourceHEADmainIan McIntyre
Give users the option to configure SYST with an external clock source. By default, the clock source is the core, which keeps us backwards compatible. `_start` has a new input, but since users don't call that function directly, it doesn't seem like a problem to break that public API.
2025-06-30panic if STM32 clock prescaler value overflowsAnton Lazarev
2025-06-22Release all cratesEmil Fresk
2025-04-07Added CHANGELOG entryWouter Geraedts
2025-03-26Update esp32c3 to 0.28.0Ronald Weber
2025-02-09Update esp32-c3 and esp-hal crates (#1019)Ronald Weber
* Bump esp32-c3 to 0.27.0 * Update esp-hal to 0.23.1 * Add Changelog entry
2024-11-27bump esp32c3 (#997)MikeGstefan
* bump esp32-c3 * update changelog and example * rtic-monotonics: update esp32c3 to v0.26 --------- Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-10-24Release rtic-monotonics 2.0.3Emil Fresk
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-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-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-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-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-02Make rtic-monotonic macros create a public typeEmil Fresk
2024-05-29Cleanup CHANGELOGs for monotonics/time v2 release (#945)Emil Fresk
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-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-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-01-10Upgrade everything to embedded-hal v1.0.0 (#880)Emil Fresk
2024-01-10update to embedded-hal 1 (#879)Andres Vahter
* update to eh1 * changelogs about embedded-hal 1.0
2023-12-06Prepare release of rtic-monotonics 1.4.1 and rtic-time 1.2.0 (#861)Emil Fresk
2023-12-06Fix race condition in `calculate_now` (#860)Finomnis
* Fix race condition in calculate_now * Add changelog * Update changelog * Refine comment * More comment fixes
2023-12-06Fix `nrf::rtc` errata workaround (#858)Finomnis
* Deprecate `should_dequeue_check` * Fix errata by delaying the wakeup point * Add changelog * Fix changelog typos
2023-12-06Fix nrf monotonics (#852)Finomnis
* 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-04Release rtic-monotonics, rtic-sync and rtic-time (#854)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-12-01Fix mono delay (#843)Finomnis
* 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-10Revert changelog since 1.3.0 isn't released yetFinomnis
2023-11-10Add documentation for imxrt; other doc fixesFinomnis
2023-11-08Prepare rtic-monotonics v1.3.0 releaseEmil Fresk
2023-11-08Add Monotonic for i.MX RT chip familyFinomnis
2023-11-08Update changelogFinomnis
2023-10-03rtic-monotonics: Fix stm32-metapac useNils Fitinghoff
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-09-19Release rtic-monotonics v1.2.0Emil Fresk
2023-09-19rtic-monotonics: Implement blocking DelayUs from embedded-hal 1Nils Fitinghoff
2023-09-06PoC Monotonic impl based on stm32-metapacAndres Vahter
2023-08-29Release rtic-monotonics 1.1.0, release rtic-sync 1.0.2Emil 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-08-20Bump embedded-hal-async in rtic-monotonicsEmil Fresk
2023-08-08Support RP2040 PAC v0.5 in `rtic-monotonics`Emil Fresk
2023-07-01Changelog: Monotonics: Add dateHenrik Tjäder
2023-04-02Added nRF monotonicsEmil Fresk
2023-03-15doc(monotonic): added update description to changelogYandrik
2023-03-11Merge #702bors[bot]
702: Monotonics interrupt token r=AfoHT a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-03-11rtic-monotonics: Add interrupt tokens to make sure users bind interruptsEmil Fresk
2023-03-11rtic-monotonics: Unmask the RP2040 timerEmil Fresk
2023-03-01rtic-monotonics: Simplify features, default is 1kHzHenrik Tjäder
Make 100 Hz or 10 kHz opt in through features, which are meant for testing primarily.