Skip to content

Commit b00cf0a

Browse files
committed
pkg/picosdk: Add patch for bit overlap
1 parent 9830fc7 commit b00cf0a

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

pkg/picosdk/patches/bit.patch

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
From ac99966860b9101739361412e1374cdd3e4fadf0 Mon Sep 17 00:00:00 2001
2+
From: AnnsAnn <[email protected]>
3+
Date: Thu, 2 Oct 2025 15:31:10 +0200
4+
Subject: [PATCH] Remove the evil lines
5+
6+
---
7+
.../stub/CMSIS/Device/RP2350/Include/RP2350.h | 25 -------------------
8+
1 file changed, 25 deletions(-)
9+
10+
diff --git a/src/rp2_common/cmsis/stub/CMSIS/Device/RP2350/Include/RP2350.h b/src/rp2_common/cmsis/stub/CMSIS/Device/RP2350/Include/RP2350.h
11+
index ba5d206..154e7c4 100644
12+
--- a/src/rp2_common/cmsis/stub/CMSIS/Device/RP2350/Include/RP2350.h
13+
+++ b/src/rp2_common/cmsis/stub/CMSIS/Device/RP2350/Include/RP2350.h
14+
@@ -671,31 +671,6 @@ typedef struct { /*!< HSTX_FIFO Structure
15+
16+
17+
18+
-/* =========================================================================================================================== */
19+
-/* ================ HSTX_CTRL ================ */
20+
-/* =========================================================================================================================== */
21+
-
22+
-
23+
-/**
24+
- * @brief Control interface to HSTX. For FIFO write access and status, see the HSTX_FIFO register block. (HSTX_CTRL)
25+
- */
26+
-
27+
-typedef struct { /*!< HSTX_CTRL Structure */
28+
- __IOM uint32_t CSR; /*!< CSR */
29+
- __IOM uint32_t BIT0; /*!< Data control register for output bit 0 */
30+
- __IOM uint32_t BIT1; /*!< Data control register for output bit 1 */
31+
- __IOM uint32_t BIT2; /*!< Data control register for output bit 2 */
32+
- __IOM uint32_t BIT3; /*!< Data control register for output bit 3 */
33+
- __IOM uint32_t BIT4; /*!< Data control register for output bit 4 */
34+
- __IOM uint32_t BIT5; /*!< Data control register for output bit 5 */
35+
- __IOM uint32_t BIT6; /*!< Data control register for output bit 6 */
36+
- __IOM uint32_t BIT7; /*!< Data control register for output bit 7 */
37+
- __IOM uint32_t EXPAND_SHIFT; /*!< Configure the optional shifter inside the command expander */
38+
- __IOM uint32_t EXPAND_TMDS; /*!< Configure the optional TMDS encoder inside the command expander */
39+
-} HSTX_CTRL_Type; /*!< Size = 44 (0x2c) */
40+
-
41+
-
42+
-
43+
/* =========================================================================================================================== */
44+
/* ================ EPPB ================ */
45+
/* =========================================================================================================================== */
46+
--
47+
2.51.0
48+

0 commit comments

Comments
 (0)