add readmes and cmd-cli

This commit is contained in:
Sebastian Hugentobler 2024-11-18 07:57:13 +01:00
parent 17a8e573c0
commit 6b7a10f532
Signed by: shu
GPG key ID: BB32CF3CA052C2F0
11 changed files with 502 additions and 5 deletions

View file

@ -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};

View file

@ -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