Fix rngcore imports in examples
This commit is contained in:
parent
1456900281
commit
080b5869da
3 changed files with 6 additions and 0 deletions
examples/rp/src/bin
|
@ -13,11 +13,13 @@ use embassy_executor::Spawner;
|
|||
use embassy_net::tcp::TcpSocket;
|
||||
use embassy_net::{Config, Stack, StackResources};
|
||||
use embassy_rp::bind_interrupts;
|
||||
use embassy_rp::clocks::RoscRng;
|
||||
use embassy_rp::gpio::{Level, Output};
|
||||
use embassy_rp::peripherals::{DMA_CH0, PIO0};
|
||||
use embassy_rp::pio::{InterruptHandler, Pio};
|
||||
use embassy_time::Duration;
|
||||
use embedded_io_async::Write;
|
||||
use rand::RngCore;
|
||||
use static_cell::StaticCell;
|
||||
use {defmt_rtt as _, panic_probe as _};
|
||||
|
||||
|
|
|
@ -13,11 +13,13 @@ use embassy_executor::Spawner;
|
|||
use embassy_net::tcp::TcpSocket;
|
||||
use embassy_net::{Config, Stack, StackResources};
|
||||
use embassy_rp::bind_interrupts;
|
||||
use embassy_rp::clocks::RoscRng;
|
||||
use embassy_rp::gpio::{Level, Output};
|
||||
use embassy_rp::peripherals::{DMA_CH0, PIO0};
|
||||
use embassy_rp::pio::{InterruptHandler, Pio};
|
||||
use embassy_time::{Duration, Timer};
|
||||
use embedded_io_async::Write;
|
||||
use rand::RngCore;
|
||||
use static_cell::StaticCell;
|
||||
use {defmt_rtt as _, panic_probe as _};
|
||||
|
||||
|
|
|
@ -14,10 +14,12 @@ use embassy_net::dns::DnsSocket;
|
|||
use embassy_net::tcp::client::{TcpClient, TcpClientState};
|
||||
use embassy_net::{Config, Stack, StackResources};
|
||||
use embassy_rp::bind_interrupts;
|
||||
use embassy_rp::clocks::RoscRng;
|
||||
use embassy_rp::gpio::{Level, Output};
|
||||
use embassy_rp::peripherals::{DMA_CH0, PIO0};
|
||||
use embassy_rp::pio::{InterruptHandler, Pio};
|
||||
use embassy_time::{Duration, Timer};
|
||||
use rand::RngCore;
|
||||
use reqwless::client::{HttpClient, TlsConfig, TlsVerify};
|
||||
use reqwless::request::Method;
|
||||
use serde::Deserialize;
|
||||
|
|
Loading…
Add table
Reference in a new issue