|
| 1 | +From 2e1da01300f14f12b39c24434fe7fe5488258353 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Leonardo Cavagnis <leonardo.cavagnis@hotmail.it> |
| 3 | +Date: Mon, 13 Nov 2023 17:14:02 +0100 |
| 4 | +Subject: [PATCH] STM32H7: fix DUAL_PAD value to avoid ALTx conflict |
| 5 | + |
| 6 | +--- |
| 7 | + .../TARGET_STM32H723xG/TARGET_NUCLEO_H723ZG/PinNames.h | 2 +- |
| 8 | + .../TARGET_STM32H743xI/TARGET_NUCLEO_H743ZI2/PinNames.h | 2 +- |
| 9 | + .../TARGET_STM32H747xI/TARGET_DISCO_H747I/PinNames.h | 2 +- |
| 10 | + .../TARGET_STM32H7/TARGET_STM32H747xI/TARGET_GIGA/PinNames.h | 2 +- |
| 11 | + .../TARGET_STM32H7/TARGET_STM32H747xI/TARGET_OPTA/PinNames.h | 2 +- |
| 12 | + .../TARGET_STM32H747xI/TARGET_PORTENTA_H7/PinNames.h | 2 +- |
| 13 | + .../TARGET_STM32H747xI/TARGET_PORTENTA_X8/PinNames.h | 2 +- |
| 14 | + .../TARGET_STM32H7A3xIQ/TARGET_NUCLEO_H7A3ZI_Q/PinNames.h | 2 +- |
| 15 | + 8 files changed, 8 insertions(+), 8 deletions(-) |
| 16 | + |
| 17 | +diff --git a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H723xG/TARGET_NUCLEO_H723ZG/PinNames.h b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H723xG/TARGET_NUCLEO_H723ZG/PinNames.h |
| 18 | +index 9e4001b55a..01e4e1b98a 100644 |
| 19 | +--- a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H723xG/TARGET_NUCLEO_H723ZG/PinNames.h |
| 20 | ++++ b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H723xG/TARGET_NUCLEO_H723ZG/PinNames.h |
| 21 | +@@ -27,7 +27,7 @@ |
| 22 | + extern "C" { |
| 23 | + #endif |
| 24 | + |
| 25 | +-#define DUAL_PAD 0xF00 |
| 26 | ++#define DUAL_PAD 0x800 |
| 27 | + |
| 28 | + typedef enum { |
| 29 | + ALT0 = 0x100, |
| 30 | +diff --git a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H743xI/TARGET_NUCLEO_H743ZI2/PinNames.h b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H743xI/TARGET_NUCLEO_H743ZI2/PinNames.h |
| 31 | +index 1fb109f69c..fbda341823 100644 |
| 32 | +--- a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H743xI/TARGET_NUCLEO_H743ZI2/PinNames.h |
| 33 | ++++ b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H743xI/TARGET_NUCLEO_H743ZI2/PinNames.h |
| 34 | +@@ -27,7 +27,7 @@ |
| 35 | + extern "C" { |
| 36 | + #endif |
| 37 | + |
| 38 | +-#define DUAL_PAD 0xF00 |
| 39 | ++#define DUAL_PAD 0x800 |
| 40 | + |
| 41 | + typedef enum { |
| 42 | + ALT0 = 0x100, |
| 43 | +diff --git a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_DISCO_H747I/PinNames.h b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_DISCO_H747I/PinNames.h |
| 44 | +index 1a6dccb193..d68ecb2c25 100644 |
| 45 | +--- a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_DISCO_H747I/PinNames.h |
| 46 | ++++ b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_DISCO_H747I/PinNames.h |
| 47 | +@@ -27,7 +27,7 @@ |
| 48 | + extern "C" { |
| 49 | + #endif |
| 50 | + |
| 51 | +-#define DUAL_PAD 0xF00 |
| 52 | ++#define DUAL_PAD 0x800 |
| 53 | + |
| 54 | + typedef enum { |
| 55 | + ALT0 = 0x100, |
| 56 | +diff --git a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_GIGA/PinNames.h b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_GIGA/PinNames.h |
| 57 | +index e5463fe093..f7314dbace 100644 |
| 58 | +--- a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_GIGA/PinNames.h |
| 59 | ++++ b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_GIGA/PinNames.h |
| 60 | +@@ -43,7 +43,7 @@ |
| 61 | + extern "C" { |
| 62 | + #endif |
| 63 | + |
| 64 | +-#define DUAL_PAD 0xF00 |
| 65 | ++#define DUAL_PAD 0x800 |
| 66 | + |
| 67 | + typedef enum { |
| 68 | + ALT0 = 0x100, |
| 69 | +diff --git a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_OPTA/PinNames.h b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_OPTA/PinNames.h |
| 70 | +index 93baf9ee19..efe0f63b29 100644 |
| 71 | +--- a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_OPTA/PinNames.h |
| 72 | ++++ b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_OPTA/PinNames.h |
| 73 | +@@ -43,7 +43,7 @@ |
| 74 | + extern "C" { |
| 75 | + #endif |
| 76 | + |
| 77 | +-#define DUAL_PAD 0xF00 |
| 78 | ++#define DUAL_PAD 0x800 |
| 79 | + |
| 80 | + typedef enum { |
| 81 | + ALT0 = 0x100, |
| 82 | +diff --git a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/PinNames.h b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/PinNames.h |
| 83 | +index 585fb0ea8f..0c088c81e6 100644 |
| 84 | +--- a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/PinNames.h |
| 85 | ++++ b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/PinNames.h |
| 86 | +@@ -43,7 +43,7 @@ |
| 87 | + extern "C" { |
| 88 | + #endif |
| 89 | + |
| 90 | +-#define DUAL_PAD 0xF00 |
| 91 | ++#define DUAL_PAD 0x800 |
| 92 | + |
| 93 | + typedef enum { |
| 94 | + ALT0 = 0x100, |
| 95 | +diff --git a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_X8/PinNames.h b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_X8/PinNames.h |
| 96 | +index 1cce05b2e2..96f611cde5 100644 |
| 97 | +--- a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_X8/PinNames.h |
| 98 | ++++ b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_X8/PinNames.h |
| 99 | +@@ -43,7 +43,7 @@ |
| 100 | + extern "C" { |
| 101 | + #endif |
| 102 | + |
| 103 | +-#define DUAL_PAD 0xF00 |
| 104 | ++#define DUAL_PAD 0x800 |
| 105 | + |
| 106 | + typedef enum { |
| 107 | + ALT0 = 0x100, |
| 108 | +diff --git a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H7A3xIQ/TARGET_NUCLEO_H7A3ZI_Q/PinNames.h b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H7A3xIQ/TARGET_NUCLEO_H7A3ZI_Q/PinNames.h |
| 109 | +index 94ccfc23fa..a44c8620cd 100644 |
| 110 | +--- a/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H7A3xIQ/TARGET_NUCLEO_H7A3ZI_Q/PinNames.h |
| 111 | ++++ b/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H7A3xIQ/TARGET_NUCLEO_H7A3ZI_Q/PinNames.h |
| 112 | +@@ -27,7 +27,7 @@ |
| 113 | + extern "C" { |
| 114 | + #endif |
| 115 | + |
| 116 | +-#define DUAL_PAD 0xF00 |
| 117 | ++#define DUAL_PAD 0x800 |
| 118 | + |
| 119 | + typedef enum { |
| 120 | + ALT0 = 0x100, |
| 121 | +-- |
| 122 | +2.42.0 |
| 123 | + |
0 commit comments