firmware/zynq7000-hal/Cargo.toml aktualisiert: Replace dependency #56
@@ -28,7 +28,7 @@ embedded-hal-async = "1"
|
||||
heapless = "0.9"
|
||||
static_cell = "2"
|
||||
delegate = "0.13"
|
||||
paste = "1"
|
||||
pastey = "0.2.1"
|
||||
nb = "1"
|
||||
fugit = "0.3"
|
||||
critical-section = "1"
|
||||
|
||||
@@ -84,7 +84,7 @@ pub trait PinId {
|
||||
macro_rules! pin_id {
|
||||
($Id:ident, $num:literal) => {
|
||||
// Need paste macro to use ident in doc attribute
|
||||
paste::paste! {
|
||||
pastey::paste! {
|
||||
#[doc = "Pin ID representing pin " $Id]
|
||||
#[derive(Debug)]
|
||||
pub enum $Id {}
|
||||
|
||||
@@ -141,7 +141,7 @@ pub struct DivisorZero;
|
||||
macro_rules! pin_pairs {
|
||||
($index:literal, $UartPeriph:path, ($( [$(#[$meta:meta], )? $TxMio:ident, $RxMio:ident] ),+ $(,)? )) => {
|
||||
$(
|
||||
paste::paste! {
|
||||
pastey::paste! {
|
||||
$( #[$meta] )?
|
||||
impl [<TxPin $index>] for Pin<$TxMio> {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user