Commit graph

224 commits

Author SHA1 Message Date
dependabot[bot]
300ad99b74 chore(deps): bump actions/download-artifact from 4 to 5
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 20:04:33 +00:00
Christopher Evans
fbefb66b9e ci: Audit-check: create Cargo.lock before audit-check
Allow on demand action checks

use latest actions/checkout

---

https://github.com/rtic-rs/rtic/pull/1080 switched
to using rustsec/audit-check but didn't setup the
Cargo.lock file. This action has been failing for
three months.

https://github.com/rtic-rs/rtic/actions/workflows/audit.yaml

---

https://github.com/rustsec/audit-check/pull/39
describes how a missing Cargo.lock will be missing
in library crates.
2025-09-17 18:58:58 +00:00
Henrik Tjäder
1365471f5a CI: xtask: Time-out esp32-ci QEMU job for now 2025-09-17 20:37:07 +02:00
Henrik Tjäder
b0ae7e9e15 CI: xtask: Update ESP32QEMU to 9.2.2-20250817 2025-09-17 20:37:07 +02:00
Henrik Tjäder
a23530bf86 CI: esptool warns about deprecating esptool.py 2025-09-17 20:37:07 +02:00
Henrik Tjäder
fb8c24cd0e ci: Audit-check: Update to rustsec, ubuntu-latest 2025-06-18 18:50:36 +00:00
Henrik Tjäder
3678a404b3 ci: QEMU: Custom QEMU only for ESP32 2025-06-15 15:43:12 +00:00
Henrik Tjäder
659d35a8e7 ci: QEMU: If cache hit, do not download again 2025-06-15 15:43:12 +00:00
Henrik Tjäder
5eec5e8e23 ci: QEMU: Do not install regular QEMU, only ESP32 2025-06-15 15:43:12 +00:00
Henrik Tjäder
ca5ae8090c ci: espflash: use install-action
Tries cargo-binstall, then if that fails compiles
2025-06-15 15:43:12 +00:00
Henrik Tjäder
52d2e6e861 ci: QEMU ESP32: Update espflash to 3.3.0
Includes libudev feature to not need external dep
2025-06-15 15:43:12 +00:00
Henrik Tjäder
b59a4ccb48 ci: Use xtask test --loom for rtic-sync 2025-06-15 09:58:25 +00:00
Wouter Geraedts
0efb77300e Added CI 2025-04-07 21:11:21 +00:00
Henrik Tjäder
c3a5cf0a47 CI: QEMU: Step name to reflect action 2025-04-01 20:32:53 +00:00
Henrik Tjäder
5915e9eca0 CI: QEMU: We are not building anymore 2025-04-01 20:32:53 +00:00
Henrik Tjäder
6cc6061595 CI: Bump QEMU_VERSION and remove QEMU_URL 2025-04-01 20:32:53 +00:00
Henrik Tjäder
86a77cdffd CI: clippy-check-example: Bump ubuntu-24.04 2025-04-01 20:32:53 +00:00
Henrik Tjäder
6aafb89e99 CI: Use latest ESP32-QEMU: 9.2.2 2025-04-01 20:32:53 +00:00
Henrik Tjäder
fc40812b9a CI: Ubuntu 24.04 packages QEMU 8.2.2 2025-04-01 20:32:53 +00:00
Henrik Tjäder
2710908497 CI: Update CI runner to Ubuntu 24.04 2025-04-01 20:32:53 +00:00
Emil Fresk
fb67db97d6 Fix CI 2025-03-24 09:00:58 +00:00
datdenkikniet
9a953c9875 add CI step to run rtic-sync loom tests 2025-03-24 07:36:23 +00:00
datdenkikniet
11699b4391 rtic: placate clippy for esp32c3 2025-03-23 09:57:48 +00:00
datdenkikniet
5de3ca0aef ci: use reusable workflow 2025-03-23 09:57:48 +00:00
datdenkikniet
414d759ed9 ci: some nicer messages 2025-03-23 09:57:48 +00:00
datdenkikniet
6d2150b61c ci: riscv check examples does not need nightly toolchain 2025-03-23 09:57:48 +00:00
datdenkikniet
5aa479b23e ci: fix QEMU tests for esp32 2025-03-23 09:57:48 +00:00
datdenkikniet
cfcf21ffe4 ci: Check at least one C3 target 2025-03-23 09:57:48 +00:00
datdenkikniet
0f5ddeff8d ci: check for hifive1 is now also supported 2025-03-23 09:57:48 +00:00
datdenkikniet
347bfaae02 ci & xtask: support hifive clippy 2025-03-23 09:57:48 +00:00
datdenkikniet
cece4dfcda ci: check can use the same template 2025-03-23 09:57:48 +00:00
datdenkikniet
a177b78851 ci: clippy can use the same template 2025-03-23 09:57:48 +00:00
datdenkikniet
3bb1041755 ci: testexamples can use the same template 2025-03-23 09:57:48 +00:00
datdenkikniet
546d2bd41b ci: checkexamples can use the same template 2025-03-23 09:57:48 +00:00
Román Cárdenas Rodríguez
4542367fc9 Configure CI for new backends 2025-03-12 19:41:40 +00:00
Emil Fresk
3e65a83110 Fix CI with 1.80 2024-08-07 21:09:58 +02:00
dependabot[bot]
a3f40f2f93
Bump peaceiris/actions-gh-pages from 3 to 4 (#915)
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-16 20:34:09 +00:00
dependabot[bot]
66660ac9aa
Bump peaceiris/actions-mdbook from 1 to 2 (#916)
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-16 20:33:17 +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
Henrik Tjäder
56a3b9e5c8
CI: docs: Use xtask doc (#901)
* 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-05 05:22:11 +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
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
Emil Fresk
2798500957 Make RTIC 2 work on stable by using main's stack as an allocator 2024-02-27 12:22:18 +01:00
dependabot[bot]
7a2f605b52
Bump dorny/paths-filter from 2 to 3 (#887)
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter) from 2 to 3.
- [Release notes](https://github.com/dorny/paths-filter/releases)
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dorny/paths-filter/compare/v2...v3)

---
updated-dependencies:
- dependency-name: dorny/paths-filter
  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-01-31 19:13:17 +00:00
Henrik Tjäder
7757d17c7c
CI: Add extra step building and uploading QEMU (#883)
Uses GHA caching to make it quick for future builds
2024-01-17 20:10:23 +00:00
dependabot[bot]
fbcc364759
Bump actions/download-artifact from 3 to 4 (#867)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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-01-10 19:56:52 +00:00
dependabot[bot]
53a7bcab56
Bump actions/upload-artifact from 3 to 4 (#868)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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-01-10 19:30:27 +00:00
Finomnis
89160b7cb9
Fix nrf monotonics (#852)
* 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-06 07:49:38 +00:00
Henrik Tjäder
413955fb39 CI: Create local repo awareness of branch ref 2023-11-09 20:49:22 +00:00