Commit graph

212 commits

Author SHA1 Message Date
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
Finomnis
2fd3b3c404 Add Monotonic for i.MX RT chip family 2023-11-08 19:43:09 +00:00
dependabot[bot]
0c46b7ea0e Bump actions/checkout from 3 to 4
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-09-05 20:11:02 +00:00
Henrik Tjäder
508d607c21 CI: Update changelog to match repo 2023-07-01 04:00:30 +00:00
Henrik Tjäder
5c4e4365e4 CI: Changelog also required for GHMQ 2023-06-30 04:37:59 +00:00
Henrik Tjäder
28614a088e CI: Remove Bors 2023-06-30 04:37:59 +00:00
Henrik Tjäder
3ce4ef26fa CI: Cleanup 2023-06-07 18:15:32 +02:00
Henrik Tjäder
13610e4c7b CI: Fix refspec for git push 2023-06-05 23:21:14 +02:00
Henrik Tjäder
aee7c78a3c ci: Fix versionmajor typo 2023-05-31 22:41:42 +02:00
Henrik Tjäder
371f625322 ci: Move env to job context 2023-05-31 22:15:39 +02:00
Henrik Tjäder
aa7d7fd052 ci: Use job outputs 2023-05-31 21:53:36 +02:00
Henrik Tjäder
392795ebe0 CI: Make it clearer why a branch push was omitted 2023-05-31 21:22:58 +02:00
Henrik Tjäder
f56112b688 CI: Cargo doc for both pre and post v2 2023-05-31 21:22:34 +02:00