add readmes and cmd-cli
This commit is contained in:
parent
17a8e573c0
commit
6b7a10f532
11 changed files with 502 additions and 5 deletions
|
@ -13,6 +13,7 @@ use embassy_executor::Spawner;
|
|||
use embassy_net::Stack;
|
||||
use embassy_time::Timer;
|
||||
use flash::{Config, FlashError};
|
||||
use mqtt_protocol::publish::MAX_TOPIC_LENGTH;
|
||||
use static_cell::StaticCell;
|
||||
use temperature::{temperature_task, Temperature};
|
||||
use usb_serial::{init_usb, usb_task};
|
||||
|
|
|
@ -35,7 +35,7 @@ async fn net_task(stack: &'static Stack<cyw43::NetDriver<'static>>) -> ! {
|
|||
|
||||
static STATE: StaticCell<State> = StaticCell::new();
|
||||
static STACK: StaticCell<Stack<cyw43::NetDriver<'static>>> = StaticCell::new();
|
||||
const STACK_RESOURCES_COUNT: usize = 2;
|
||||
const STACK_RESOURCES_COUNT: usize = 5;
|
||||
static STACK_RESOURCES: StaticCell<StackResources<STACK_RESOURCES_COUNT>> = StaticCell::new();
|
||||
|
||||
// Initialise the wwifi chip of the RP2040 and return the control interface as well as the network
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue