From 5c471d4429548c406b00b94b78832dc3b4a2ee79 Mon Sep 17 00:00:00 2001 From: cinsights Date: Sat, 14 Aug 2021 12:43:34 +0000 Subject: [PATCH] Fix RP2040 USB & PIO AHB offsets git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14647 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/common/ext/RP/RP2040/rp2040.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/os/common/ext/RP/RP2040/rp2040.h b/os/common/ext/RP/RP2040/rp2040.h index 01c911d42..d4a7f2066 100644 --- a/os/common/ext/RP/RP2040/rp2040.h +++ b/os/common/ext/RP/RP2040/rp2040.h @@ -1195,9 +1195,9 @@ typedef struct { #define __RTC_BASE (__APBPERIPH_BASE + 0x0005C000U) #define __DMA_BASE (__AHBPERIPH_BASE + 0x00000000U) -#define __USB_BASE (__AHBPERIPH_BASE + 0x01100000U) -#define __PIO0_BASE (__AHBPERIPH_BASE + 0x02000000U) -#define __PIO1_BASE (__AHBPERIPH_BASE + 0x03000000U) +#define __USB_BASE (__AHBPERIPH_BASE + 0x00110000U) +#define __PIO0_BASE (__AHBPERIPH_BASE + 0x00200000U) +#define __PIO1_BASE (__AHBPERIPH_BASE + 0x00300000U) #define __SIO_BASE (__IOPORT_BASE + 0x00000000U) /** @} */