Skip to content

Commit 119ff51

Browse files
committed
STM32H7: use default files from ST drivers delivery
1 parent 5b53b3a commit 119ff51

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H743xI/device/stm32h7xx.h renamed to targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@
6161
#if !defined (STM32H743xx) && !defined (STM32H753xx) && !defined (STM32H750xx) && !defined (STM32H742xx) && \
6262
!defined (STM32H745xx) && !defined (STM32H755xx) && !defined (STM32H747xx) && !defined (STM32H757xx)
6363
/* #define STM32H742xx */ /*!< STM32H742VI, STM32H742ZI, STM32H742AI, STM32H742II, STM32H742BI, STM32H742XI Devices */
64-
// MBED PATCH
65-
#define STM32H743xx /*!< STM32H743VI, STM32H743ZI, STM32H743AI, STM32H743II, STM32H743BI, STM32H743XI Devices */
64+
/* #define STM32H743xx */ /*!< STM32H743VI, STM32H743ZI, STM32H743AI, STM32H743II, STM32H743BI, STM32H743XI Devices */
6665
/* #define STM32H753xx */ /*!< STM32H753VI, STM32H753ZI, STM32H753AI, STM32H753II, STM32H753BI, STM32H753XI Devices */
6766
/* #define STM32H750xx */ /*!< STM32H750V, STM32H750I, STM32H750X Devices */
6867
/* #define STM32H747xx */ /*!< STM32H747ZI, STM32H747AI, STM32H747II, STM32H747BI, STM32H747XI Devices */
@@ -85,7 +84,7 @@
8584
In this case, these drivers will not be included and the application code will
8685
be based on direct access to peripherals registers
8786
*/
88-
#define USE_HAL_DRIVER // MBED PATCH
87+
/*#define USE_HAL_DRIVER */
8988
#endif /* USE_HAL_DRIVER */
9089

9190
/**

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H743xI/device/system_stm32h7xx.h renamed to targets/TARGET_STM/TARGET_STM32H7/device/system_stm32h7xx.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ extern const uint8_t D1CorePrescTable[16] ; /*!< D1CorePrescTable prescalers ta
8585

8686
extern void SystemInit(void);
8787
extern void SystemCoreClockUpdate(void);
88-
extern void SetSysClock(void); // MBED PATCH
8988
/**
9089
* @}
9190
*/

targets/targets.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,6 +1854,7 @@
18541854
"extra_labels": ["STM"],
18551855
"supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"],
18561856
"macros": [
1857+
"USE_HAL_DRIVER",
18571858
"USE_FULL_LL_DRIVER",
18581859
"TRANSACTION_QUEUE_SIZE_SPI=2"
18591860
],
@@ -3199,6 +3200,7 @@
31993200
}
32003201
},
32013202
"macros_add": [
3203+
"STM32H743xx",
32023204
"MBED_TICKLESS"
32033205
],
32043206
"overrides": { "lpticker_delay_ticks": 4 },

0 commit comments

Comments
 (0)