Skip to content

Commit 5b53b3a

Browse files
committed
STM32: define USE_FULL_LL_DRIVER at top level
1 parent 2b354a4 commit 5b53b3a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@
8888
#define USE_HAL_DRIVER // MBED PATCH
8989
#endif /* USE_HAL_DRIVER */
9090

91-
#define USE_FULL_LL_DRIVER // MBED PATCH
92-
9391
/**
9492
* @brief CMSIS Device version number V1.5.0
9593
*/

targets/targets.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,7 +1853,10 @@
18531853
"public": false,
18541854
"extra_labels": ["STM"],
18551855
"supported_toolchains": ["ARM", "uARM", "IAR", "GCC_ARM"],
1856-
"macros": ["TRANSACTION_QUEUE_SIZE_SPI=2"],
1856+
"macros": [
1857+
"USE_FULL_LL_DRIVER",
1858+
"TRANSACTION_QUEUE_SIZE_SPI=2"
1859+
],
18571860
"config": {
18581861
"lse_available": {
18591862
"help": "Define if a Low Speed External xtal (LSE) is available on the board (0 = No, 1 = Yes). If Yes, the LSE will be used to clock the RTC, LPUART, ... otherwise the Low Speed Internal clock (LSI) will be used",
@@ -3196,8 +3199,7 @@
31963199
}
31973200
},
31983201
"macros_add": [
3199-
"MBED_TICKLESS",
3200-
"USE_FULL_LL_DRIVER"
3202+
"MBED_TICKLESS"
32013203
],
32023204
"overrides": { "lpticker_delay_ticks": 4 },
32033205
"supported_form_factors": ["ARDUINO"],

0 commit comments

Comments
 (0)