Skip to content

Commit 646c1ab

Browse files
committed
Allign patches with extrapatches-6.15.1
1 parent 0beec5c commit 646c1ab

File tree

2 files changed

+47
-8
lines changed

2 files changed

+47
-8
lines changed

patches/0100-Add-Portenta-X8-target.patch

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
From 415969b9ecbccd11833284032b939978394bc6b5 Mon Sep 17 00:00:00 2001
1+
From 7ec48c32338a6aba090a90aafc45602d8c02e050 Mon Sep 17 00:00:00 2001
22
From: Martino Facchin <[email protected]>
33
Date: Tue, 18 Jan 2022 16:53:27 +0100
4-
Subject: [PATCH] Add Portenta X8 target
4+
Subject: [PATCH 100/101] Add Portenta X8 target
55

66
---
77
.../TARGET_PORTENTA_X8/CMakeLists.txt | 16 +
88
.../TARGET_PORTENTA_X8/PeripheralPins.c | 570 ++++++++++++++++++
99
.../TARGET_PORTENTA_X8/PinNames.h | 381 ++++++++++++
10-
targets/targets.json | 32 +
11-
4 files changed, 999 insertions(+)
10+
targets/targets.json | 34 +-
11+
4 files changed, 1000 insertions(+), 1 deletion(-)
1212
create mode 100644 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_X8/CMakeLists.txt
1313
create mode 100644 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_X8/PeripheralPins.c
1414
create mode 100644 targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_X8/PinNames.h
@@ -999,10 +999,10 @@ index 0000000000..1cce05b2e2
999999
+
10001000
+#endif
10011001
diff --git a/targets/targets.json b/targets/targets.json
1002-
index b28205d060..c64a6491ab 100644
1002+
index ffd3eb1efd..3dc63e01a9 100644
10031003
--- a/targets/targets.json
10041004
+++ b/targets/targets.json
1005-
@@ -3252,6 +3252,38 @@
1005+
@@ -3509,6 +3509,37 @@
10061006
"MPU"
10071007
]
10081008
},
@@ -1035,12 +1035,21 @@ index b28205d060..c64a6491ab 100644
10351035
+ "lse_available": 1,
10361036
+ "lpticker_delay_ticks": 0,
10371037
+ "i2c_timing_value_algo": true
1038+
+ }
1039+
+ },
1040+
"MCU_STM32H750xB": {
1041+
"inherits": [
1042+
"MCU_STM32H7"
1043+
@@ -3527,7 +3558,8 @@
1044+
],
1045+
"overrides": {
1046+
"system_power_supply": "PWR_LDO_SUPPLY"
1047+
- }
10381048
+ },
10391049
+ "device_name": "STM32H747XIHx"
1040-
+ },
1050+
},
10411051
"MCU_STM32H7A3xIQ": {
10421052
"inherits": [
1043-
"MCU_STM32H7"
10441053
--
10451054
2.34.1
10461055

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
From 90b7c9bc390ea5caeda97d0443d8a488233db1b3 Mon Sep 17 00:00:00 2001
2+
From: Martino Facchin <[email protected]>
3+
Date: Tue, 25 Jan 2022 17:17:58 +0100
4+
Subject: [PATCH 101/101] PortentaX8: remove MPU support
5+
6+
---
7+
targets/targets.json | 7 ++++++-
8+
1 file changed, 6 insertions(+), 1 deletion(-)
9+
10+
diff --git a/targets/targets.json b/targets/targets.json
11+
index 3dc63e01a9..0c4657d626 100644
12+
--- a/targets/targets.json
13+
+++ b/targets/targets.json
14+
@@ -3529,7 +3529,12 @@
15+
"macros_add": [
16+
"MBEDTLS_FS_IO",
17+
"MBEDTLS_SHA1_C",
18+
- "CM4_BOOT_BY_APPLICATION"
19+
+ "CM4_BOOT_BY_APPLICATION",
20+
+ "CORE_CM4",
21+
+ "MBED_MPU_CUSTOM"
22+
+ ],
23+
+ "device_has_remove": [
24+
+ "MPU"
25+
],
26+
"detect_code": ["0813"],
27+
"overrides": {
28+
--
29+
2.34.1
30+

0 commit comments

Comments
 (0)