Commit graph

234 commits

Author SHA1 Message Date
Oleksandr Babak
511e2247d0 chore: replace deprecated bare-metal with critical-section 2025-11-12 18:43:44 +00:00
dependabot[bot]
64690fe57f chore(deps): bump tracing-subscriber in /examples/lm3s6965
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.19 to 0.3.20.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.19...tracing-subscriber-0.3.20)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-version: 0.3.20
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 19:25:54 +00:00
Paul Bender
e8c260a745 Update esp32c{3,6} support to esp-hal-1.0.0-rc.0. 2025-09-17 18:57:09 +00:00
Henrik Tjäder
a23530bf86 CI: esptool warns about deprecating esptool.py 2025-09-17 20:37:07 +02:00
Henrik Tjäder
c94dfcdd86 ci: Generate and store example filesizes 2025-07-02 18:34:20 +00:00
Henrik Tjäder
e592a3aa12 esp32c6: Update examples Cargo.lock 2025-06-18 20:29:27 +00:00
Henrik Tjäder
9ea90889cc esp32c6: Update to v0.20.0 2025-06-18 20:29:27 +00:00
Henrik Tjäder
cfed2924ce lm3s6965: Cargo.lock update 2025-06-18 19:54:34 +00:00
Henrik Tjäder
e2b54e90ea esp32c3: example: Update Cargo.lock 2025-06-18 19:54:34 +00:00
Henrik Tjäder
42cc1b1a5d esp32c3: Examples: Update to v0.29.0 2025-06-18 19:54:34 +00:00
Henrik Tjäder
8fa0fbb9ae ci: QEMU: Match more precisely with "our" QEMU 2025-06-18 19:14:52 +00:00
Henrik Tjäder
c3f77bc674 ci: QEMU esp32c3: There is no kill like overkill 2025-06-18 19:14:52 +00:00
Henrik Tjäder
13da3410df ci: QEMU esp32c3: Output into unique tmp dir 2025-06-18 19:14:52 +00:00
Henrik Tjäder
2e6227e275 ci: esp32c3: runner: Store QEMU pid
Ensure that qemu fully exited before proceeding
2025-06-18 19:14:52 +00:00
Oleksandr Babak
6a68e8e54d feat: example of wait-queue 2025-06-15 09:03:30 +00:00
Henrik Tjäder
20d31ede5a ci: Updated lm3s6965 Cargo.lock 2025-06-15 08:11:11 +00:00
Eli Hastings
f145203b54 Remove references to nightly Rust from ESP examples 2025-04-07 21:11:21 +00:00
Eli Hastings
c6fbbaaae8 Update esp32c6 example dependencies 2025-04-07 21:11:21 +00:00
Eli Hastings
90f475316f Bump ESP versions 2025-04-07 21:11:21 +00:00
Eli Hastings
ef09e4b65f Port ESP32-C3 changes to ESP32-C6 branch 2025-04-07 21:11:21 +00:00
Wouter Geraedts
b97bc79126 Added esp32c6 support and example 2025-04-07 21:11:21 +00:00
Henrik Tjäder
84c68ae3a6 CI: ESP32: Ignore qemuoutput.log files 2025-04-01 20:32:53 +00:00
Henrik Tjäder
4f04962e42 CI: ESP32-C3: Tweak runner script not print version 2025-04-01 20:32:53 +00:00
Christian Krenslehner
c63669488a fix(doc): fix typo in file names to match with docs 2025-04-01 20:32:14 +00:00
Ronald Weber
7fd35e0152 examples/esp32c3: Update esp-hal to 1.0.0-beta.0 2025-03-27 20:51:38 +00:00
Oleksandr Babak
8127208eb5 feat: add example for divergent tasks 2025-03-27 14:47:11 +00:00
Ronald Weber
9a36db8026 Update esp32c3 to 0.28.0 2025-03-26 22:04:29 +00:00
Román Cárdenas Rodríguez
6b021de4a0 Add mecall backend 2025-03-12 19:41:40 +00:00
Román Cárdenas Rodríguez
183e73904a Prepare for new riscv ecosystem 2025-03-12 19:41:40 +00:00
Ronald Weber
b18c1e2b6b Fix "the the" in comment 2025-02-19 19:14:04 +00:00
Ronald Weber
587f183842
Update esp32-c3 and esp-hal crates (#1019)
* Bump esp32-c3 to 0.27.0

* Update esp-hal to 0.23.1

* Add Changelog entry
2025-02-09 20:51:19 +00:00
rnld wbr
6f6a56387c
Add blinky example for STM32F1 bluepill board (#1007)
Code taken from stm32f3_blinky example with LED port adapted to bluepill
board.
Port initialization and README from v1 rtic-examples with slight edits.
2025-01-15 19:11:27 +00:00
MikeGstefan
ed026cc4a3
bump esp32c3 (#997)
* bump esp32-c3

* update changelog and example

* rtic-monotonics: update esp32c3 to v0.26

---------

Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-11-27 18:59:55 +00:00
Jesse Braham
1f6b6a42e5
Update support/example for ESP32-C3 to use latest versions of dependencies (#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-16 19:29:51 +00:00
Milton Eduardo Sosa
87a8b74908
Add example to poll encoder and display value on I2C display (#963)
Co-authored-by: Milton Eduardo Sosa <milton@Miltons-MacBook-Pro.local>
2024-10-02 18:46:42 +00:00
onsdagens
805ea267a8
Add SYSTIMER based ESP32-C3 monotonic (#972)
* add esp32c3 monotonic

* fix tests
2024-09-29 04:21:14 +00:00
Emil Fresk
3e65a83110 Fix CI with 1.80 2024-08-07 21:09:58 +02:00
Finomnis
5cafe9dd0b
Fix STM32 Monotonic for peripherals with only two Clock Compare modules (#960)
* 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-07-05 16:19:51 +00:00
Milton Eduardo Sosa
624f643a97
Add example for STM32F411 with HW & SW tasks communicating via MPSC channel (#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-26 17:35:48 +00:00
Milton Eduardo Sosa
35891f4559
Add ADC example for STM32F411 (#952)
* 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-26 17:35:43 +00:00
Emil Fresk
861a63dbe3 Update embedded-hal-bus to 0.2 and fix portable-atomic features 2024-06-23 09:20:32 +02:00
Henrik Tjäder
918f9c3f13
Breaking change: portable-atomic (#922)
* 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-23 06:45:49 +00:00
broke
ed7ed50c25
updated esp32c3 dependency to version 0.22.0 (#937)
* 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-22 17:38:20 +00:00
Martins Polakovs
5d05d607ee
Bump rp2040-pac to 0.6 in rtic-monotonics (#905)
* Support rp2040-pac v0.6 in rtic-monotonics

* Add changelog entry

* Fix rp2040_local_i2c_init example
2024-04-21 10:46:29 +00:00
Román Cárdenas Rodríguez
acb9f44642
Use riscv-slic form crates.io (#919)
* use riscv-slic form crates.io

* address comments
2024-04-17 09:12:16 +00:00
Finomnis
8c23e178f3
Monotonic rewrite (#874)
* 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-10 22:00:38 +00:00
Henrik Tjäder
e4cc5fd17b
CI: Add ESP32-C3 QEMU support (#914)
* 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-10 18:35:14 +00:00
onsdagens
906278e310
Adjust esp32c3 codegen, bump pac to 0.21.0 (#906)
* 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-04 09:35:41 +00:00
Franz Dietrich
53ed7bf7ed
fix included examples and markdown(book) (#912)
* 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-04-03 22:01:46 +00:00
Román Cárdenas Rodríguez
4060c3def8
RISC-V support over CLINT (#815)
* 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-20 20:06:47 +00:00