aboutsummaryrefslogtreecommitdiff
path: root/rtic-macros
AgeCommit message (Collapse)Author
2024-10-16Update support/example for ESP32-C3 to use latest versions of dependencies ↵Jesse Braham
(#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-09-29Replace proc-macro-error with proc-macro-error2 (#979)Sympatron GmbH
2024-08-07Fix codegen emitting unqualified `Result` (#967)Emil Fresk
2024-06-23rtic-macros: handle backend flagged as unusedHenrik Tjäder
2024-05-28Improve error output for prios > dispatchers (#943)Henri Lunnikivi
* Improve error output for prios > dispatchers * Update changelog
2024-05-27Fix clippy lintsEmil Fresk
2024-05-08rtic-macros: Template: Include Span (#935)Henrik Tjäder
2024-04-10Clean up esp32c3 files with rustfmt (#913)Adam Hott
* Fix incorrect end bracket, moved to after pub fn extra_modules * Clean up - rtic-macros/src/codegen/bindings/esp32c3.rs
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-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-27Make RTIC 2 work on stable by using `main`'s stack as an allocatorEmil Fresk
2024-01-16Update syn requirement from 1.0.107 to 2.0.48 (#881)dependabot[bot]
* Update syn requirement from 1.0.107 to 2.0.48 Updates the requirements on [syn](https://github.com/dtolnay/syn) to permit the latest version. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.107...2.0.48) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * rtic-macros: attr.path -> attr.path() * rtic-macros: tokens -> parse_args() Fix parsing of InitArgs, IdleArgs, *Args Including HardwareTaskArgs, SoftwareTaskArgs * rtic-macros: Rename content to input As syn2 removes the surrounding parenthesis as part of parse_args() the distinction between input and content is redundant * rtic-macros: Handle removal of Expr::Type Manually parse local_resources With type ascription de-RFCd syn2 dropped Expr::Type * rtic-macros: Syn upgrade CHANGELOG * rtic-macro: Retain most old errors as they were Spans are not equal, but good enough * rtic-macros: syn2 changed some error messages Additionally some spans were not retained with the manual parsing workaround * rtic-macros: clippy fixes --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2023-11-01Fix CI with async_fn_in_trait not being a featureEmil Fresk
2023-09-28remove nop from the empty idle looponsdagens
remove nop from the empty idle loop
2023-09-27esp32c3 supportonsdagens
2023-07-25Fixed new TAIT requirement and release v2.0.1 of RTICEmil Fresk
2023-07-01Changelog: Macros: Add v2Henrik Tjäder
2023-07-01Add changelog for rtic-macrosHenrik Tjäder
2023-06-30Update indexmap requirement from 1.9.2 to 2.0.0dependabot[bot]
Updates the requirements on [indexmap](https://github.com/bluss/indexmap) to permit the latest version. - [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md) - [Commits](https://github.com/bluss/indexmap/compare/1.9.2...2.0.0) --- updated-dependencies: - dependency-name: indexmap dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-30CI: Remove travis, once and for allHenrik Tjäder
2023-06-08allow init and idle to be externedVixu
2023-05-25v2.0 releaseEmil Fresk
2023-05-10Fix zero prio tasks when all async tasks have default (no) argumentsEmil Fresk
2023-04-16Merge #736bors[bot]
736: More `xtasks` and add examples to `rtic` repo r=korken89 a=datdenkikniet This was in #732 before, but decluttering that PR seemed sensible Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2023-04-16Deny on warnings in xtasksdatdenkikniet
2023-04-15Remove unuseddatdenkikniet
2023-04-15rtic-macros: wrap everything in macro_rules! to improve the error experience anddatdenkikniet
royally **** up the DX experience (for lib.rs in rtic-macros, at least :P)
2023-04-12remove vis restriction for local and shared resourcesAndrew Gazelka
2023-04-05Less keywordsEmil Fresk
2023-04-05Fix macros README pathEmil Fresk
2023-03-29Merge branch 'master' into masterRomán Cárdenas
2023-03-29Merge #719bors[bot]
719: Adding a limit that async HALs can read and have as max prio r=AfoHT a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2023-03-29Adding a limit that async HALs can read and have as max prioEmil Fresk
2023-03-20explicit rtic::export::pend on macrosRomán Cárdenas
2023-03-19Start async tasks at lowest priorityEmil Fresk
2023-03-04rtic-macros: clippy fixesHenrik Tjäder
2023-03-04rtic-macros: clippy fixesHenrik Tjäder
2023-03-01Add template for bindingsEmil Fresk
2023-03-01Update backend features to be more clearEmil Fresk
2023-03-01Added support for adding codegen to intrrupt entry and exit (needed for RISC-V)Emil Fresk
2023-03-01Add feature flagsEmil Fresk
2023-03-01Break out core specific codegen to bindingsEmil Fresk
2023-03-01Move rtic macros to repo root, tune xtaskHenrik Tjäder