From 60a371468135580a9e3048bd085e3b0c43e314da Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 29 Jun 2023 02:03:53 +0200 Subject: [PATCH] Fix a few wrong transforms. --- svd/rp2040.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/svd/rp2040.yaml b/svd/rp2040.yaml index df7076d7..ca61c523 100644 --- a/svd/rp2040.yaml +++ b/svd/rp2040.yaml @@ -21,10 +21,13 @@ transforms: - MergeFieldsets: from: dma::regs::Ch\d+CtrlTrig to: dma::regs::CtrlTrig + - RenameFields: + fieldset: dma::regs::Ch\d+DbgCtdreq + from: ch\d+_(.*) + to: $1 - MergeFieldsets: from: dma::regs::Ch\d+DbgCtdreq to: dma::regs::DbgCtdreq - check: Layout - MakeBlock: blocks: dma::Dma from: ch(\d+)_(.*) @@ -297,10 +300,13 @@ transforms: - MergeFieldsets: from: clocks::regs::Int. to: clocks::regs::Int + - RenameEnumVariants: + enum: clocks::vals::ClkGpout\dCtrlAuxsrc + from: ROSC_CLKSRC_PH + to: ROSC_CLKSRC - MergeEnums: from: clocks::vals::ClkGpout\dCtrlAuxsrc to: clocks::vals::ClkGpoutCtrlAuxsrc - check: NoCheck - MergeFieldsets: from: clocks::regs::ClkGpout\d(Ctrl|Div) to: clocks::regs::ClkGpout$1