mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-24 13:11:30 +11:00
Replace rp2040_hal::pio::PIOExt with bsp::hal::pio::PIOExt in BSPs
This commit is contained in:
parent
6e184a91a7
commit
978f846805
|
@ -14,6 +14,7 @@ use feather_rp2040::{
|
||||||
hal::{
|
hal::{
|
||||||
clocks::{init_clocks_and_plls, Clock},
|
clocks::{init_clocks_and_plls, Clock},
|
||||||
pac,
|
pac,
|
||||||
|
pio::PIOExt,
|
||||||
timer::Timer,
|
timer::Timer,
|
||||||
watchdog::Watchdog,
|
watchdog::Watchdog,
|
||||||
Sio,
|
Sio,
|
||||||
|
@ -21,7 +22,6 @@ use feather_rp2040::{
|
||||||
Pins, XOSC_CRYSTAL_FREQ,
|
Pins, XOSC_CRYSTAL_FREQ,
|
||||||
};
|
};
|
||||||
use panic_halt as _;
|
use panic_halt as _;
|
||||||
use rp2040_hal::pio::PIOExt;
|
|
||||||
use smart_leds::{brightness, SmartLedsWrite, RGB8};
|
use smart_leds::{brightness, SmartLedsWrite, RGB8};
|
||||||
use ws2812_pio::Ws2812;
|
use ws2812_pio::Ws2812;
|
||||||
#[link_section = ".boot2"]
|
#[link_section = ".boot2"]
|
||||||
|
|
|
@ -18,13 +18,13 @@ use kb2040::{
|
||||||
hal::{
|
hal::{
|
||||||
clocks::{init_clocks_and_plls, Clock},
|
clocks::{init_clocks_and_plls, Clock},
|
||||||
pac,
|
pac,
|
||||||
|
pio::PIOExt,
|
||||||
timer::Timer,
|
timer::Timer,
|
||||||
watchdog::Watchdog,
|
watchdog::Watchdog,
|
||||||
Sio,
|
Sio,
|
||||||
},
|
},
|
||||||
XOSC_CRYSTAL_FREQ,
|
XOSC_CRYSTAL_FREQ,
|
||||||
};
|
};
|
||||||
use rp2040_hal::pio::PIOExt;
|
|
||||||
use smart_leds::{brightness, SmartLedsWrite, RGB8};
|
use smart_leds::{brightness, SmartLedsWrite, RGB8};
|
||||||
use ws2812_pio::Ws2812;
|
use ws2812_pio::Ws2812;
|
||||||
|
|
||||||
|
|
|
@ -18,13 +18,13 @@ use pro_micro_rp2040::{
|
||||||
hal::{
|
hal::{
|
||||||
clocks::{init_clocks_and_plls, Clock},
|
clocks::{init_clocks_and_plls, Clock},
|
||||||
pac,
|
pac,
|
||||||
|
pio::PIOExt,
|
||||||
timer::Timer,
|
timer::Timer,
|
||||||
watchdog::Watchdog,
|
watchdog::Watchdog,
|
||||||
Sio,
|
Sio,
|
||||||
},
|
},
|
||||||
XOSC_CRYSTAL_FREQ,
|
XOSC_CRYSTAL_FREQ,
|
||||||
};
|
};
|
||||||
use rp2040_hal::pio::PIOExt;
|
|
||||||
use smart_leds::{brightness, SmartLedsWrite, RGB8};
|
use smart_leds::{brightness, SmartLedsWrite, RGB8};
|
||||||
use ws2812_pio::Ws2812;
|
use ws2812_pio::Ws2812;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue