Skip to content

Commit dc98629

Browse files
ABOSTMnashif
authored andcommitted
soc: stl32l0: Enable DMA clock instead of DBGMCU clock
During review of #38681, switching from HAL to LL, involuntarily enable DBGMCU clock instead of DMA clock. Signed-off-by: Alexandre Bourdiol <[email protected]>
1 parent 2160e0f commit dc98629

File tree

1 file changed

+1
-1
lines changed
  • soc/arm/st_stm32/stm32l0

1 file changed

+1
-1
lines changed

soc/arm/st_stm32/stm32l0/soc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static int stm32l0_init(const struct device *arg)
6060
* (similarly than it fixes
6161
* https://github.com/zephyrproject-rtos/zephyr/issues/#34324 )
6262
*/
63-
LL_APB2_GRP1_EnableClock(LL_APB2_GRP1_PERIPH_DBGMCU);
63+
LL_AHB1_GRP1_EnableClock(LL_AHB1_GRP1_PERIPH_DMA1);
6464

6565
return 0;
6666
}

0 commit comments

Comments
 (0)