Merge pull request #2223 from embassy-rs/use-executor-arena

tests: use executor task arena instead of TAIT.
This commit is contained in:
Dario Nieuwenhuis 2023-11-27 01:27:13 +00:00 committed by GitHub
commit e5fdd35bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
42 changed files with 5 additions and 43 deletions

View File

@ -9,7 +9,7 @@ teleprobe-meta = "1"
embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
embassy-sync = { version = "0.4.0", path = "../../embassy-sync", features = ["defmt", "nightly"] } embassy-sync = { version = "0.4.0", path = "../../embassy-sync", features = ["defmt", "nightly"] }
embassy-executor = { version = "0.3.3", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "nightly", "integrated-timers"] } embassy-executor = { version = "0.3.3", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "task-arena-size-16384", "integrated-timers"] }
embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "nightly", "unstable-traits", "defmt-timestamp-uptime"] } embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "nightly", "unstable-traits", "defmt-timestamp-uptime"] }
embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nightly", "unstable-traits", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac"] } embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nightly", "unstable-traits", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac"] }
embedded-io-async = { version = "0.6.0", features = ["defmt-03"] } embedded-io-async = { version = "0.6.0", features = ["defmt-03"] }

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"nrf52840-dk"); teleprobe_meta::target!(b"nrf52840-dk");
use defmt::{assert_eq, *}; use defmt::{assert_eq, *};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"nrf52840-dk"); teleprobe_meta::target!(b"nrf52840-dk");
use defmt::{assert_eq, *}; use defmt::{assert_eq, *};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"nrf52840-dk"); teleprobe_meta::target!(b"nrf52840-dk");
use core::mem; use core::mem;

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"nrf52840-dk"); teleprobe_meta::target!(b"nrf52840-dk");
use defmt::{assert, info}; use defmt::{assert, info};

View File

@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"
[dependencies] [dependencies]
critical-section = { version = "1.1.1", features = ["restore-state-bool"] } critical-section = { version = "1.1.1", features = ["restore-state-bool"] }
embassy-sync = { version = "0.4.0", path = "../../embassy-sync" } embassy-sync = { version = "0.4.0", path = "../../embassy-sync" }
embassy-executor = { version = "0.3.3", path = "../../embassy-executor", features = ["arch-riscv32", "nightly", "executor-thread"] } embassy-executor = { version = "0.3.3", path = "../../embassy-executor", features = ["arch-riscv32", "executor-thread"] }
embassy-time = { version = "0.1.5", path = "../../embassy-time" } embassy-time = { version = "0.1.5", path = "../../embassy-time" }
embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }

View File

@ -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;

View File

@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
teleprobe-meta = "1.1" teleprobe-meta = "1.1"
embassy-sync = { version = "0.4.0", path = "../../embassy-sync", features = ["defmt"] } embassy-sync = { version = "0.4.0", path = "../../embassy-sync", features = ["defmt"] }
embassy-executor = { version = "0.3.3", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } embassy-executor = { version = "0.3.3", path = "../../embassy-executor", features = ["task-arena-size-32768", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "nightly", "unstable-traits"] } embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "nightly", "unstable-traits"] }
embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["nightly", "defmt", "unstable-pac", "unstable-traits", "time-driver", "critical-section-impl", "intrinsics", "rom-v2-intrinsics", "run-from-ram"] } embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["nightly", "defmt", "unstable-pac", "unstable-traits", "time-driver", "critical-section-impl", "intrinsics", "rom-v2-intrinsics", "run-from-ram"] }
embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::*; use defmt::*;

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{assert_eq, *}; use defmt::{assert_eq, *};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{assert_eq, *}; use defmt::{assert_eq, *};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::*; use defmt::*;

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::*; use defmt::*;

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{assert, *}; use defmt::{assert, *};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{assert, *}; use defmt::{assert, *};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{info, unwrap}; use defmt::{info, unwrap};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{assert_eq, info, panic, unwrap}; use defmt::{assert_eq, info, panic, unwrap};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{info, unwrap}; use defmt::{info, unwrap};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::info; use defmt::info;

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::info; use defmt::info;

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{assert, assert_eq, assert_ne, *}; use defmt::{assert, assert_eq, assert_ne, *};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{assert_eq, *}; use defmt::{assert_eq, *};

