summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorF_Punk <fabiopungg@gmail.com>2021-08-05 19:00:02 +0200
committerGitHub <noreply@github.com>2021-08-05 19:00:02 +0200
commit29211a57b49b7c7b80a54ccd35336adff001f6b2 (patch)
treefbd9f731f01ee5e5f0a72986f2b0c7dcc41e8260 /examples
parenteef35f64eb2a01c832355e057ceb8fcb5b1feb28 (diff)
downloadnrf-softdevice-29211a57b49b7c7b80a54ccd35336adff001f6b2.zip
update embassy and toolchain (#76)
* update toolchain to nightly-08-03 update embassy remove removed features * oops, missed a toolchain file
Diffstat (limited to 'examples')
-rw-r--r--examples/rust-toolchain.toml6
-rw-r--r--examples/src/bin/ble_advertise.rs2
-rw-r--r--examples/src/bin/ble_bas_central.rs2
-rw-r--r--examples/src/bin/ble_bas_peripheral.rs2
-rw-r--r--examples/src/bin/ble_l2cap_central.rs2
-rw-r--r--examples/src/bin/ble_l2cap_peripheral.rs2
-rw-r--r--examples/src/bin/ble_peripheral_onoff.rs2
-rw-r--r--examples/src/bin/ble_scan.rs2
-rw-r--r--examples/src/bin/flash.rs2
9 files changed, 6 insertions, 16 deletions
diff --git a/examples/rust-toolchain.toml b/examples/rust-toolchain.toml
new file mode 100644
index 0000000..2db8bbd
--- /dev/null
+++ b/examples/rust-toolchain.toml
@@ -0,0 +1,6 @@
+# Before upgrading check that everything is available on all tier1 targets here:
+# https://rust-lang.github.io/rustup-components-history
+[toolchain]
+channel = "nightly-2021-08-03"
+components = ["rust-src", "rustfmt"]
+targets = ["thumbv7em-none-eabihf"]
diff --git a/examples/src/bin/ble_advertise.rs b/examples/src/bin/ble_advertise.rs
index 28b3723..23a20df 100644
--- a/examples/src/bin/ble_advertise.rs
+++ b/examples/src/bin/ble_advertise.rs
@@ -1,8 +1,6 @@
#![no_std]
#![no_main]
#![feature(type_alias_impl_trait)]
-#![feature(min_type_alias_impl_trait)]
-#![feature(impl_trait_in_bindings)]
#![feature(alloc_error_handler)]
#![allow(incomplete_features)]
diff --git a/examples/src/bin/ble_bas_central.rs b/examples/src/bin/ble_bas_central.rs
index 2106523..823d09b 100644
--- a/examples/src/bin/ble_bas_central.rs
+++ b/examples/src/bin/ble_bas_central.rs
@@ -1,8 +1,6 @@
#![no_std]
#![no_main]
#![feature(type_alias_impl_trait)]
-#![feature(min_type_alias_impl_trait)]
-#![feature(impl_trait_in_bindings)]
#![feature(alloc_error_handler)]
#![allow(incomplete_features)]
diff --git a/examples/src/bin/ble_bas_peripheral.rs b/examples/src/bin/ble_bas_peripheral.rs
index 37c584e..8793c82 100644
--- a/examples/src/bin/ble_bas_peripheral.rs
+++ b/examples/src/bin/ble_bas_peripheral.rs
@@ -1,8 +1,6 @@
#![no_std]
#![no_main]
#![feature(type_alias_impl_trait)]
-#![feature(min_type_alias_impl_trait)]
-#![feature(impl_trait_in_bindings)]
#![feature(alloc_error_handler)]
#![allow(incomplete_features)]
diff --git a/examples/src/bin/ble_l2cap_central.rs b/examples/src/bin/ble_l2cap_central.rs
index 2e722f2..186bd93 100644
--- a/examples/src/bin/ble_l2cap_central.rs
+++ b/examples/src/bin/ble_l2cap_central.rs
@@ -1,8 +1,6 @@
#![no_std]
#![no_main]
#![feature(type_alias_impl_trait)]
-#![feature(min_type_alias_impl_trait)]
-#![feature(impl_trait_in_bindings)]
#![feature(alloc_error_handler)]
#![allow(incomplete_features)]
extern crate alloc;
diff --git a/examples/src/bin/ble_l2cap_peripheral.rs b/examples/src/bin/ble_l2cap_peripheral.rs
index f97a9f0..e7cff49 100644
--- a/examples/src/bin/ble_l2cap_peripheral.rs
+++ b/examples/src/bin/ble_l2cap_peripheral.rs
@@ -1,8 +1,6 @@
#![no_std]
#![no_main]
#![feature(type_alias_impl_trait)]
-#![feature(min_type_alias_impl_trait)]
-#![feature(impl_trait_in_bindings)]
#![feature(alloc_error_handler)]
#![allow(incomplete_features)]
extern crate alloc;
diff --git a/examples/src/bin/ble_peripheral_onoff.rs b/examples/src/bin/ble_peripheral_onoff.rs
index b40d096..1d9e95b 100644
--- a/examples/src/bin/ble_peripheral_onoff.rs
+++ b/examples/src/bin/ble_peripheral_onoff.rs
@@ -1,8 +1,6 @@
#![no_std]
#![no_main]
#![feature(type_alias_impl_trait)]
-#![feature(min_type_alias_impl_trait)]
-#![feature(impl_trait_in_bindings)]
#![feature(alloc_error_handler)]
#![allow(incomplete_features)]
diff --git a/examples/src/bin/ble_scan.rs b/examples/src/bin/ble_scan.rs
index 24757f5..e9a9376 100644
--- a/examples/src/bin/ble_scan.rs
+++ b/examples/src/bin/ble_scan.rs
@@ -1,8 +1,6 @@
#![no_std]
#![no_main]
#![feature(type_alias_impl_trait)]
-#![feature(min_type_alias_impl_trait)]
-#![feature(impl_trait_in_bindings)]
#![feature(alloc_error_handler)]
#![allow(incomplete_features)]
diff --git a/examples/src/bin/flash.rs b/examples/src/bin/flash.rs
index 3e5fe57..a5b2fac 100644
--- a/examples/src/bin/flash.rs
+++ b/examples/src/bin/flash.rs
@@ -1,8 +1,6 @@
#![no_std]
#![no_main]
#![feature(type_alias_impl_trait)]
-#![feature(min_type_alias_impl_trait)]
-#![feature(impl_trait_in_bindings)]
#![feature(alloc_error_handler)]
#![allow(incomplete_features)]