aboutsummaryrefslogtreecommitdiff
path: root/embassy-cortex-m
Commit message (Collapse)AuthorAgeFilesLines
* Remove embassy-cortex-m crate, move stuff to embassy-hal-common.Dario Nieuwenhuis2023-06-095-1154/+0
|
* fmt: remove unused defmt::timestamp!Dario Nieuwenhuis2023-06-091-3/+0
|
* Add `rt` feature to HALs, cfg out interrupt handling when not set.Dario Nieuwenhuis2023-06-081-1/+2
|
* Make interrupt module more standard.Dario Nieuwenhuis2023-06-081-63/+150
| | | | | | | | | | | | - Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`. - Reexport the PAC interrupt enum in `embassy_xx::interrupt`. This has a few advantages: - The `embassy_xx::interrupt` module is now more "standard". - It works with `cortex-m` functions for manipulating interrupts, for example. - It works with RTIC. - the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs. - When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`.
* cortex-m: remove owned interrupts.Dario Nieuwenhuis2023-06-011-127/+33
|
* cortex-m: remove PeripheralMutex.Dario Nieuwenhuis2023-06-012-145/+0
|
* Move doc building to new CI.Dario Nieuwenhuis2023-05-311-2/+0
|
* Bump versions preparing for -macros and -executor releaseUlf Lilleengen2023-04-271-2/+2
|
* Release embassy-sync v0.2.0Dario Nieuwenhuis2023-04-131-1/+1
|
* executor: add Pender, rework Cargo features.Dario Nieuwenhuis2023-04-032-117/+1
| | | | | | | | | This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and custom callback executors. This avoids calls through function pointers when using only the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`. `embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable the builtin executors (thread and interrupt).
* nrf: add new interrupt binding traits and macro.Dario Nieuwenhuis2023-03-061-0/+30
|
* cortex-m: rename Handler to DynHandler.Dario Nieuwenhuis2023-03-061-3/+3
| | | | I want to use the name Handler for the new interrupt binding macro.
* cortex-m/executor: don't use the owned interrupts system.Dario Nieuwenhuis2023-02-281-36/+63
| | | | Preparation for #1224.
* all Cargo.toml: Add license to all crate Cargo.toml fileschrysn2022-10-071-0/+1
| | | | Closes: https://github.com/embassy-rs/embassy/issues/1002
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-221-1/+1
|
* Remove Forever, switch to static_cell.Dario Nieuwenhuis2022-08-221-1/+1
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-181-3/+3
|
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-171-1/+2
|
* Update to critical-section 1.0, atomic-polyfill 1.0Dario Nieuwenhuis2022-08-171-3/+3
|
* macros/interrupt_take: do not assume embassy-executor is a dependency of the ↵Dario Nieuwenhuis2022-08-171-0/+6
| | | | user crate.
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-292-5/+6
|
* Rename Unborrowed -> PeripheralRef, Unborrow -> PeripheralDario Nieuwenhuis2022-07-232-6/+6
|
* Update embassy-stm32Dario Nieuwenhuis2022-07-231-10/+11
|
* embassy-cortex-m: docsDario Nieuwenhuis2022-07-192-0/+10
|
* docs: Add $COMMIT to git srclinks.Dario Nieuwenhuis2022-06-261-2/+2
|
* cortex-m: document Interrupt changes depending on Cargo features.Dario Nieuwenhuis2022-06-261-0/+18
|
* cortex-m: reexport all items from embassy::executor.Dario Nieuwenhuis2022-06-251-2/+1
|
* Add more API docs for embassy-cortex-m and embassy-nrfUlf Lilleengen2022-06-234-3/+69
|
* Remove the authors field from Cargo.tomlsDario Nieuwenhuis2022-06-181-1/+0
| | | | | | | | | | | It currently contains whoever was first to write some code for the crate, even if many more people have contributed to it later. The field is "sort of" deprecated, it was made optional recently: https://rust-lang.github.io/rfcs/3052-optional-authors-field.html Due the the reasons listed there I believe removing it is better than setting it to generic fluff like "The Embassy contributors".
* Update to 2021 edition. (#820)Dario Nieuwenhuis2022-06-181-2/+1
|
* Run rustfmt.Dario Nieuwenhuis2022-06-123-11/+9
|
* Add embassy-cortex-m crate.Dario Nieuwenhuis2022-06-127-0/+1270
- Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`. - Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore) - Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`.