Remove unneeded crates

This commit is contained in:
hodasemi 2022-12-29 14:33:25 +01:00
parent 87ed5e675c
commit 886c8135e7
2 changed files with 0 additions and 9 deletions

View file

@ -9,8 +9,6 @@ cortex-m-rt = "0.7.2"
embedded-hal = { version = "0.2.7", features = ["unproven"] }
embedded-time = "0.12.1"
defmt = "0.3.2"
defmt-rtt = "0.4"
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
usb-device= "0.2.9"

View file

@ -7,15 +7,12 @@
mod serial;
use bsp::entry;
use defmt::*;
use defmt_rtt as _;
use embedded_hal::digital::v2::OutputPin;
use panic_probe as _;
// Provide an alias for our BSP so we can switch targets quickly.
// Uncomment the BSP you included in Cargo.toml, the rest of the code does not need to change.
use rp_pico as bsp;
// use sparkfun_pro_micro_rp2040 as bsp;
use bsp::hal::{
clocks::{init_clocks_and_plls, Clock},
@ -35,8 +32,6 @@ use crate::serial::{Commands, Serial};
#[entry]
fn main() -> ! {
info!("Program start");
let mut pac = pac::Peripherals::take().unwrap();
let core = pac::CorePeripherals::take().unwrap();
let mut watchdog = Watchdog::new(pac.WATCHDOG);
@ -98,8 +93,6 @@ fn main() -> ! {
let mut i = 0;
loop {
info!("start!");
// serial.write("test".as_bytes());
// serial_send(&mut serial, "test");