aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2022-06-18 02:15:48 +0200
committerGitHub <[email protected]>2022-06-18 02:15:48 +0200
commit88e36a70bdddaa3ac2ddccd1dcd299b321f8c86c (patch)
treeda94576d2dc07d8c97f59b6e32aa2f165289be83 /examples
parentb585d547124b9a1e70b0933c11228c065684997d (diff)
Update to 2021 edition. (#820)
Diffstat (limited to 'examples')
-rw-r--r--examples/boot/nrf/Cargo.toml2
-rw-r--r--examples/boot/stm32l0/Cargo.toml2
-rw-r--r--examples/boot/stm32l1/Cargo.toml2
-rw-r--r--examples/boot/stm32l4/Cargo.toml2
-rw-r--r--examples/boot/stm32wl/Cargo.toml2
-rw-r--r--examples/std/Cargo.toml2
-rw-r--r--examples/stm32f0/Cargo.toml3
-rw-r--r--examples/stm32f1/Cargo.toml3
-rw-r--r--examples/stm32f2/Cargo.toml3
-rw-r--r--examples/stm32f3/Cargo.toml3
-rw-r--r--examples/stm32f4/Cargo.toml3
-rw-r--r--examples/stm32f7/Cargo.toml3
-rw-r--r--examples/stm32g0/Cargo.toml3
-rw-r--r--examples/stm32g4/Cargo.toml3
-rw-r--r--examples/stm32h7/Cargo.toml3
-rw-r--r--examples/stm32l0/Cargo.toml3
-rw-r--r--examples/stm32l1/Cargo.toml3
-rw-r--r--examples/stm32l4/Cargo.toml3
-rw-r--r--examples/stm32l5/Cargo.toml3
-rw-r--r--examples/stm32u5/Cargo.toml3
-rw-r--r--examples/stm32wb/Cargo.toml3
-rw-r--r--examples/stm32wl/Cargo.toml3
-rw-r--r--examples/wasm/Cargo.toml2
23 files changed, 23 insertions, 39 deletions
diff --git a/examples/boot/nrf/Cargo.toml b/examples/boot/nrf/Cargo.toml
index 42bc35430..f1d44bad8 100644
--- a/examples/boot/nrf/Cargo.toml
+++ b/examples/boot/nrf/Cargo.toml
@@ -1,6 +1,6 @@
1[package] 1[package]
2authors = ["Ulf Lilleengen <[email protected]>"] 2authors = ["Ulf Lilleengen <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-boot-nrf-examples" 4name = "embassy-boot-nrf-examples"
5version = "0.1.0" 5version = "0.1.0"
6 6
diff --git a/examples/boot/stm32l0/Cargo.toml b/examples/boot/stm32l0/Cargo.toml
index b6fe9ee65..bbfe692a7 100644
--- a/examples/boot/stm32l0/Cargo.toml
+++ b/examples/boot/stm32l0/Cargo.toml
@@ -1,6 +1,6 @@
1[package] 1[package]
2authors = ["Ulf Lilleengen <[email protected]>"] 2authors = ["Ulf Lilleengen <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-boot-stm32l0-examples" 4name = "embassy-boot-stm32l0-examples"
5version = "0.1.0" 5version = "0.1.0"
6 6
diff --git a/examples/boot/stm32l1/Cargo.toml b/examples/boot/stm32l1/Cargo.toml
index d3c66323e..56cfb6f02 100644
--- a/examples/boot/stm32l1/Cargo.toml
+++ b/examples/boot/stm32l1/Cargo.toml
@@ -1,6 +1,6 @@
1[package] 1[package]
2authors = ["Ulf Lilleengen <[email protected]>"] 2authors = ["Ulf Lilleengen <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-boot-stm32l1-examples" 4name = "embassy-boot-stm32l1-examples"
5version = "0.1.0" 5version = "0.1.0"
6 6
diff --git a/examples/boot/stm32l4/Cargo.toml b/examples/boot/stm32l4/Cargo.toml
index 234ea9b5c..ddb6b151a 100644
--- a/examples/boot/stm32l4/Cargo.toml
+++ b/examples/boot/stm32l4/Cargo.toml
@@ -1,6 +1,6 @@
1[package] 1[package]
2authors = ["Ulf Lilleengen <[email protected]>"] 2authors = ["Ulf Lilleengen <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-boot-stm32l4-examples" 4name = "embassy-boot-stm32l4-examples"
5version = "0.1.0" 5version = "0.1.0"
6 6
diff --git a/examples/boot/stm32wl/Cargo.toml b/examples/boot/stm32wl/Cargo.toml
index b6062b6a6..08136c8e1 100644
--- a/examples/boot/stm32wl/Cargo.toml
+++ b/examples/boot/stm32wl/Cargo.toml
@@ -1,6 +1,6 @@
1[package] 1[package]
2authors = ["Ulf Lilleengen <[email protected]>"] 2authors = ["Ulf Lilleengen <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-boot-stm32wl-examples" 4name = "embassy-boot-stm32wl-examples"
5version = "0.1.0" 5version = "0.1.0"
6 6
diff --git a/examples/std/Cargo.toml b/examples/std/Cargo.toml
index 7e1c2e4bb..06f0f357e 100644
--- a/examples/std/Cargo.toml
+++ b/examples/std/Cargo.toml
@@ -1,6 +1,6 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-std-examples" 4name = "embassy-std-examples"
5version = "0.1.0" 5version = "0.1.0"
6 6
diff --git a/examples/stm32f0/Cargo.toml b/examples/stm32f0/Cargo.toml
index 53358db9a..8e0dad865 100644
--- a/examples/stm32f0/Cargo.toml
+++ b/examples/stm32f0/Cargo.toml
@@ -2,8 +2,7 @@
2name = "embassy-stm32f0-examples" 2name = "embassy-stm32f0-examples"
3version = "0.1.0" 3version = "0.1.0"
4authors = ["Thales Fragoso <[email protected]>"] 4authors = ["Thales Fragoso <[email protected]>"]
5edition = "2018" 5edition = "2021"
6resolver = "2"
7 6
8# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 7# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
9 8
diff --git a/examples/stm32f1/Cargo.toml b/examples/stm32f1/Cargo.toml
index 8de736d6b..503114bfb 100644
--- a/examples/stm32f1/Cargo.toml
+++ b/examples/stm32f1/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32f1-examples" 4name = "embassy-stm32f1-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[dependencies] 7[dependencies]
9embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } 8embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] }
diff --git a/examples/stm32f2/Cargo.toml b/examples/stm32f2/Cargo.toml
index 8310aa3a1..12bcb7200 100644
--- a/examples/stm32f2/Cargo.toml
+++ b/examples/stm32f2/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32f2-examples" 4name = "embassy-stm32f2-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[dependencies] 7[dependencies]
9embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } 8embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] }
diff --git a/examples/stm32f3/Cargo.toml b/examples/stm32f3/Cargo.toml
index 15128ecc9..f30a5e969 100644
--- a/examples/stm32f3/Cargo.toml
+++ b/examples/stm32f3/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32f3-examples" 4name = "embassy-stm32f3-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[dependencies] 7[dependencies]
9embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } 8embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] }
diff --git a/examples/stm32f4/Cargo.toml b/examples/stm32f4/Cargo.toml
index 7260ba0d2..f755c1d8c 100644
--- a/examples/stm32f4/Cargo.toml
+++ b/examples/stm32f4/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32f4-examples" 4name = "embassy-stm32f4-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8 7
9[dependencies] 8[dependencies]
diff --git a/examples/stm32f7/Cargo.toml b/examples/stm32f7/Cargo.toml
index 54d6ed3e3..a51f2e6f4 100644
--- a/examples/stm32f7/Cargo.toml
+++ b/examples/stm32f7/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32f7-examples" 4name = "embassy-stm32f7-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[dependencies] 7[dependencies]
9embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } 8embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] }
diff --git a/examples/stm32g0/Cargo.toml b/examples/stm32g0/Cargo.toml
index 4b17aa286..1a7f3adcb 100644
--- a/examples/stm32g0/Cargo.toml
+++ b/examples/stm32g0/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>", "Ben Gamari <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>", "Ben Gamari <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32g0-examples" 4name = "embassy-stm32g0-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[dependencies] 7[dependencies]
9embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } 8embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] }
diff --git a/examples/stm32g4/Cargo.toml b/examples/stm32g4/Cargo.toml
index 0f86c6a38..274825491 100644
--- a/examples/stm32g4/Cargo.toml
+++ b/examples/stm32g4/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>", "Ben Gamari <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>", "Ben Gamari <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32g4-examples" 4name = "embassy-stm32g4-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[dependencies] 7[dependencies]
9embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } 8embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] }
diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml
index 8026e11bf..64cc77e71 100644
--- a/examples/stm32h7/Cargo.toml
+++ b/examples/stm32h7/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32h7-examples" 4name = "embassy-stm32h7-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[dependencies] 7[dependencies]
9embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "time-tick-32768hz"] } 8embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "time-tick-32768hz"] }
diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml
index e8e4fbe52..2c1a475b4 100644
--- a/examples/stm32l0/Cargo.toml
+++ b/examples/stm32l0/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>", "Ulf Lilleengen <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>", "Ulf Lilleengen <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32l0-examples" 4name = "embassy-stm32l0-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[features] 7[features]
9default = ["nightly"] 8default = ["nightly"]
diff --git a/examples/stm32l1/Cargo.toml b/examples/stm32l1/Cargo.toml
index 80e6f3906..63516b920 100644
--- a/examples/stm32l1/Cargo.toml
+++ b/examples/stm32l1/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>", "Ulf Lilleengen <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>", "Ulf Lilleengen <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32l1-examples" 4name = "embassy-stm32l1-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[dependencies] 7[dependencies]
9embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } 8embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] }
diff --git a/examples/stm32l4/Cargo.toml b/examples/stm32l4/Cargo.toml
index fdf0db9c0..950ba7e4d 100644
--- a/examples/stm32l4/Cargo.toml
+++ b/examples/stm32l4/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32l4-examples" 4name = "embassy-stm32l4-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[features] 7[features]
9 8
diff --git a/examples/stm32l5/Cargo.toml b/examples/stm32l5/Cargo.toml
index 7f60e26da..b6d3848d8 100644
--- a/examples/stm32l5/Cargo.toml
+++ b/examples/stm32l5/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32l5-examples" 4name = "embassy-stm32l5-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[features] 7[features]
9 8
diff --git a/examples/stm32u5/Cargo.toml b/examples/stm32u5/Cargo.toml
index 1e3119806..1d752fd3f 100644
--- a/examples/stm32u5/Cargo.toml
+++ b/examples/stm32u5/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32u5-examples" 4name = "embassy-stm32u5-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[dependencies] 7[dependencies]
9embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } 8embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] }
diff --git a/examples/stm32wb/Cargo.toml b/examples/stm32wb/Cargo.toml
index 1e23182f8..3e096a64d 100644
--- a/examples/stm32wb/Cargo.toml
+++ b/examples/stm32wb/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32wb-examples" 4name = "embassy-stm32wb-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[dependencies] 7[dependencies]
9embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } 8embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] }
diff --git a/examples/stm32wl/Cargo.toml b/examples/stm32wl/Cargo.toml
index b635cb178..68f5f137d 100644
--- a/examples/stm32wl/Cargo.toml
+++ b/examples/stm32wl/Cargo.toml
@@ -1,9 +1,8 @@
1[package] 1[package]
2authors = ["Dario Nieuwenhuis <[email protected]>", "Ulf Lilleengen <[email protected]>"] 2authors = ["Dario Nieuwenhuis <[email protected]>", "Ulf Lilleengen <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-stm32wl-examples" 4name = "embassy-stm32wl-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2"
7 6
8[dependencies] 7[dependencies]
9embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] } 8embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime", "time-tick-32768hz"] }
diff --git a/examples/wasm/Cargo.toml b/examples/wasm/Cargo.toml
index 6750f6a6c..7d19c9fe9 100644
--- a/examples/wasm/Cargo.toml
+++ b/examples/wasm/Cargo.toml
@@ -1,6 +1,6 @@
1[package] 1[package]
2authors = ["Ulf Lilleengen <[email protected]>"] 2authors = ["Ulf Lilleengen <[email protected]>"]
3edition = "2018" 3edition = "2021"
4name = "embassy-wasm-example" 4name = "embassy-wasm-example"
5version = "0.1.0" 5version = "0.1.0"
6 6