Commit graph

182 commits

Author SHA1 Message Date
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
datdenkikniet
963c8e340b Do the book trick 2023-05-28 10:03:57 +02:00
datdenkikniet
2db26c1015 Deny on warnings in xtasks 2023-04-16 13:08:46 +02:00
datdenkikniet
eac593e300 Check usage examples in CI 2023-04-16 13:08:46 +02:00
datdenkikniet
51284efd0e Add more default members 2023-04-15 15:24:41 +02:00
datdenkikniet
c6f4b834c1 Fix fmt 2023-04-15 14:43:40 +02:00
bors[bot]
3a0e2ac924
Merge #706
706: ci/tuneverboselevel r=korken89 a=AfoHT

- xtask: Change default loglevel
- xtask: Fix cargo fmt logmsg
- ci: xtask default verbosity


Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-03-15 19:48:33 +00:00
Henrik Tjäder
0b88c26f3f ci: xtask default verbosity 2023-03-15 20:43:51 +01:00
Henrik Tjäder
8d8cd1dc86 ci: Run xtask format-check verbosely 2023-03-15 19:27:57 +01:00
Henrik Tjäder
e7c6bfe208 ci: mdbookold needs mergetostablebranch 2023-03-04 21:14:01 +01:00
Henrik Tjäder
771639c3f6 ci: Clearer merge branch job name 2023-03-04 21:12:44 +01:00
Henrik Tjäder
d9bf04ae15 ci: mdbookold needs mdbook 2023-03-04 20:48:33 +01:00
Henrik Tjäder
775f2d08d3 ci: oldbooks simplify 2023-03-04 20:43:29 +01:00
Henrik Tjäder
6ff9763a44 ci: Redirect file at the root 2023-03-04 00:58:54 +01:00
Henrik Tjäder
1084b5a3ba ci: local variables goes out of scope 2023-03-04 00:54:53 +01:00
Henrik Tjäder
8e562c77c3 ci: mkbookold: Make sure paths exists for the books 2023-03-04 00:52:24 +01:00
Henrik Tjäder
f6c73f77d9 ci: Do not need a copy, move is faster 2023-03-04 00:45:08 +01:00
Henrik Tjäder
78bdc2940f ci: Building older books can't use new features 2023-03-04 00:38:37 +01:00
Henrik Tjäder
1f0bc841e3 ci: Remove reference to rtic_channel 2023-03-04 00:34:00 +01:00
Henrik Tjäder
c47d3ffd0e ci: Use ci-success 2023-03-04 00:24:45 +01:00
Henrik Tjäder
eeae3c4568 ci: Always parse version, cleanup deps 2023-03-04 00:23:13 +01:00
Henrik Tjäder
bf35fa3f15 ci: Split out the actual GHA publish job 2023-03-04 00:15:32 +01:00
Henrik Tjäder
38a48e5d5c ci: Overhaul docs and deploy 2023-03-04 00:10:08 +01:00
Henrik Tjäder
f03aede2f5 Fixes for repo rename to rtic 2023-03-02 22:38:25 +01:00