aboutsummaryrefslogtreecommitdiff
path: root/embassy-cortex-m/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove embassy-cortex-m crate, move stuff to embassy-hal-common.Dario Nieuwenhuis2023-06-093-1080/+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
|
* 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.
* 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
|
* 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-291-4/+4
|
* 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
|
* 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
|
* Run rustfmt.Dario Nieuwenhuis2022-06-123-11/+9
|
* Add embassy-cortex-m crate.Dario Nieuwenhuis2022-06-125-0/+1194
- 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`.