View File

@ -3,7 +3,6 @@
//! //!
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{assert_eq, *}; use defmt::{assert_eq, *};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{assert_eq, *}; use defmt::{assert_eq, *};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{assert_eq, panic, *}; use defmt::{assert_eq, panic, *};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{assert_eq, *}; use defmt::{assert_eq, *};

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
teleprobe_meta::target!(b"rpi-pico"); teleprobe_meta::target!(b"rpi-pico");
use defmt::{assert_eq, *}; use defmt::{assert_eq, *};

View File

@ -31,7 +31,7 @@ stm32wb55rg = ["embassy-stm32/stm32wb55rg", "chrono", "not-gpdma", "ble", "mac"
stm32wba52cg = ["embassy-stm32/stm32wba52cg", "chrono", "rng"] stm32wba52cg = ["embassy-stm32/stm32wba52cg", "chrono", "rng"]
stm32wl55jc = ["embassy-stm32/stm32wl55jc-cm4", "not-gpdma", "rng", "chrono"] stm32wl55jc = ["embassy-stm32/stm32wl55jc-cm4", "not-gpdma", "rng", "chrono"]
eth = [] eth = ["embassy-executor/task-arena-size-16384"]
rng = [] rng = []
sdmmc = [] sdmmc = []
stop = ["embassy-stm32/low-power", "embassy-stm32/low-power-debug-with-sleep"] stop = ["embassy-stm32/low-power", "embassy-stm32/low-power-debug-with-sleep"]
@ -49,7 +49,7 @@ cm0 = ["portable-atomic/unsafe-assume-single-core"]
teleprobe-meta = "1" teleprobe-meta = "1"
embassy-sync = { version = "0.4.0", path = "../../embassy-sync", features = ["defmt"] } embassy-sync = { version = "0.4.0", path = "../../embassy-sync", features = ["defmt"] }
embassy-executor = { version = "0.3.3", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] } embassy-executor = { version = "0.3.3", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "tick-hz-131_072", "defmt-timestamp-uptime"] } embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "tick-hz-131_072", "defmt-timestamp-uptime"] }
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "unstable-pac", "memory-x", "time-driver-any"] } embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "unstable-pac", "memory-x", "time-driver-any"] }
embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
// required-features: can // required-features: can

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
// required-features: dac-adc-pin // required-features: dac-adc-pin

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
#[path = "../common.rs"] #[path = "../common.rs"]
mod common; mod common;

View File

@ -1,7 +1,6 @@
// required-features: rng // required-features: rng
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
#[path = "../common.rs"] #[path = "../common.rs"]
mod common; mod common;

View File

@ -2,7 +2,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
#[path = "../common.rs"] #[path = "../common.rs"]
mod common; mod common;

View File

@ -1,7 +1,6 @@
// required-features: sdmmc // required-features: sdmmc
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
#[path = "../common.rs"] #[path = "../common.rs"]
mod common; mod common;

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
#[path = "../common.rs"] #[path = "../common.rs"]
mod common; mod common;

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
#[path = "../common.rs"] #[path = "../common.rs"]
mod common; mod common;

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
#[path = "../common.rs"] #[path = "../common.rs"]
mod common; mod common;

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
#[path = "../common.rs"] #[path = "../common.rs"]
mod common; mod common;

View File

@ -1,6 +1,5 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
#[path = "../common.rs"] #[path = "../common.rs"]
mod common; mod common;

View File

@ -2,7 +2,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
#[path = "../common.rs"] #[path = "../common.rs"]
mod common; mod common;

View File

@ -2,7 +2,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
#[path = "../common.rs"] #[path = "../common.rs"]
mod common; mod common;

View File

@ -2,7 +2,6 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
#![feature(type_alias_impl_trait)]
#[path = "../common.rs"] #[path = "../common.rs"]
mod common; mod common;