Skip to content

Commit a0e8ab9

Browse files
authored
Merge pull request #13859 from jeromecoutant/PR_L4_LPUART_HSI
STM32L4: Use HSI for LPUART
2 parents e8a3282 + 39b724c commit a0e8ab9

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

targets/targets.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3328,6 +3328,9 @@
33283328
"extra_labels_add": [
33293329
"STM32L475xG"
33303330
],
3331+
"overrides": {
3332+
"lpuart_clock_source": "USE_LPUART_CLK_HSI"
3333+
},
33313334
"macros_add": [
33323335
"STM32L475xx",
33333336
"MBED_SPLIT_HEAP"
@@ -3371,6 +3374,9 @@
33713374
"components_add": [
33723375
"FLASHIAP"
33733376
],
3377+
"overrides": {
3378+
"lpuart_clock_source": "USE_LPUART_CLK_HSI"
3379+
},
33743380
"macros_add": [
33753381
"STM32L476xx",
33763382
"MBED_SPLIT_HEAP"
@@ -3434,6 +3440,9 @@
34343440
"components_add": [
34353441
"FLASHIAP"
34363442
],
3443+
"overrides": {
3444+
"lpuart_clock_source": "USE_LPUART_CLK_HSI"
3445+
},
34373446
"macros_add": [
34383447
"STM32L486xx",
34393448
"MBEDTLS_CONFIG_HW_SUPPORT",
@@ -3458,8 +3467,7 @@
34583467
"MCU_STM32L486xG"
34593468
],
34603469
"overrides": {
3461-
"clock_source": "USE_PLL_HSE_XTAL",
3462-
"lpuart_clock_source": "USE_LPUART_CLK_HSI"
3470+
"clock_source": "USE_PLL_HSE_XTAL"
34633471
},
34643472
"detect_code": [
34653473
"0460"
@@ -3481,6 +3489,9 @@
34813489
"components_add": [
34823490
"FLASHIAP"
34833491
],
3492+
"overrides": {
3493+
"lpuart_clock_source": "USE_LPUART_CLK_HSI"
3494+
},
34843495
"macros_add": [
34853496
"STM32L496xx"
34863497
]

0 commit comments

Comments
 (0)