diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-06-11 05:08:57 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-06-12 21:45:38 +0200 |
| commit | 5085100df2845745f13715669c18a785a374a879 (patch) | |
| tree | d24d264b23753d628e58fa3b92da77a78e28ce35 /embassy-cortex-m/src/lib.rs | |
| parent | db344c2bda55bd0352a43720788185cc4d3a420e (diff) | |
Add embassy-cortex-m crate.
- 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`.
Diffstat (limited to 'embassy-cortex-m/src/lib.rs')
| -rw-r--r-- | embassy-cortex-m/src/lib.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/embassy-cortex-m/src/lib.rs b/embassy-cortex-m/src/lib.rs new file mode 100644 index 000000000..143c56f39 --- /dev/null +++ b/embassy-cortex-m/src/lib.rs | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | #![no_std] | ||
| 2 | |||
| 3 | // This mod MUST go first, so that the others see its macros. | ||
| 4 | pub(crate) mod fmt; | ||
| 5 | |||
| 6 | pub mod executor; | ||
| 7 | pub mod interrupt; | ||
| 8 | pub mod peripheral; | ||
