Update heapless

This commit is contained in:
Dario Nieuwenhuis 2021-06-04 01:24:14 +02:00
parent cdd5808b51
commit 7d869bdec8
4 changed files with 4 additions and 5 deletions

View File

@ -25,7 +25,7 @@ log = { version = "0.4.11", optional = true }
embassy = { version = "0.1.0", path = "../embassy" }
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" }
generic-array = { version = "0.14.4", default-features = false }
stable_deref_trait = { version = "1.2.0", default-features = false }

View File

@ -1,4 +1,3 @@
use heapless::consts::*;
use heapless::Vec;
use smoltcp::time::Instant;
use smoltcp::wire::{Ipv4Address, Ipv4Cidr};
@ -29,7 +28,7 @@ pub enum Event {
pub struct Config {
pub address: Ipv4Cidr,
pub gateway: Option<Ipv4Address>,
pub dns_servers: Vec<Ipv4Address, U3>,
pub dns_servers: Vec<Ipv4Address, 3>,
}
pub trait Configurator {

View File

@ -18,4 +18,4 @@ nix = "0.21.0"
libc = "0.2.81"
clap = { version = "3.0.0-beta.2", features = ["derive"] }
rand_core = { version = "0.6.0", features = ["std"] }
heapless = { version = "0.5.6", default-features = false }
heapless = { version = "0.7.1", default-features = false }

View File

@ -32,4 +32,4 @@ embedded-hal = { version = "0.2.4" }
panic-probe = { version = "0.2.0", features= ["print-defmt"] }
futures = { version = "0.3.8", default-features = false, features = ["async-await"] }
rtt-target = { version = "0.3", features = ["cortex-m"] }
heapless = "0.7"
heapless = { version = "0.7.1", default-features = false }