diff options
| author | Ulf Lilleengen <[email protected]> | 2022-02-23 09:48:32 +0100 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2022-02-23 09:48:32 +0100 |
| commit | 092eef3ae7f90e33564f09fa6a887e8fc9ed88b8 (patch) | |
| tree | 547db6b7241e749f1cad0285c12124d26de37639 /docs/modules/ROOT/examples/layer-by-layer/Cargo.toml | |
| parent | 4c6e61b3b1a82212510695b0d202bc8612b16b6c (diff) | |
Add documentation about the different embassy abstraction layers
The guide demonstrates the functionality offered by each
layer in Embassy, using code examples.
Diffstat (limited to 'docs/modules/ROOT/examples/layer-by-layer/Cargo.toml')
| -rw-r--r-- | docs/modules/ROOT/examples/layer-by-layer/Cargo.toml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/modules/ROOT/examples/layer-by-layer/Cargo.toml b/docs/modules/ROOT/examples/layer-by-layer/Cargo.toml new file mode 100644 index 000000000..2dca3cc8d --- /dev/null +++ b/docs/modules/ROOT/examples/layer-by-layer/Cargo.toml | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | [workspace] | ||
| 2 | resolver = "2" | ||
| 3 | members = [ | ||
| 4 | "blinky-pac", | ||
| 5 | "blinky-hal", | ||
| 6 | "blinky-irq", | ||
| 7 | "blinky-async", | ||
| 8 | ] | ||
| 9 | |||
| 10 | [patch.crates-io] | ||
| 11 | embassy = { path = "../../../../../embassy" } | ||
| 12 | embassy-stm32 = { path = "../../../../../embassy-stm32" } | ||
| 13 | stm32-metapac = { path = "../../../../../stm32-metapac" } | ||
| 14 | |||
| 15 | [profile.release] | ||
| 16 | codegen-units = 1 | ||
| 17 | debug = 2 | ||
| 18 | debug-assertions = false | ||
| 19 | incremental = false | ||
| 20 | lto = "fat" | ||
| 21 | opt-level = 's' | ||
| 22 | overflow-checks = false | ||
