Compare commits
	
		
			4 Commits
		
	
	
		
			make-stati
			...
			no-more-ni
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 8b36a32ed5 | ||
|  | 530ead5fde | ||
|  | 8442e72589 | ||
|  | 745d618ab7 | 
| @@ -7,6 +7,7 @@ set -euo pipefail | |||||||
| export RUSTUP_HOME=/ci/cache/rustup | export RUSTUP_HOME=/ci/cache/rustup | ||||||
| export CARGO_HOME=/ci/cache/cargo | export CARGO_HOME=/ci/cache/cargo | ||||||
| export CARGO_TARGET_DIR=/ci/cache/target | export CARGO_TARGET_DIR=/ci/cache/target | ||||||
|  | mv rust-toolchain-nightly.toml rust-toolchain.toml | ||||||
| 
 | 
 | ||||||
| # needed for "dumb HTTP" transport support | # needed for "dumb HTTP" transport support | ||||||
| # used when pointing stm32-metapac to a CI-built one. | # used when pointing stm32-metapac to a CI-built one. | ||||||
| @@ -21,9 +22,7 @@ fi | |||||||
| hashtime restore /ci/cache/filetime.json || true | hashtime restore /ci/cache/filetime.json || true | ||||||
| hashtime save /ci/cache/filetime.json | hashtime save /ci/cache/filetime.json | ||||||
| 
 | 
 | ||||||
| sed -i 's/channel.*/channel = "beta"/g' rust-toolchain.toml | ./ci-nightly.sh | ||||||
| 
 |  | ||||||
| ./ci_stable.sh |  | ||||||
| 
 | 
 | ||||||
| # Save lockfiles | # Save lockfiles | ||||||
| echo Saving lockfiles... | echo Saving lockfiles... | ||||||
							
								
								
									
										12
									
								
								.github/ci/rustfmt.sh
									
									
									
									
										vendored
									
									
										Executable file
									
								
							
							
						
						
									
										12
									
								
								.github/ci/rustfmt.sh
									
									
									
									
										vendored
									
									
										Executable file
									
								
							| @@ -0,0 +1,12 @@ | |||||||
|  | #!/bin/bash | ||||||
|  | ## on push branch~=gh-readonly-queue/main/.* | ||||||
|  | ## on pull_request | ||||||
|  |  | ||||||
|  | set -euo pipefail | ||||||
|  |  | ||||||
|  | export RUSTUP_HOME=/ci/cache/rustup | ||||||
|  | export CARGO_HOME=/ci/cache/cargo | ||||||
|  | export CARGO_TARGET_DIR=/ci/cache/target | ||||||
|  | mv rust-toolchain-nightly.toml rust-toolchain.toml | ||||||
|  |  | ||||||
|  | find . -name '*.rs' -not -path '*target*' | xargs rustfmt --check  --skip-children --unstable-features --edition 2021 | ||||||
							
								
								
									
										13
									
								
								.github/ci/test-nightly.sh
									
									
									
									
										vendored
									
									
										Executable file
									
								
							
							
						
						
									
										13
									
								
								.github/ci/test-nightly.sh
									
									
									
									
										vendored
									
									
										Executable file
									
								
							| @@ -0,0 +1,13 @@ | |||||||
|  | #!/bin/bash | ||||||
|  | ## on push branch~=gh-readonly-queue/main/.* | ||||||
|  | ## on pull_request | ||||||
|  |  | ||||||
|  | set -euo pipefail | ||||||
|  |  | ||||||
|  | export RUSTUP_HOME=/ci/cache/rustup | ||||||
|  | export CARGO_HOME=/ci/cache/cargo | ||||||
|  | export CARGO_TARGET_DIR=/ci/cache/target | ||||||
|  | mv rust-toolchain-nightly.toml rust-toolchain.toml | ||||||
|  |  | ||||||
|  | MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml | ||||||
|  | MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml --features nightly | ||||||
							
								
								
									
										3
									
								
								.github/ci/test.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/ci/test.sh
									
									
									
									
										vendored
									
									
								
							| @@ -8,9 +8,6 @@ export RUSTUP_HOME=/ci/cache/rustup | |||||||
| export CARGO_HOME=/ci/cache/cargo | export CARGO_HOME=/ci/cache/cargo | ||||||
| export CARGO_TARGET_DIR=/ci/cache/target | export CARGO_TARGET_DIR=/ci/cache/target | ||||||
|  |  | ||||||
| MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml |  | ||||||
| MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test --manifest-path ./embassy-executor/Cargo.toml --features nightly |  | ||||||
|  |  | ||||||
| cargo test --manifest-path ./embassy-sync/Cargo.toml  | cargo test --manifest-path ./embassy-sync/Cargo.toml  | ||||||
| cargo test --manifest-path ./embassy-embedded-hal/Cargo.toml  | cargo test --manifest-path ./embassy-embedded-hal/Cargo.toml  | ||||||
| cargo test --manifest-path ./embassy-hal-internal/Cargo.toml  | cargo test --manifest-path ./embassy-hal-internal/Cargo.toml  | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
								
							| @@ -15,14 +15,10 @@ | |||||||
