Update heapless
This commit is contained in:
parent
cdd5808b51
commit
7d869bdec8
@ -25,7 +25,7 @@ log = { version = "0.4.11", optional = true }
|
|||||||
embassy = { version = "0.1.0", path = "../embassy" }
|
embassy = { version = "0.1.0", path = "../embassy" }
|
||||||
|
|
||||||
managed = { version = "0.8.0", default-features = false, features = [ "map" ]}
|
managed = { version = "0.8.0", default-features = false, features = [ "map" ]}
|
||||||
heapless = { version = "0.5.6", default-features = false }
|
heapless = { version = "0.7.1", default-features = false }
|
||||||
as-slice = { version = "0.1.4" }
|
as-slice = { version = "0.1.4" }
|
||||||
generic-array = { version = "0.14.4", default-features = false }
|
generic-array = { version = "0.14.4", default-features = false }
|
||||||
stable_deref_trait = { version = "1.2.0", default-features = false }
|
stable_deref_trait = { version = "1.2.0", default-features = false }
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
use heapless::consts::*;
|
|
||||||
use heapless::Vec;
|
use heapless::Vec;
|
||||||
use smoltcp::time::Instant;
|
use smoltcp::time::Instant;
|
||||||
use smoltcp::wire::{Ipv4Address, Ipv4Cidr};
|
use smoltcp::wire::{Ipv4Address, Ipv4Cidr};
|
||||||
@ -29,7 +28,7 @@ pub enum Event {
|
|||||||
pub struct Config {
|
pub struct Config {
|
||||||
pub address: Ipv4Cidr,
|
pub address: Ipv4Cidr,
|
||||||
pub gateway: Option<Ipv4Address>,
|
pub gateway: Option<Ipv4Address>,
|
||||||
pub dns_servers: Vec<Ipv4Address, U3>,
|
pub dns_servers: Vec<Ipv4Address, 3>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub trait Configurator {
|
pub trait Configurator {
|
||||||
|
@ -18,4 +18,4 @@ nix = "0.21.0"
|
|||||||
libc = "0.2.81"
|
libc = "0.2.81"
|
||||||
clap = { version = "3.0.0-beta.2", features = ["derive"] }
|
clap = { version = "3.0.0-beta.2", features = ["derive"] }
|
||||||
rand_core = { version = "0.6.0", features = ["std"] }
|
rand_core = { version = "0.6.0", features = ["std"] }
|
||||||
heapless = { version = "0.5.6", default-features = false }
|
heapless = { version = "0.7.1", default-features = false }
|
||||||
|
@ -32,4 +32,4 @@ embedded-hal = { version = "0.2.4" }
|
|||||||
panic-probe = { version = "0.2.0", features= ["print-defmt"] }
|
panic-probe = { version = "0.2.0", features= ["print-defmt"] }
|
||||||
futures = { version = "0.3.8", default-features = false, features = ["async-await"] }
|
futures = { version = "0.3.8", default-features = false, features = ["async-await"] }
|
||||||
rtt-target = { version = "0.3", features = ["cortex-m"] }
|
rtt-target = { version = "0.3", features = ["cortex-m"] }
|
||||||
heapless = "0.7"
|
heapless = { version = "0.7.1", default-features = false }
|
Loading…
Reference in New Issue
Block a user