aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md7
-rwxr-xr-xci.sh3
-rwxr-xr-xci_stable.sh2
-rw-r--r--docs/modules/ROOT/pages/getting_started.adoc2
-rw-r--r--examples/nrf52840/.cargo/config.toml (renamed from examples/nrf/.cargo/config.toml)0
-rw-r--r--examples/nrf52840/Cargo.toml (renamed from examples/nrf/Cargo.toml)0
-rw-r--r--examples/nrf52840/build.rs (renamed from examples/nrf/build.rs)0
-rw-r--r--examples/nrf52840/memory.x (renamed from examples/nrf/memory.x)0
-rw-r--r--examples/nrf52840/src/bin/awaitable_timer.rs (renamed from examples/nrf/src/bin/awaitable_timer.rs)0
-rw-r--r--examples/nrf52840/src/bin/blinky.rs (renamed from examples/nrf/src/bin/blinky.rs)0
-rw-r--r--examples/nrf52840/src/bin/buffered_uart.rs (renamed from examples/nrf/src/bin/buffered_uart.rs)0
-rw-r--r--examples/nrf52840/src/bin/channel.rs (renamed from examples/nrf/src/bin/channel.rs)0
-rw-r--r--examples/nrf52840/src/bin/channel_sender_receiver.rs (renamed from examples/nrf/src/bin/channel_sender_receiver.rs)0
-rw-r--r--examples/nrf52840/src/bin/executor_fairness_test.rs (renamed from examples/nrf/src/bin/executor_fairness_test.rs)0
-rw-r--r--examples/nrf52840/src/bin/gpiote_channel.rs (renamed from examples/nrf/src/bin/gpiote_channel.rs)0
-rw-r--r--examples/nrf52840/src/bin/gpiote_port.rs (renamed from examples/nrf/src/bin/gpiote_port.rs)0
-rw-r--r--examples/nrf52840/src/bin/i2s_effect.rs (renamed from examples/nrf/src/bin/i2s_effect.rs)0
-rw-r--r--examples/nrf52840/src/bin/i2s_monitor.rs (renamed from examples/nrf/src/bin/i2s_monitor.rs)0
-rw-r--r--examples/nrf52840/src/bin/i2s_waveform.rs (renamed from examples/nrf/src/bin/i2s_waveform.rs)0
-rw-r--r--examples/nrf52840/src/bin/lora_p2p_report.rs (renamed from examples/nrf/src/bin/lora_p2p_report.rs)0
-rw-r--r--examples/nrf52840/src/bin/lora_p2p_sense.rs (renamed from examples/nrf/src/bin/lora_p2p_sense.rs)0
-rw-r--r--examples/nrf52840/src/bin/manually_create_executor.rs (renamed from examples/nrf/src/bin/manually_create_executor.rs)0
-rw-r--r--examples/nrf52840/src/bin/multiprio.rs (renamed from examples/nrf/src/bin/multiprio.rs)0
-rw-r--r--examples/nrf52840/src/bin/mutex.rs (renamed from examples/nrf/src/bin/mutex.rs)0
-rw-r--r--examples/nrf52840/src/bin/nvmc.rs (renamed from examples/nrf/src/bin/nvmc.rs)0
-rw-r--r--examples/nrf52840/src/bin/pdm.rs (renamed from examples/nrf/src/bin/pdm.rs)0
-rw-r--r--examples/nrf52840/src/bin/ppi.rs (renamed from examples/nrf/src/bin/ppi.rs)0
-rw-r--r--examples/nrf52840/src/bin/pubsub.rs (renamed from examples/nrf/src/bin/pubsub.rs)0
-rw-r--r--examples/nrf52840/src/bin/pwm.rs (renamed from examples/nrf/src/bin/pwm.rs)0
-rw-r--r--examples/nrf52840/src/bin/pwm_double_sequence.rs (renamed from examples/nrf/src/bin/pwm_double_sequence.rs)0
-rw-r--r--examples/nrf52840/src/bin/pwm_sequence.rs (renamed from examples/nrf/src/bin/pwm_sequence.rs)0
-rw-r--r--examples/nrf52840/src/bin/pwm_sequence_ppi.rs (renamed from examples/nrf/src/bin/pwm_sequence_ppi.rs)0
-rw-r--r--examples/nrf52840/src/bin/pwm_sequence_ws2812b.rs (renamed from examples/nrf/src/bin/pwm_sequence_ws2812b.rs)0
-rw-r--r--examples/nrf52840/src/bin/pwm_servo.rs (renamed from examples/nrf/src/bin/pwm_servo.rs)0
-rw-r--r--examples/nrf52840/src/bin/qdec.rs (renamed from examples/nrf/src/bin/qdec.rs)0
-rw-r--r--examples/nrf52840/src/bin/qspi.rs (renamed from examples/nrf/src/bin/qspi.rs)0
-rw-r--r--examples/nrf52840/src/bin/qspi_lowpower.rs (renamed from examples/nrf/src/bin/qspi_lowpower.rs)0
-rw-r--r--examples/nrf52840/src/bin/raw_spawn.rs (renamed from examples/nrf/src/bin/raw_spawn.rs)0
-rw-r--r--examples/nrf52840/src/bin/rng.rs (renamed from examples/nrf/src/bin/rng.rs)0
-rw-r--r--examples/nrf52840/src/bin/saadc.rs (renamed from examples/nrf/src/bin/saadc.rs)0
-rw-r--r--examples/nrf52840/src/bin/saadc_continuous.rs (renamed from examples/nrf/src/bin/saadc_continuous.rs)0
-rw-r--r--examples/nrf52840/src/bin/self_spawn.rs (renamed from examples/nrf/src/bin/self_spawn.rs)0
-rw-r--r--examples/nrf52840/src/bin/self_spawn_current_executor.rs (renamed from examples/nrf/src/bin/self_spawn_current_executor.rs)0
-rw-r--r--examples/nrf52840/src/bin/spim.rs (renamed from examples/nrf/src/bin/spim.rs)0
-rw-r--r--examples/nrf52840/src/bin/spis.rs (renamed from examples/nrf/src/bin/spis.rs)0
-rw-r--r--examples/nrf52840/src/bin/temp.rs (renamed from examples/nrf/src/bin/temp.rs)0
-rw-r--r--examples/nrf52840/src/bin/timer.rs (renamed from examples/nrf/src/bin/timer.rs)0
-rw-r--r--examples/nrf52840/src/bin/twim.rs (renamed from examples/nrf/src/bin/twim.rs)0
-rw-r--r--examples/nrf52840/src/bin/twim_lowpower.rs (renamed from examples/nrf/src/bin/twim_lowpower.rs)0
-rw-r--r--examples/nrf52840/src/bin/twis.rs (renamed from examples/nrf/src/bin/twis.rs)0
-rw-r--r--examples/nrf52840/src/bin/uart.rs (renamed from examples/nrf/src/bin/uart.rs)0
-rw-r--r--examples/nrf52840/src/bin/uart_idle.rs (renamed from examples/nrf/src/bin/uart_idle.rs)0
-rw-r--r--examples/nrf52840/src/bin/uart_split.rs (renamed from examples/nrf/src/bin/uart_split.rs)0
-rw-r--r--examples/nrf52840/src/bin/usb_ethernet.rs (renamed from examples/nrf/src/bin/usb_ethernet.rs)0
-rw-r--r--examples/nrf52840/src/bin/usb_hid_keyboard.rs (renamed from examples/nrf/src/bin/usb_hid_keyboard.rs)0
-rw-r--r--examples/nrf52840/src/bin/usb_hid_mouse.rs (renamed from examples/nrf/src/bin/usb_hid_mouse.rs)0
-rw-r--r--examples/nrf52840/src/bin/usb_serial.rs (renamed from examples/nrf/src/bin/usb_serial.rs)0
-rw-r--r--examples/nrf52840/src/bin/usb_serial_multitask.rs (renamed from examples/nrf/src/bin/usb_serial_multitask.rs)0
-rw-r--r--examples/nrf52840/src/bin/wdt.rs (renamed from examples/nrf/src/bin/wdt.rs)0
59 files changed, 8 insertions, 6 deletions
diff --git a/README.md b/README.md
index eaa91012c..938f2f4a6 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ Rust's <a href="https://rust-lang.github.io/async-book/">async/await</a> allows
19No more messing with hardware timers. <a href="https://docs.embassy.dev/embassy-time">embassy_time</a> provides Instant, Duration and Timer types that are globally available and never overflow. 19No more messing with hardware timers. <a href="https://docs.embassy.dev/embassy-time">embassy_time</a> provides Instant, Duration and Timer types that are globally available and never overflow.
20 20
21- **Real-time ready** - 21- **Real-time ready** -
22Tasks on the same async executor run cooperatively, but you can create multiple executors with different priorities, so that higher priority tasks preempt lower priority ones. See the <a href="https://github.com/embassy-rs/embassy/blob/master/examples/nrf/src/bin/multiprio.rs">example</a>. 22Tasks on the same async executor run cooperatively, but you can create multiple executors with different priorities, so that higher priority tasks preempt lower priority ones. See the <a href="https://github.com/embassy-rs/embassy/blob/master/examples/nrf52840/src/bin/multiprio.rs">example</a>.
23 23
24- **Low-power ready** - 24- **Low-power ready** -
25Easily build devices with years of battery life. The async executor automatically puts the core to sleep when there's no work to do. Tasks are woken by interrupts, there is no busy-loop polling while waiting. 25Easily build devices with years of battery life. The async executor automatically puts the core to sleep when there's no work to do. Tasks are woken by interrupts, there is no busy-loop polling while waiting.
@@ -87,7 +87,8 @@ async fn main(spawner: Spawner) {
87 87
88Examples are found in the `examples/` folder seperated by the chip manufacturer they are designed to run on. For example: 88Examples are found in the `examples/` folder seperated by the chip manufacturer they are designed to run on. For example:
89 89
90* `examples/nrf` run on the `nrf52840-dk` board (PCA10056) but should be easily adaptable to other nRF52 chips and boards. 90* `examples/nrf52840` run on the `nrf52840-dk` board (PCA10056) but should be easily adaptable to other nRF52 chips and boards.
91* `examples/nrf5340` run on the `nrf5340-dk` board (PCA10095).
91* `examples/stm32xx` for the various STM32 families. 92* `examples/stm32xx` for the various STM32 families.
92* `examples/rp` are for the RP2040 chip. 93* `examples/rp` are for the RP2040 chip.
93* `examples/std` are designed to run locally on your PC. 94* `examples/std` are designed to run locally on your PC.
@@ -110,7 +111,7 @@ cargo install probe-run
110- Change directory to the sample's base directory. For example: 111- Change directory to the sample's base directory. For example:
111 112
112```bash 113```bash
113cd examples/nrf 114cd examples/nrf52840
114``` 115```
115 116
116- Run the example 117- Run the example
diff --git a/ci.sh b/ci.sh
index f59f3f46c..30e664a2b 100755
--- a/ci.sh
+++ b/ci.sh
@@ -89,7 +89,8 @@ cargo batch \
89 --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-hal/Cargo.toml --target thumbv7em-none-eabi \ 89 --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-hal/Cargo.toml --target thumbv7em-none-eabi \
90 --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-irq/Cargo.toml --target thumbv7em-none-eabi \ 90 --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-irq/Cargo.toml --target thumbv7em-none-eabi \
91 --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-async/Cargo.toml --target thumbv7em-none-eabi \ 91 --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-async/Cargo.toml --target thumbv7em-none-eabi \
92 --- build --release --manifest-path examples/nrf/Cargo.toml --target thumbv7em-none-eabi --out-dir out/examples/nrf \ 92 --- build --release --manifest-path examples/nrf52840/Cargo.toml --target thumbv7em-none-eabi --out-dir out/examples/nrf52840 \
93 --- build --release --manifest-path examples/nrf5340/Cargo.toml --target thumbv8m.main-none-eabihf --out-dir out/examples/nrf5340 \
93 --- build --release --manifest-path examples/rp/Cargo.toml --target thumbv6m-none-eabi --out-dir out/examples/rp \ 94 --- build --release --manifest-path examples/rp/Cargo.toml --target thumbv6m-none-eabi --out-dir out/examples/rp \
94 --- build --release --manifest-path examples/stm32f0/Cargo.toml --target thumbv6m-none-eabi --out-dir out/examples/stm32f0 \ 95 --- build --release --manifest-path examples/stm32f0/Cargo.toml --target thumbv6m-none-eabi --out-dir out/examples/stm32f0 \
95 --- build --release --manifest-path examples/stm32f1/Cargo.toml --target thumbv7m-none-eabi --out-dir out/examples/stm32f1 \ 96 --- build --release --manifest-path examples/stm32f1/Cargo.toml --target thumbv7m-none-eabi --out-dir out/examples/stm32f1 \
diff --git a/ci_stable.sh b/ci_stable.sh
index a1d507d71..60ddb659d 100755
--- a/ci_stable.sh
+++ b/ci_stable.sh
@@ -65,5 +65,5 @@ cargo batch \
65 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7m-none-eabi --features stm32l151cb-a,defmt,exti,time-driver-any,unstable-traits \ 65 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7m-none-eabi --features stm32l151cb-a,defmt,exti,time-driver-any,unstable-traits \
66 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7m-none-eabi --features stm32f217zg,defmt,exti,time-driver-any \ 66 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7m-none-eabi --features stm32f217zg,defmt,exti,time-driver-any \
67 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7m-none-eabi --features stm32f217zg,defmt,exti,time-driver-any,unstable-traits \ 67 --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7m-none-eabi --features stm32f217zg,defmt,exti,time-driver-any,unstable-traits \
68 --- build --release --manifest-path examples/nrf/Cargo.toml --target thumbv7em-none-eabi --no-default-features --out-dir out/examples/nrf --bin raw_spawn \ 68 --- build --release --manifest-path examples/nrf52840/Cargo.toml --target thumbv7em-none-eabi --no-default-features --out-dir out/examples/nrf52840 --bin raw_spawn \
69 --- build --release --manifest-path examples/stm32l0/Cargo.toml --target thumbv6m-none-eabi --no-default-features --out-dir out/examples/stm32l0 --bin raw_spawn \ 69 --- build --release --manifest-path examples/stm32l0/Cargo.toml --target thumbv6m-none-eabi --no-default-features --out-dir out/examples/stm32l0 --bin raw_spawn \
diff --git a/docs/modules/ROOT/pages/getting_started.adoc b/docs/modules/ROOT/pages/getting_started.adoc
index f3492a3d0..9015d7845 100644
--- a/docs/modules/ROOT/pages/getting_started.adoc
+++ b/docs/modules/ROOT/pages/getting_started.adoc
@@ -45,7 +45,7 @@ You can run an example by opening a terminal and entering the following commands
45 45
46[source, bash] 46[source, bash]
47---- 47----
48cd examples/nrf 48cd examples/nrf52840
49cargo run --bin blinky --release 49cargo run --bin blinky --release
50---- 50----
51 51
diff --git a/examples/nrf/.cargo/config.toml b/examples/nrf52840/.cargo/config.toml
index 8ca28df39..8ca28df39 100644
--- a/examples/nrf/.cargo/config.toml
+++ b/examples/nrf52840/.cargo/config.toml
diff --git a/examples/nrf/Cargo.toml b/examples/nrf52840/Cargo.toml
index 994823a9e..994823a9e 100644
--- a/examples/nrf/Cargo.toml
+++ b/examples/nrf52840/Cargo.toml
diff --git a/examples/nrf/build.rs b/examples/nrf52840/build.rs
index 30691aa97..30691aa97 100644
--- a/examples/nrf/build.rs
+++ b/examples/nrf52840/build.rs
diff --git a/examples/nrf/memory.x b/examples/nrf52840/memory.x
index 9b04edec0..9b04edec0 100644
--- a/examples/nrf/memory.x
+++ b/examples/nrf52840/memory.x
diff --git a/examples/nrf/src/bin/awaitable_timer.rs b/examples/nrf52840/src/bin/awaitable_timer.rs
index b32af236c..b32af236c 100644
--- a/examples/nrf/src/bin/awaitable_timer.rs
+++ b/examples/nrf52840/src/bin/awaitable_timer.rs
diff --git a/examples/nrf/src/bin/blinky.rs b/examples/nrf52840/src/bin/blinky.rs
index 513f6cd82..513f6cd82 100644
--- a/examples/nrf/src/bin/blinky.rs
+++ b/examples/nrf52840/src/bin/blinky.rs
diff --git a/examples/nrf/src/bin/buffered_uart.rs b/examples/nrf52840/src/bin/buffered_uart.rs
index ea566f4b2..ea566f4b2 100644
--- a/examples/nrf/src/bin/buffered_uart.rs
+++ b/examples/nrf52840/src/bin/buffered_uart.rs
diff --git a/examples/nrf/src/bin/channel.rs b/examples/nrf52840/src/bin/channel.rs
index d782a79e7..d782a79e7 100644
--- a/examples/nrf/src/bin/channel.rs
+++ b/examples/nrf52840/src/bin/channel.rs
diff --git a/examples/nrf/src/bin/channel_sender_receiver.rs b/examples/nrf52840/src/bin/channel_sender_receiver.rs
index fcccdaed5..fcccdaed5 100644
--- a/examples/nrf/src/bin/channel_sender_receiver.rs
+++ b/examples/nrf52840/src/bin/channel_sender_receiver.rs
diff --git a/examples/nrf/src/bin/executor_fairness_test.rs b/examples/nrf52840/src/bin/executor_fairness_test.rs
index 2a28f2763..2a28f2763 100644
--- a/examples/nrf/src/bin/executor_fairness_test.rs
+++ b/examples/nrf52840/src/bin/executor_fairness_test.rs
diff --git a/examples/nrf/src/bin/gpiote_channel.rs b/examples/nrf52840/src/bin/gpiote_channel.rs
index 5bfd02465..5bfd02465 100644
--- a/examples/nrf/src/bin/gpiote_channel.rs
+++ b/examples/nrf52840/src/bin/gpiote_channel.rs
diff --git a/examples/nrf/src/bin/gpiote_port.rs b/examples/nrf52840/src/bin/gpiote_port.rs
index 0155d539e..0155d539e 100644
--- a/examples/nrf/src/bin/gpiote_port.rs
+++ b/examples/nrf52840/src/bin/gpiote_port.rs
diff --git a/examples/nrf/src/bin/i2s_effect.rs b/examples/nrf52840/src/bin/i2s_effect.rs
index 3cca005b1..3cca005b1 100644
--- a/examples/nrf/src/bin/i2s_effect.rs
+++ b/examples/nrf52840/src/bin/i2s_effect.rs
diff --git a/examples/nrf/src/bin/i2s_monitor.rs b/examples/nrf52840/src/bin/i2s_monitor.rs
index 48eb7d581..48eb7d581 100644
--- a/examples/nrf/src/bin/i2s_monitor.rs
+++ b/examples/nrf52840/src/bin/i2s_monitor.rs
diff --git a/examples/nrf/src/bin/i2s_waveform.rs b/examples/nrf52840/src/bin/i2s_waveform.rs
index 1b0e8ebc8..1b0e8ebc8 100644
--- a/examples/nrf/src/bin/i2s_waveform.rs
+++ b/examples/nrf52840/src/bin/i2s_waveform.rs
diff --git a/examples/nrf/src/bin/lora_p2p_report.rs b/examples/nrf52840/src/bin/lora_p2p_report.rs
index d512b83f6..d512b83f6 100644
--- a/examples/nrf/src/bin/lora_p2p_report.rs
+++ b/examples/nrf52840/src/bin/lora_p2p_report.rs
diff --git a/examples/nrf/src/bin/lora_p2p_sense.rs b/examples/nrf52840/src/bin/lora_p2p_sense.rs
index b9768874b..b9768874b 100644
--- a/examples/nrf/src/bin/lora_p2p_sense.rs
+++ b/examples/nrf52840/src/bin/lora_p2p_sense.rs
diff --git a/examples/nrf/src/bin/manually_create_executor.rs b/examples/nrf52840/src/bin/manually_create_executor.rs
index 12ce660f9..12ce660f9 100644
--- a/examples/nrf/src/bin/manually_create_executor.rs
+++ b/examples/nrf52840/src/bin/manually_create_executor.rs
diff --git a/examples/nrf/src/bin/multiprio.rs b/examples/nrf52840/src/bin/multiprio.rs
index 25806ae48..25806ae48 100644
--- a/examples/nrf/src/bin/multiprio.rs
+++ b/examples/nrf52840/src/bin/multiprio.rs
diff --git a/examples/nrf/src/bin/mutex.rs b/examples/nrf52840/src/bin/mutex.rs
index c402c6ba1..c402c6ba1 100644
--- a/examples/nrf/src/bin/mutex.rs
+++ b/examples/nrf52840/src/bin/mutex.rs
diff --git a/examples/nrf/src/bin/nvmc.rs b/examples/nrf52840/src/bin/nvmc.rs
index 75d090fbb..75d090fbb 100644
--- a/examples/nrf/src/bin/nvmc.rs
+++ b/examples/nrf52840/src/bin/nvmc.rs
diff --git a/examples/nrf/src/bin/pdm.rs b/examples/nrf52840/src/bin/pdm.rs
index 7388580fb..7388580fb 100644
--- a/examples/nrf/src/bin/pdm.rs
+++ b/examples/nrf52840/src/bin/pdm.rs
diff --git a/examples/nrf/src/bin/ppi.rs b/examples/nrf52840/src/bin/ppi.rs
index d74ce4064..d74ce4064 100644
--- a/examples/nrf/src/bin/ppi.rs
+++ b/examples/nrf52840/src/bin/ppi.rs
diff --git a/examples/nrf/src/bin/pubsub.rs b/examples/nrf52840/src/bin/pubsub.rs
index 688e6d075..688e6d075 100644
--- a/examples/nrf/src/bin/pubsub.rs
+++ b/examples/nrf52840/src/bin/pubsub.rs
diff --git a/examples/nrf/src/bin/pwm.rs b/examples/nrf52840/src/bin/pwm.rs
index 1698c0bc8..1698c0bc8 100644
--- a/examples/nrf/src/bin/pwm.rs
+++ b/examples/nrf52840/src/bin/pwm.rs
diff --git a/examples/nrf/src/bin/pwm_double_sequence.rs b/examples/nrf52840/src/bin/pwm_double_sequence.rs
index 16e50e909..16e50e909 100644
--- a/examples/nrf/src/bin/pwm_double_sequence.rs
+++ b/examples/nrf52840/src/bin/pwm_double_sequence.rs
diff --git a/examples/nrf/src/bin/pwm_sequence.rs b/examples/nrf52840/src/bin/pwm_sequence.rs
index b9aca9aaa..b9aca9aaa 100644
--- a/examples/nrf/src/bin/pwm_sequence.rs
+++ b/examples/nrf52840/src/bin/pwm_sequence.rs
diff --git a/examples/nrf/src/bin/pwm_sequence_ppi.rs b/examples/nrf52840/src/bin/pwm_sequence_ppi.rs
index 6594fa348..6594fa348 100644
--- a/examples/nrf/src/bin/pwm_sequence_ppi.rs
+++ b/examples/nrf52840/src/bin/pwm_sequence_ppi.rs
diff --git a/examples/nrf/src/bin/pwm_sequence_ws2812b.rs b/examples/nrf52840/src/bin/pwm_sequence_ws2812b.rs
index 711c8a17b..711c8a17b 100644
--- a/examples/nrf/src/bin/pwm_sequence_ws2812b.rs
+++ b/examples/nrf52840/src/bin/pwm_sequence_ws2812b.rs
diff --git a/examples/nrf/src/bin/pwm_servo.rs b/examples/nrf52840/src/bin/pwm_servo.rs
index 19228f433..19228f433 100644
--- a/examples/nrf/src/bin/pwm_servo.rs
+++ b/examples/nrf52840/src/bin/pwm_servo.rs
diff --git a/examples/nrf/src/bin/qdec.rs b/examples/nrf52840/src/bin/qdec.rs
index 600bba07a..600bba07a 100644
--- a/examples/nrf/src/bin/qdec.rs
+++ b/examples/nrf52840/src/bin/qdec.rs
diff --git a/examples/nrf/src/bin/qspi.rs b/examples/nrf52840/src/bin/qspi.rs
index bdcf710b8..bdcf710b8 100644
--- a/examples/nrf/src/bin/qspi.rs
+++ b/examples/nrf52840/src/bin/qspi.rs
diff --git a/examples/nrf/src/bin/qspi_lowpower.rs b/examples/nrf52840/src/bin/qspi_lowpower.rs
index 9341a2376..9341a2376 100644
--- a/examples/nrf/src/bin/qspi_lowpower.rs
+++ b/examples/nrf52840/src/bin/qspi_lowpower.rs
diff --git a/examples/nrf/src/bin/raw_spawn.rs b/examples/nrf52840/src/bin/raw_spawn.rs
index 1b067f5e4..1b067f5e4 100644
--- a/examples/nrf/src/bin/raw_spawn.rs
+++ b/examples/nrf52840/src/bin/raw_spawn.rs
diff --git a/examples/nrf/src/bin/rng.rs b/examples/nrf52840/src/bin/rng.rs
index 647073949..647073949 100644
--- a/examples/nrf/src/bin/rng.rs
+++ b/examples/nrf52840/src/bin/rng.rs
diff --git a/examples/nrf/src/bin/saadc.rs b/examples/nrf52840/src/bin/saadc.rs
index 7cf588090..7cf588090 100644
--- a/examples/nrf/src/bin/saadc.rs
+++ b/examples/nrf52840/src/bin/saadc.rs
diff --git a/examples/nrf/src/bin/saadc_continuous.rs b/examples/nrf52840/src/bin/saadc_continuous.rs
index bb50ac65e..bb50ac65e 100644
--- a/examples/nrf/src/bin/saadc_continuous.rs
+++ b/examples/nrf52840/src/bin/saadc_continuous.rs
diff --git a/examples/nrf/src/bin/self_spawn.rs b/examples/nrf52840/src/bin/self_spawn.rs
index 196255a52..196255a52 100644
--- a/examples/nrf/src/bin/self_spawn.rs
+++ b/examples/nrf52840/src/bin/self_spawn.rs
diff --git a/examples/nrf/src/bin/self_spawn_current_executor.rs b/examples/nrf52840/src/bin/self_spawn_current_executor.rs
index 8a179886c..8a179886c 100644
--- a/examples/nrf/src/bin/self_spawn_current_executor.rs
+++ b/examples/nrf52840/src/bin/self_spawn_current_executor.rs
diff --git a/examples/nrf/src/bin/spim.rs b/examples/nrf52840/src/bin/spim.rs
index 132e01660..132e01660 100644
--- a/examples/nrf/src/bin/spim.rs
+++ b/examples/nrf52840/src/bin/spim.rs
diff --git a/examples/nrf/src/bin/spis.rs b/examples/nrf52840/src/bin/spis.rs
index fe3b0c53d..fe3b0c53d 100644
--- a/examples/nrf/src/bin/spis.rs
+++ b/examples/nrf52840/src/bin/spis.rs
diff --git a/examples/nrf/src/bin/temp.rs b/examples/nrf52840/src/bin/temp.rs
index b06ac709e..b06ac709e 100644
--- a/examples/nrf/src/bin/temp.rs
+++ b/examples/nrf52840/src/bin/temp.rs
diff --git a/examples/nrf/src/bin/timer.rs b/examples/nrf52840/src/bin/timer.rs
index c22b5acd5..c22b5acd5 100644
--- a/examples/nrf/src/bin/timer.rs
+++ b/examples/nrf52840/src/bin/timer.rs
diff --git a/examples/nrf/src/bin/twim.rs b/examples/nrf52840/src/bin/twim.rs
index a027cc1e7..a027cc1e7 100644
--- a/examples/nrf/src/bin/twim.rs
+++ b/examples/nrf52840/src/bin/twim.rs
diff --git a/examples/nrf/src/bin/twim_lowpower.rs b/examples/nrf52840/src/bin/twim_lowpower.rs
index e30cc9688..e30cc9688 100644
--- a/examples/nrf/src/bin/twim_lowpower.rs
+++ b/examples/nrf52840/src/bin/twim_lowpower.rs
diff --git a/examples/nrf/src/bin/twis.rs b/examples/nrf52840/src/bin/twis.rs
index 54cba9494..54cba9494 100644
--- a/examples/nrf/src/bin/twis.rs
+++ b/examples/nrf52840/src/bin/twis.rs
diff --git a/examples/nrf/src/bin/uart.rs b/examples/nrf52840/src/bin/uart.rs
index 600f7a6ef..600f7a6ef 100644
--- a/examples/nrf/src/bin/uart.rs
+++ b/examples/nrf52840/src/bin/uart.rs
diff --git a/examples/nrf/src/bin/uart_idle.rs b/examples/nrf52840/src/bin/uart_idle.rs
index 6af4f7097..6af4f7097 100644
--- a/examples/nrf/src/bin/uart_idle.rs
+++ b/examples/nrf52840/src/bin/uart_idle.rs
diff --git a/examples/nrf/src/bin/uart_split.rs b/examples/nrf52840/src/bin/uart_split.rs
index 1adaf53fd..1adaf53fd 100644
--- a/examples/nrf/src/bin/uart_split.rs
+++ b/examples/nrf52840/src/bin/uart_split.rs
diff --git a/examples/nrf/src/bin/usb_ethernet.rs b/examples/nrf52840/src/bin/usb_ethernet.rs
index e5f704524..e5f704524 100644
--- a/examples/nrf/src/bin/usb_ethernet.rs
+++ b/examples/nrf52840/src/bin/usb_ethernet.rs
diff --git a/examples/nrf/src/bin/usb_hid_keyboard.rs b/examples/nrf52840/src/bin/usb_hid_keyboard.rs
index 76e198719..76e198719 100644
--- a/examples/nrf/src/bin/usb_hid_keyboard.rs
+++ b/examples/nrf52840/src/bin/usb_hid_keyboard.rs
diff --git a/examples/nrf/src/bin/usb_hid_mouse.rs b/examples/nrf52840/src/bin/usb_hid_mouse.rs
index 4916a38d4..4916a38d4 100644
--- a/examples/nrf/src/bin/usb_hid_mouse.rs
+++ b/examples/nrf52840/src/bin/usb_hid_mouse.rs
diff --git a/examples/nrf/src/bin/usb_serial.rs b/examples/nrf52840/src/bin/usb_serial.rs
index 7c9c4184b..7c9c4184b 100644
--- a/examples/nrf/src/bin/usb_serial.rs
+++ b/examples/nrf52840/src/bin/usb_serial.rs
diff --git a/examples/nrf/src/bin/usb_serial_multitask.rs b/examples/nrf52840/src/bin/usb_serial_multitask.rs
index 93efc2fe6..93efc2fe6 100644
--- a/examples/nrf/src/bin/usb_serial_multitask.rs
+++ b/examples/nrf52840/src/bin/usb_serial_multitask.rs
diff --git a/examples/nrf/src/bin/wdt.rs b/examples/nrf52840/src/bin/wdt.rs
index b0b9c3b81..b0b9c3b81 100644
--- a/examples/nrf/src/bin/wdt.rs
+++ b/examples/nrf52840/src/bin/wdt.rs