Remove nightly and unstable-traits features in preparation for 1.75.
This commit is contained in:
@ -9,10 +9,10 @@ license = "MIT OR Apache-2.0"
|
||||
embassy-embedded-hal = { version = "0.1.0", path = "../../embassy-embedded-hal", 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", "executor-interrupt", "defmt", "integrated-timers"] }
|
||||
embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["nightly", "unstable-traits", "defmt", "defmt-timestamp-uptime"] }
|
||||
embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "unstable-traits", "nightly", "unstable-pac", "time-driver", "critical-section-impl"] }
|
||||
embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime"] }
|
||||
embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "unstable-pac", "time-driver", "critical-section-impl"] }
|
||||
embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] }
|
||||
embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "udp", "dhcpv4", "medium-ethernet"] }
|
||||
embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "tcp", "udp", "dhcpv4", "medium-ethernet"] }
|
||||
embassy-net-wiznet = { version = "0.1.0", path = "../../embassy-net-wiznet", features = ["defmt"] }
|
||||
embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
|
||||
embassy-usb-logger = { version = "0.1.0", path = "../../embassy-usb-logger" }
|
||||
|
@ -9,8 +9,7 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
#![feature(type_alias_impl_trait)]
|
||||
#![feature(async_fn_in_trait)]
|
||||
#![allow(stable_features, unknown_lints, async_fn_in_trait)]
|
||||
#![allow(async_fn_in_trait)]
|
||||
|
||||
use defmt::{info, panic, trace};
|
||||
use embassy_executor::Spawner;
|
||||
@ -148,7 +147,7 @@ async fn usb_read<'d, T: Instance + 'd>(
|
||||
let n = usb_rx.read_packet(&mut buf).await?;
|
||||
let data = &buf[..n];
|
||||
trace!("USB IN: {:x}", data);
|
||||
uart_pipe_writer.write(data).await;
|
||||
(*uart_pipe_writer).write(data).await;
|
||||
}
|
||||
}
|
||||
|
||||
@ -159,7 +158,7 @@ async fn usb_write<'d, T: Instance + 'd>(
|
||||
) -> Result<(), Disconnected> {
|
||||
let mut buf = [0; 64];
|
||||
loop {
|
||||
let n = usb_pipe_reader.read(&mut buf).await;
|
||||
let n = (*usb_pipe_reader).read(&mut buf).await;
|
||||
let data = &buf[..n];
|
||||
trace!("USB OUT: {:x}", data);
|
||||
usb_tx.write_packet(&data).await?;
|
||||
@ -179,7 +178,7 @@ async fn uart_read(
|
||||
}
|
||||
let data = &buf[..n];
|
||||
trace!("UART IN: {:x}", buf);
|
||||
usb_pipe_writer.write(data).await;
|
||||
(*usb_pipe_writer).write(data).await;
|
||||
}
|
||||
}
|
||||
|
||||
@ -190,7 +189,7 @@ async fn uart_write(
|
||||
) -> ! {
|
||||
let mut buf = [0; 64];
|
||||
loop {
|
||||
let n = uart_pipe_reader.read(&mut buf).await;
|
||||
let n = (*uart_pipe_reader).read(&mut buf).await;
|
||||
let data = &buf[..n];
|
||||
trace!("UART OUT: {:x}", data);
|
||||
let _ = uart_tx.write(&data).await;
|
||||
|
@ -4,8 +4,7 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
#![feature(type_alias_impl_trait)]
|
||||
#![feature(async_fn_in_trait)]
|
||||
#![allow(stable_features, unknown_lints, async_fn_in_trait)]
|
||||
#![allow(async_fn_in_trait)]
|
||||
|
||||
use core::str::from_utf8;
|
||||
|
||||
|
@ -4,8 +4,7 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
#![feature(type_alias_impl_trait)]
|
||||
#![feature(async_fn_in_trait)]
|
||||
#![allow(stable_features, unknown_lints, async_fn_in_trait)]
|
||||
#![allow(async_fn_in_trait)]
|
||||
|
||||
use core::str;
|
||||
|
||||
|
@ -4,8 +4,7 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
#![feature(type_alias_impl_trait)]
|
||||
#![feature(async_fn_in_trait)]
|
||||
#![allow(stable_features, unknown_lints, async_fn_in_trait)]
|
||||
#![allow(async_fn_in_trait)]
|
||||
|
||||
use core::str::from_utf8;
|
||||
|
||||
|
Reference in New Issue
Block a user