firmware/zynq7000-hal/Cargo.toml aktualisiert: Replace dependency #56

Merged
muellerr merged 2 commits from nehlichp/replace-paste into main 2026-03-25 10:26:23 +01:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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 {}
+1 -1
View File
@@ -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> {}