aboutsummaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
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-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-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-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-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
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-04Add RTC interrupt example for stm32f411 (#853)Milton Eduardo Sosa
* 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 rp2040 example (#855)Emil Fresk
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-08Fix commentFinomnis
2023-11-08Use imxrt-uart-panic crate instead of custom panic handlerFinomnis
2023-11-08Add Monotonic for i.MX RT chip familyFinomnis
2023-07-01Examples: Update depsHenrik Tjäder
Bumps proc-macro2 fixing https://github.com/rust-lang/rust/issues/113152
2023-05-25v2.0 releaseEmil Fresk
2023-05-11Don't build core and alloc & update Cargo.lockdatdenkikniet
2023-05-10Fix zero prio tasks when all async tasks have default (no) argumentsEmil Fresk
2023-04-23Prepare release of rtic-monotonics with new eha versionEmil Fresk
2023-04-19comment on how to link on macOS apple silicon machineMichael Kefeder
2023-04-17Fix exampledatdenkikniet
2023-04-16examples: pin to specific versiondatdenkikniet
2023-04-16examples: commit Cargo.lock filesdatdenkikniet
2023-04-16stm32f3_blinky: update to latest versiondatdenkikniet
2023-04-16rp2040_local_i2c_init: update to latest versiondatdenkikniet
2023-04-16Split remove old examplesdatdenkikniet
2023-03-01Add rtic-timer (timerqueue + monotonic) and rtic-monotonics (systick-monotonic)Emil Fresk
2023-03-01Fix so deny(missing_docs) workEmil Fresk
2023-03-01Async tasks can now take arguments at spawn againEmil Fresk
2023-03-01Support 0 prio tasksEmil Fresk
2023-03-01All examples pass with `cargo xtask --target all`Emil Fresk
2023-03-01Update semihostingEmil Fresk
2023-03-01Fix typosEmil Fresk
2023-03-01more examplesPer Lindgren
2023-03-01examples/multiloc fixedPer Lindgren
2023-03-01examples/lock fixedPer Lindgren
2023-03-01examples/locals fixedPer Lindgren
2023-03-01examples/idle-wfi fixedPer Lindgren
2023-03-01export Cell removed, expmples updatedPer Lindgren
2023-03-01examples/async-task fixupPer Lindgren
2023-03-01Lifetime cleanupEmil Fresk
2023-03-01Removed Priority, simplified lifetime handlingEmil Fresk
2023-03-01First example builds againEmil Fresk
2023-03-01Old xtask test passEmil Fresk
2023-02-26example: pool: Do not print the addrHenrik Tjäder
Unstable and prone to fail CI
2023-01-22Handle more cfgs, support cfg on HW/SW tasksHenrik Tjäder
2023-01-22Add example cfg-ing a Monotonic, showing limitations imposed by rtic-syntaxHenrik Tjäder