|   //"rust-analyzer.cargo.target": "thumbv7m-none-eabi", |   //"rust-analyzer.cargo.target": "thumbv7m-none-eabi", | ||||||
|   "rust-analyzer.cargo.target": "thumbv7em-none-eabi", |   "rust-analyzer.cargo.target": "thumbv7em-none-eabi", | ||||||
|   //"rust-analyzer.cargo.target": "thumbv8m.main-none-eabihf", |   //"rust-analyzer.cargo.target": "thumbv8m.main-none-eabihf", | ||||||
|   "rust-analyzer.cargo.features": [ |  | ||||||
|     // Uncomment if the example has a "nightly" feature. |  | ||||||
|     "nightly", |  | ||||||
|   ], |  | ||||||
|   "rust-analyzer.linkedProjects": [ |   "rust-analyzer.linkedProjects": [ | ||||||
|     // Uncomment ONE line for the chip you want to work on. |     // Uncomment ONE line for the chip you want to work on. | ||||||
|     // This makes rust-analyzer work on the example crate and all its dependencies. |     // This makes rust-analyzer work on the example crate and all its dependencies. | ||||||
|     "examples/nrf52840/Cargo.toml", |     "examples/stm32l4/Cargo.toml", | ||||||
|     // "examples/nrf52840-rtic/Cargo.toml", |     // "examples/nrf52840-rtic/Cargo.toml", | ||||||
|     // "examples/nrf5340/Cargo.toml", |     // "examples/nrf5340/Cargo.toml", | ||||||
|     // "examples/nrf-rtos-trace/Cargo.toml", |     // "examples/nrf-rtos-trace/Cargo.toml", | ||||||
|   | |||||||
							
								
								
									
										30
									
								
								ci-nightly.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										30
									
								
								ci-nightly.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,30 @@ | |||||||
|  | #!/bin/bash | ||||||
|  |  | ||||||
|  | set -eo pipefail | ||||||
|  |  | ||||||
|  | export RUSTFLAGS=-Dwarnings | ||||||
|  | export DEFMT_LOG=trace,embassy_hal_internal=debug,embassy_net_esp_hosted=debug,cyw43=info,cyw43_pio=info,smoltcp=info | ||||||
|  | if [[ -z "${CARGO_TARGET_DIR}" ]]; then | ||||||
|  |     export CARGO_TARGET_DIR=target_ci | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | cargo batch  \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,log \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,defmt \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv6m-none-eabi --features nightly,defmt \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv6m-none-eabi --features nightly,defmt,arch-cortex-m,executor-thread,executor-interrupt,integrated-timers \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,integrated-timers \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-thread \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-thread,integrated-timers \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-interrupt \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-interrupt,integrated-timers \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-thread,executor-interrupt \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-thread,executor-interrupt,integrated-timers \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features nightly,arch-riscv32 \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features nightly,arch-riscv32,integrated-timers \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features nightly,arch-riscv32,executor-thread \ | ||||||
|  |     --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features nightly,arch-riscv32,executor-thread,integrated-timers \ | ||||||
|  |     --- build --release --manifest-path examples/nrf52840-rtic/Cargo.toml --target thumbv7em-none-eabi --out-dir out/examples/nrf52840-rtic \ | ||||||
|  |  | ||||||
							
								
								
									
										37
									
								
								ci.sh
									
									
									
									
									
								
							
							
						
						
									
										37
									
								
								ci.sh
									
									
									
									
									
								
							| @@ -15,26 +15,24 @@ if [ $TARGET = "x86_64-unknown-linux-gnu" ]; then | |||||||
|     BUILD_EXTRA="--- build --release --manifest-path examples/std/Cargo.toml --target $TARGET --out-dir out/examples/std" |     BUILD_EXTRA="--- build --release --manifest-path examples/std/Cargo.toml --target $TARGET --out-dir out/examples/std" | ||||||
| fi | fi | ||||||
|  |  | ||||||
| find . -name '*.rs' -not -path '*target*' | xargs rustfmt --check  --skip-children --unstable-features --edition 2021 |  | ||||||
|  |  | ||||||
| cargo batch  \ | cargo batch  \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,log \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features log \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,defmt \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features defmt \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv6m-none-eabi --features nightly,defmt \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv6m-none-eabi --features defmt \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv6m-none-eabi --features nightly,defmt,arch-cortex-m,executor-thread,executor-interrupt,integrated-timers \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv6m-none-eabi --features defmt,arch-cortex-m,executor-thread,executor-interrupt,integrated-timers \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features arch-cortex-m \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,integrated-timers \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features arch-cortex-m,integrated-timers \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-thread \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features arch-cortex-m,executor-thread \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-thread,integrated-timers \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features arch-cortex-m,executor-thread,integrated-timers \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-interrupt \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features arch-cortex-m,executor-interrupt \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-interrupt,integrated-timers \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features arch-cortex-m,executor-interrupt,integrated-timers \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-thread,executor-interrupt \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features arch-cortex-m,executor-thread,executor-interrupt \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features nightly,arch-cortex-m,executor-thread,executor-interrupt,integrated-timers \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features arch-cortex-m,executor-thread,executor-interrupt,integrated-timers \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features nightly,arch-riscv32 \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features arch-riscv32 \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features nightly,arch-riscv32,integrated-timers \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features arch-riscv32,integrated-timers \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features nightly,arch-riscv32,executor-thread \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features arch-riscv32,executor-thread \ | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features nightly,arch-riscv32,executor-thread,integrated-timers \ |     --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features arch-riscv32,executor-thread,integrated-timers \ | ||||||
|     --- build --release --manifest-path embassy-sync/Cargo.toml --target thumbv6m-none-eabi --features defmt \ |     --- build --release --manifest-path embassy-sync/Cargo.toml --target thumbv6m-none-eabi --features defmt \ | ||||||
|     --- build --release --manifest-path embassy-time/Cargo.toml --target thumbv6m-none-eabi --features defmt,defmt-timestamp-uptime,tick-hz-32_768,generic-queue-8 \ |     --- build --release --manifest-path embassy-time/Cargo.toml --target thumbv6m-none-eabi --features defmt,defmt-timestamp-uptime,tick-hz-32_768,generic-queue-8 \ | ||||||
|     --- build --release --manifest-path embassy-net/Cargo.toml --target thumbv7em-none-eabi --features defmt,tcp,udp,dns,proto-ipv4,medium-ethernet \ |     --- build --release --manifest-path embassy-net/Cargo.toml --target thumbv7em-none-eabi --features defmt,tcp,udp,dns,proto-ipv4,medium-ethernet \ | ||||||
| @@ -140,7 +138,6 @@ cargo batch  \ | |||||||
|     --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-irq/Cargo.toml --target thumbv7em-none-eabi \ |     --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-irq/Cargo.toml --target thumbv7em-none-eabi \ | ||||||
|     --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-async/Cargo.toml --target thumbv7em-none-eabi \ |     --- build --release --manifest-path docs/modules/ROOT/examples/layer-by-layer/blinky-async/Cargo.toml --target thumbv7em-none-eabi \ | ||||||
|     --- build --release --manifest-path examples/nrf52840/Cargo.toml --target thumbv7em-none-eabi --out-dir out/examples/nrf52840 \ |     --- build --release --manifest-path examples/nrf52840/Cargo.toml --target thumbv7em-none-eabi --out-dir out/examples/nrf52840 \ | ||||||
|     --- build --release --manifest-path examples/nrf52840-rtic/Cargo.toml --target thumbv7em-none-eabi --out-dir out/examples/nrf52840-rtic \ |  | ||||||
|     --- build --release --manifest-path examples/nrf5340/Cargo.toml --target thumbv8m.main-none-eabihf --out-dir out/examples/nrf5340 \ |     --- build --release --manifest-path examples/nrf5340/Cargo.toml --target thumbv8m.main-none-eabihf --out-dir out/examples/nrf5340 \ | ||||||
|     --- build --release --manifest-path examples/rp/Cargo.toml --target thumbv6m-none-eabi --out-dir out/examples/rp \ |     --- build --release --manifest-path examples/rp/Cargo.toml --target thumbv6m-none-eabi --out-dir out/examples/rp \ | ||||||
|     --- build --release --manifest-path examples/stm32f0/Cargo.toml --target thumbv6m-none-eabi --out-dir out/examples/stm32f0 \ |     --- build --release --manifest-path examples/stm32f0/Cargo.toml --target thumbv6m-none-eabi --out-dir out/examples/stm32f0 \ | ||||||
|   | |||||||
							
								
								
									
										77
									
								
								ci_stable.sh
									
									
									
									
									
								
							
							
						
						
									
										77
									
								
								ci_stable.sh
									
									
									
									
									
								
							| @@ -1,77 +0,0 @@ | |||||||
| #!/bin/bash |  | ||||||
|  |  | ||||||
| set -euo pipefail |  | ||||||
|  |  | ||||||
| export RUSTFLAGS=-Dwarnings |  | ||||||
| export DEFMT_LOG=trace |  | ||||||
|  |  | ||||||
| cargo batch  \ |  | ||||||
|     --- build --release --manifest-path embassy-boot/nrf/Cargo.toml --target thumbv7em-none-eabi --features embassy-nrf/nrf52840 \ |  | ||||||
|     --- build --release --manifest-path embassy-boot/nrf/Cargo.toml --target thumbv8m.main-none-eabihf --features embassy-nrf/nrf9160-ns \ |  | ||||||
|     --- build --release --manifest-path embassy-boot/rp/Cargo.toml --target thumbv6m-none-eabi \ |  | ||||||
|     --- build --release --manifest-path embassy-boot/stm32/Cargo.toml --target thumbv7em-none-eabi --features embassy-stm32/stm32wl55jc-cm4 \ |  | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi \ |  | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features log \ |  | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv7em-none-eabi --features defmt \ |  | ||||||
|     --- build --release --manifest-path embassy-executor/Cargo.toml --target thumbv6m-none-eabi --features defmt \ |  | ||||||
|     --- build --release --manifest-path embassy-net/Cargo.toml --target thumbv7em-none-eabi --features defmt,tcp,udp,dns,proto-ipv4,medium-ethernet \ |  | ||||||
|     --- build --release --manifest-path embassy-net/Cargo.toml --target thumbv7em-none-eabi --features defmt,tcp,udp,dns,dhcpv4,medium-ethernet \ |  | ||||||
|     --- build --release --manifest-path embassy-net/Cargo.toml --target thumbv7em-none-eabi --features defmt,tcp,udp,dns,proto-ipv6,medium-ethernet \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv7em-none-eabi --features nrf52805,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv7em-none-eabi --features nrf52810,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv7em-none-eabi --features nrf52811,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv7em-none-eabi --features nrf52820,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv7em-none-eabi --features nrf52832,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv7em-none-eabi --features nrf52833,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv8m.main-none-eabihf --features nrf9160-s,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv8m.main-none-eabihf --features nrf9160-ns,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv8m.main-none-eabihf --features nrf5340-app-s,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv8m.main-none-eabihf --features nrf5340-app-ns,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv8m.main-none-eabihf --features nrf5340-net,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv7em-none-eabi --features nrf52840,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv7em-none-eabi --features nrf52840,log,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-nrf/Cargo.toml --target thumbv7em-none-eabi --features nrf52840,defmt,gpiote,time-driver-rtc1 \ |  | ||||||
|     --- build --release --manifest-path embassy-rp/Cargo.toml --target thumbv6m-none-eabi --features defmt \ |  | ||||||
|     --- build --release --manifest-path embassy-rp/Cargo.toml --target thumbv6m-none-eabi --features log \ |  | ||||||
|     --- build --release --manifest-path embassy-rp/Cargo.toml --target thumbv6m-none-eabi \ |  | ||||||
|     --- build --release --manifest-path embassy-rp/Cargo.toml --target thumbv6m-none-eabi --features qspi-as-gpio \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32g473cc,defmt,exti,time-driver-any \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32g491re,defmt,exti,time-driver-any \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32u585zi,defmt,exti,time-driver-any \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32wb55vy,defmt,exti,time-driver-any \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32wl55cc-cm4,defmt,exti,time-driver-any \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32g473cc,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32g491re,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32u585zi,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32wb55vy,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32wl55cc-cm4,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32l4r9zi,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32f303vc,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32f411ce,defmt,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32f411ce,defmt,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32f429zi,log,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32f429zi,log,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h755zi-cm7,defmt,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h755zi-cm7,defmt,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32l476vg,defmt,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32l476vg,defmt,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv6m-none-eabi --features stm32l072cz,defmt,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv6m-none-eabi --features stm32l072cz,defmt,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7m-none-eabi --features stm32l151cb-a,defmt,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7m-none-eabi --features stm32l151cb-a,defmt,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32f410tb,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32f410tb,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32f429zi,log,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32f429zi,log,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h755zi-cm7,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h755zi-cm7,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32l476vg,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32l476vg,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv6m-none-eabi --features stm32l072cz,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv6m-none-eabi --features stm32l072cz,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7m-none-eabi --features stm32l151cb-a,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7m-none-eabi --features stm32l151cb-a,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7m-none-eabi --features stm32f217zg,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path embassy-stm32/Cargo.toml --target thumbv7m-none-eabi --features stm32f217zg,defmt,exti,time-driver-any,time \ |  | ||||||
|     --- build --release --manifest-path examples/nrf52840/Cargo.toml --target thumbv7em-none-eabi --no-default-features --out-dir out/examples/nrf52840 --bin raw_spawn \ |  | ||||||
|     --- build --release --manifest-path examples/stm32l0/Cargo.toml --target thumbv6m-none-eabi --no-default-features --out-dir out/examples/stm32l0 --bin raw_spawn \ |  | ||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0" | |||||||
| cortex-m = "0.7" | cortex-m = "0.7" | ||||||
| cortex-m-rt = "0.7" | cortex-m-rt = "0.7" | ||||||
| embassy-stm32 = { version = "0.1.0", features = ["stm32l475vg", "memory-x", "exti"]  } | embassy-stm32 = { version = "0.1.0", features = ["stm32l475vg", "memory-x", "exti"]  } | ||||||
| embassy-executor = { version = "0.4.0", features = ["nightly", "arch-cortex-m", "executor-thread"] } | embassy-executor = { version = "0.4.0", features = ["arch-cortex-m", "executor-thread"] } | ||||||
|  |  | ||||||
| defmt = "0.3.0" | defmt = "0.3.0" | ||||||
| defmt-rtt = "0.3.0" | defmt-rtt = "0.3.0" | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
| use embassy_stm32::exti::ExtiInput; | use embassy_stm32::exti::ExtiInput; | ||||||
|   | |||||||
| @@ -14,7 +14,7 @@ categories = [ | |||||||
| [package.metadata.embassy_docs] | [package.metadata.embassy_docs] | ||||||
| src_base = "https://github.com/embassy-rs/embassy/blob/embassy-executor-v$VERSION/embassy-executor/src/" | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-executor-v$VERSION/embassy-executor/src/" | ||||||
| src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-executor/src/" | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-executor/src/" | ||||||
| features = ["nightly", "defmt"] | features = ["defmt"] | ||||||
| flavors = [ | flavors = [ | ||||||
|     { name = "std",             target = "x86_64-unknown-linux-gnu",     features = ["arch-std", "executor-thread"] }, |     { name = "std",             target = "x86_64-unknown-linux-gnu",     features = ["arch-std", "executor-thread"] }, | ||||||
|     { name = "wasm",            target = "wasm32-unknown-unknown",       features = ["arch-wasm", "executor-thread"] }, |     { name = "wasm",            target = "wasm32-unknown-unknown",       features = ["arch-wasm", "executor-thread"] }, | ||||||
| @@ -25,7 +25,7 @@ flavors = [ | |||||||
| [package.metadata.docs.rs] | [package.metadata.docs.rs] | ||||||
| default-target = "thumbv7em-none-eabi" | default-target = "thumbv7em-none-eabi" | ||||||
| targets = ["thumbv7em-none-eabi"] | targets = ["thumbv7em-none-eabi"] | ||||||
| features = ["nightly", "defmt", "arch-cortex-m", "executor-thread", "executor-interrupt"] | features = ["defmt", "arch-cortex-m", "executor-thread", "executor-interrupt"] | ||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| defmt = { version = "0.3", optional = true } | defmt = { version = "0.3", optional = true } | ||||||
|   | |||||||
| @@ -87,5 +87,5 @@ pio = {version= "0.2.1" } | |||||||
| rp2040-boot2 = "0.3" | rp2040-boot2 = "0.3" | ||||||
|  |  | ||||||
| [dev-dependencies] | [dev-dependencies] | ||||||
| embassy-executor = { version = "0.4.0", path = "../embassy-executor", features = ["nightly", "arch-std", "executor-thread"] } | embassy-executor = { version = "0.4.0", path = "../embassy-executor", features = ["arch-std", "executor-thread"] } | ||||||
| static_cell = { version = "2" } | static_cell = { version = "2" } | ||||||
|   | |||||||
| @@ -247,7 +247,6 @@ select_bootloader! { | |||||||
| /// # Usage | /// # Usage | ||||||
| /// | /// | ||||||
| /// ```no_run | /// ```no_run | ||||||
| /// #![feature(type_alias_impl_trait)] |  | ||||||
| /// use embassy_rp::install_core0_stack_guard; | /// use embassy_rp::install_core0_stack_guard; | ||||||
| /// use embassy_executor::{Executor, Spawner}; | /// use embassy_executor::{Executor, Spawner}; | ||||||
| /// | /// | ||||||
|   | |||||||
| @@ -11,7 +11,6 @@ | |||||||
| //! # Usage | //! # Usage | ||||||
| //! | //! | ||||||
| //! ```no_run | //! ```no_run | ||||||
| //! # #![feature(type_alias_impl_trait)] |  | ||||||
| //! use embassy_rp::multicore::Stack; | //! use embassy_rp::multicore::Stack; | ||||||
| //! use static_cell::StaticCell; | //! use static_cell::StaticCell; | ||||||
| //! use embassy_executor::Executor; | //! use embassy_executor::Executor; | ||||||
|   | |||||||
| @@ -26,7 +26,7 @@ aligned = "0.4.1" | |||||||
|  |  | ||||||
| bit_field = "0.10.2" | bit_field = "0.10.2" | ||||||
| stm32-device-signature = { version = "0.3.3", features = ["stm32wb5x"] } | stm32-device-signature = { version = "0.3.3", features = ["stm32wb5x"] } | ||||||
| stm32wb-hci = { version = "0.1.4", optional = true } | stm32wb-hci = { git = "https://github.com/Dirbaio/stm32wb-hci", rev = "0aff47e009c30c5fc5d520672625173d75f7505c", optional = true } | ||||||
| futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | ||||||
| bitflags = { version = "2.3.3", optional = true } | bitflags = { version = "2.3.3", optional = true } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -23,6 +23,10 @@ use crate::pac::bdma::{regs, vals}; | |||||||
| #[non_exhaustive] | #[non_exhaustive] | ||||||
| pub struct TransferOptions { | pub struct TransferOptions { | ||||||
|     /// Enable circular DMA |     /// Enable circular DMA | ||||||
|  |     /// | ||||||
|  |     /// Note: | ||||||
|  |     /// If you enable circular mode manually, you may want to build and `.await` the `Transfer` in a separate task. | ||||||
|  |     /// Since DMA in circular mode need manually stop, `.await` in current task would block the task forever. | ||||||
|     pub circular: bool, |     pub circular: bool, | ||||||
|     /// Enable half transfer interrupt |     /// Enable half transfer interrupt | ||||||
|     pub half_transfer_ir: bool, |     pub half_transfer_ir: bool, | ||||||
|   | |||||||
| @@ -30,6 +30,10 @@ pub struct TransferOptions { | |||||||
|     /// FIFO threshold for DMA FIFO mode. If none, direct mode is used. |     /// FIFO threshold for DMA FIFO mode. If none, direct mode is used. | ||||||
|     pub fifo_threshold: Option<FifoThreshold>, |     pub fifo_threshold: Option<FifoThreshold>, | ||||||
|     /// Enable circular DMA |     /// Enable circular DMA | ||||||
|  |     /// | ||||||
|  |     /// Note: | ||||||
|  |     /// If you enable circular mode manually, you may want to build and `.await` the `Transfer` in a separate task. | ||||||
|  |     /// Since DMA in circular mode need manually stop, `.await` in current task would block the task forever. | ||||||
|     pub circular: bool, |     pub circular: bool, | ||||||
|     /// Enable half transfer interrupt |     /// Enable half transfer interrupt | ||||||
|     pub half_transfer_ir: bool, |     pub half_transfer_ir: bool, | ||||||
|   | |||||||
| @@ -47,9 +47,6 @@ impl Timer { | |||||||
|     /// |     /// | ||||||
|     /// Example: |     /// Example: | ||||||
|     /// ``` no_run |     /// ``` no_run | ||||||
|     /// # #![feature(type_alias_impl_trait)] |  | ||||||
|     /// # |  | ||||||
|     /// # fn foo() {} |  | ||||||
|     /// use embassy_time::{Duration, Timer}; |     /// use embassy_time::{Duration, Timer}; | ||||||
|     /// |     /// | ||||||
|     /// #[embassy_executor::task] |     /// #[embassy_executor::task] | ||||||
| @@ -132,8 +129,6 @@ impl Future for Timer { | |||||||
| /// | /// | ||||||
| /// For instance, consider the following code fragment. | /// For instance, consider the following code fragment. | ||||||
| /// ``` no_run | /// ``` no_run | ||||||
| /// # #![feature(type_alias_impl_trait)] |  | ||||||
| /// # |  | ||||||
| /// use embassy_time::{Duration, Timer}; | /// use embassy_time::{Duration, Timer}; | ||||||
| /// # fn foo() {} | /// # fn foo() {} | ||||||
| /// | /// | ||||||
| @@ -152,8 +147,6 @@ impl Future for Timer { | |||||||
| /// Example using ticker, which will consistently call `foo` once a second. | /// Example using ticker, which will consistently call `foo` once a second. | ||||||
| /// | /// | ||||||
| /// ``` no_run | /// ``` no_run | ||||||
| /// # #![feature(type_alias_impl_trait)] |  | ||||||
| /// # |  | ||||||
| /// use embassy_time::{Duration, Ticker}; | /// use embassy_time::{Duration, Ticker}; | ||||||
| /// # fn foo(){} | /// # fn foo(){} | ||||||
| /// | /// | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0" | |||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | ||||||
| embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "nightly", "integrated-timers", "arch-cortex-m", "executor-thread"] } | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "integrated-timers", "arch-cortex-m", "executor-thread"] } | ||||||
| embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [] } | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [] } | ||||||
| embassy-nrf = { version = "0.1.0", path = "../../../../embassy-nrf", features = ["time-driver-rtc1", "gpiote", ] } | embassy-nrf = { version = "0.1.0", path = "../../../../embassy-nrf", features = ["time-driver-rtc1", "gpiote", ] } | ||||||
| embassy-boot = { version = "0.1.0", path = "../../../../embassy-boot/boot", features = [] } | embassy-boot = { version = "0.1.0", path = "../../../../embassy-boot/boot", features = [] } | ||||||
|   | |||||||
| @@ -1,7 +1,6 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![macro_use] | #![macro_use] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use embassy_boot_nrf::{FirmwareUpdater, FirmwareUpdaterConfig}; | use embassy_boot_nrf::{FirmwareUpdater, FirmwareUpdaterConfig}; | ||||||
| use embassy_embedded_hal::adapter::BlockingAsync; | use embassy_embedded_hal::adapter::BlockingAsync; | ||||||
|   | |||||||
| @@ -1,7 +1,6 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![macro_use] | #![macro_use] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
| use embassy_nrf::gpio::{Level, Output, OutputDrive}; | use embassy_nrf::gpio::{Level, Output, OutputDrive}; | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0" | |||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | ||||||
| embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "nightly", "integrated-timers", "arch-cortex-m", "executor-thread"] } | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "integrated-timers", "arch-cortex-m", "executor-thread"] } | ||||||
| embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [] } | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [] } | ||||||
| embassy-rp = { version = "0.1.0", path = "../../../../embassy-rp", features = ["time-driver", ] } | embassy-rp = { version = "0.1.0", path = "../../../../embassy-rp", features = ["time-driver", ] } | ||||||
| embassy-boot-rp = { version = "0.1.0", path = "../../../../embassy-boot/rp", features = [] } | embassy-boot-rp = { version = "0.1.0", path = "../../../../embassy-boot/rp", features = [] } | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::cell::RefCell; | use core::cell::RefCell; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
| use embassy_rp::gpio; | use embassy_rp::gpio; | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0" | |||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | ||||||
| embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "nightly", "integrated-timers"] } | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "integrated-timers"] } | ||||||
| embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | ||||||
| embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32f303re", "time-driver-any", "exti"]  } | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32f303re", "time-driver-any", "exti"]  } | ||||||
| embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32" } | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32" } | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| #[cfg(feature = "defmt-rtt")] | #[cfg(feature = "defmt-rtt")] | ||||||
| use defmt_rtt::*; | use defmt_rtt::*; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| #[cfg(feature = "defmt-rtt")] | #[cfg(feature = "defmt-rtt")] | ||||||
| use defmt_rtt::*; | use defmt_rtt::*; | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0" | |||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | ||||||
| embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "nightly", "integrated-timers"] } | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "integrated-timers"] } | ||||||
| embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | ||||||
| embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32f767zi", "time-driver-any", "exti"]  } | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32f767zi", "time-driver-any", "exti"]  } | ||||||
| embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::cell::RefCell; | use core::cell::RefCell; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| #[cfg(feature = "defmt-rtt")] | #[cfg(feature = "defmt-rtt")] | ||||||
| use defmt_rtt::*; | use defmt_rtt::*; | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0" | |||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | ||||||
| embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "nightly", "integrated-timers"] } | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "integrated-timers"] } | ||||||
| embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | ||||||
| embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32h743zi", "time-driver-any", "exti"]  } | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32h743zi", "time-driver-any", "exti"]  } | ||||||
| embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::cell::RefCell; | use core::cell::RefCell; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| #[cfg(feature = "defmt-rtt")] | #[cfg(feature = "defmt-rtt")] | ||||||
| use defmt_rtt::*; | use defmt_rtt::*; | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0" | |||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | ||||||
| embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "nightly", "integrated-timers"] } | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "integrated-timers"] } | ||||||
| embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | ||||||
| embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32l072cz", "time-driver-any", "exti", "memory-x"]  } | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32l072cz", "time-driver-any", "exti", "memory-x"]  } | ||||||
| embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| #[cfg(feature = "defmt-rtt")] | #[cfg(feature = "defmt-rtt")] | ||||||
| use defmt_rtt::*; | use defmt_rtt::*; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| #[cfg(feature = "defmt-rtt")] | #[cfg(feature = "defmt-rtt")] | ||||||
| use defmt_rtt::*; | use defmt_rtt::*; | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0" | |||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | ||||||
| embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "nightly", "integrated-timers"] } | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "integrated-timers"] } | ||||||
| embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | ||||||
| embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32l151cb-a", "time-driver-any", "exti"]  } | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32l151cb-a", "time-driver-any", "exti"]  } | ||||||
| embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| #[cfg(feature = "defmt-rtt")] | #[cfg(feature = "defmt-rtt")] | ||||||
| use defmt_rtt::*; | use defmt_rtt::*; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| #[cfg(feature = "defmt-rtt")] | #[cfg(feature = "defmt-rtt")] | ||||||
| use defmt_rtt::*; | use defmt_rtt::*; | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0" | |||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | ||||||
| embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "nightly", "integrated-timers"] } | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "integrated-timers"] } | ||||||
| embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | ||||||
| embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "time-driver-any", "exti"]  } | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32l475vg", "time-driver-any", "exti"]  } | ||||||
| embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| #[cfg(feature = "defmt-rtt")] | #[cfg(feature = "defmt-rtt")] | ||||||
| use defmt_rtt::*; | use defmt_rtt::*; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| #[cfg(feature = "defmt-rtt")] | #[cfg(feature = "defmt-rtt")] | ||||||
| use defmt_rtt::*; | use defmt_rtt::*; | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0" | |||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | ||||||
| embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "nightly", "integrated-timers"] } | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "integrated-timers"] } | ||||||
| embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | ||||||
| embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32wb55rg", "time-driver-any", "exti"]  } | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32wb55rg", "time-driver-any", "exti"]  } | ||||||
| embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::cell::RefCell; | use core::cell::RefCell; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0" | |||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | embassy-sync = { version = "0.5.0", path = "../../../../embassy-sync" } | ||||||
| embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "nightly", "integrated-timers"] } | embassy-executor = { version = "0.4.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "integrated-timers"] } | ||||||
| embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | embassy-time = { version = "0.2", path = "../../../../embassy-time", features = [ "tick-hz-32_768"] } | ||||||
| embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32wl55jc-cm4", "time-driver-any", "exti"]  } | embassy-stm32 = { version = "0.1.0", path = "../../../../embassy-stm32", features = ["stm32wl55jc-cm4", "time-driver-any", "exti"]  } | ||||||
| embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | embassy-boot-stm32 = { version = "0.1.0", path = "../../../../embassy-boot/stm32", features = [] } | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| #[cfg(feature = "defmt-rtt")] | #[cfg(feature = "defmt-rtt")] | ||||||
| use defmt_rtt::*; | use defmt_rtt::*; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| #[cfg(feature = "defmt-rtt")] | #[cfg(feature = "defmt-rtt")] | ||||||
| use defmt_rtt::*; | use defmt_rtt::*; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::future::poll_fn; | use core::future::poll_fn; | ||||||
| use core::task::Poll; | use core::task::Poll; | ||||||
|   | |||||||
| @@ -4,12 +4,6 @@ name = "embassy-nrf52840-examples" | |||||||
| version = "0.1.0" | version = "0.1.0" | ||||||
| license = "MIT OR Apache-2.0" | license = "MIT OR Apache-2.0" | ||||||
|  |  | ||||||
| [features] |  | ||||||
| default = ["nightly"] |  | ||||||
| nightly = [ |  | ||||||
|     "static_cell/nightly", |  | ||||||
| ] |  | ||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } | embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } | ||||||
| embassy-sync = { version = "0.5.0", path = "../../embassy-sync", features = ["defmt"] } | embassy-sync = { version = "0.5.0", path = "../../embassy-sync", features = ["defmt"] } | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
| use embassy_nrf::gpio::{Level, Output, OutputDrive}; | use embassy_nrf::gpio::{Level, Output, OutputDrive}; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::unwrap; | use defmt::unwrap; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::unwrap; | use defmt::unwrap; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::future::poll_fn; | use core::future::poll_fn; | ||||||
| use core::task::Poll; | use core::task::Poll; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::info; | use defmt::info; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::{info, unwrap}; | use defmt::{info, unwrap}; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::f32::consts::PI; | use core::f32::consts::PI; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::{debug, error, info}; | use defmt::{debug, error, info}; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::f32::consts::PI; | use core::f32::consts::PI; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -3,7 +3,6 @@ | |||||||
|  |  | ||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use cortex_m_rt::entry; | use cortex_m_rt::entry; | ||||||
| use defmt::{info, unwrap}; | use defmt::{info, unwrap}; | ||||||
|   | |||||||
| @@ -55,7 +55,6 @@ | |||||||
|  |  | ||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use cortex_m_rt::entry; | use cortex_m_rt::entry; | ||||||
| use defmt::{info, unwrap}; | use defmt::{info, unwrap}; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::{info, unwrap}; | use defmt::{info, unwrap}; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::{info, unwrap}; | use defmt::{info, unwrap}; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::info; | use defmt::info; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::cmp::Ordering; | use core::cmp::Ordering; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::future::pending; | use core::future::pending; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::unwrap; | use defmt::unwrap; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::future::pending; | use core::future::pending; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::info; | use defmt::info; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::{assert_eq, info, unwrap}; | use defmt::{assert_eq, info, unwrap}; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::mem; | use core::mem; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
| use embassy_nrf::rng::Rng; | use embassy_nrf::rng::Rng; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::info; | use defmt::info; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::info; | use defmt::info; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::{info, unwrap}; | use defmt::{info, unwrap}; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::{info, unwrap}; | use defmt::{info, unwrap}; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::{info, unwrap}; | use defmt::{info, unwrap}; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::info; | use defmt::info; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::info; | use defmt::info; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::{info, unwrap}; | use defmt::{info, unwrap}; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -4,7 +4,6 @@ | |||||||
|  |  | ||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -6,7 +6,6 @@ | |||||||
|  |  | ||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::mem; | use core::mem; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -2,7 +2,6 @@ | |||||||
|  |  | ||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::mem; | use core::mem; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::mem; | use core::mem; | ||||||
| use core::sync::atomic::{AtomicBool, Ordering}; | use core::sync::atomic::{AtomicBool, Ordering}; | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::mem; | use core::mem; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::mem; | use core::mem; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::mem; | use core::mem; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use core::mem; | use core::mem; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,5 @@ | |||||||
| #![no_std] | #![no_std] | ||||||
| #![no_main] | #![no_main] | ||||||
| #![feature(type_alias_impl_trait)] |  | ||||||
|  |  | ||||||
| use defmt::*; | use defmt::*; | ||||||
| use embassy_executor::Spawner; | use embassy_executor::Spawner; | ||||||
|   | |||||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user