[riot-notifications] [RIOT-OS/RIOT] Port of RIOT-OS to stm32mp1 (#14691)

Alexandre Abadie notifications at github.com
Wed Nov 4 10:22:07 CET 2020


@aabadie commented on this pull request.



> +    RCC->PLL3CFGR2 = (PLL_P | PLL_Q | PLL_R);
+
+    RCC->RCK3SELR |= PLL_SRC;
+    while (!(RCC->RCK3SELR & RCC_RCK3SELR_PLL3SRCRDY)) {}
+
+    /* and start the PLL */
+    RCC->PLL3CR |= (RCC_PLL3CR_DIVPEN | RCC_PLL3CR_DIVQEN
+            | RCC_PLL3CR_DIVREN | RCC_PLL3CR_PLLON);
+    while (!(RCC->PLL3CR & RCC_PLL3CR_PLL3RDY)) {}
+ #endif
+
+    /* Configure SYSCLK */
+    if (IS_ACTIVE(CLOCK_ENABLE_PLL)) {
+        RCC->MSSCKSELR = RCC_MSSCKSELR_MCUSSRC_3; /* PLL3 */
+    }
+    else if (IS_ACTIVE(CLOCK_ENABLE_HSE)) {

```suggestion
    else if (IS_ACTIVE(CONFIG_CLOCK_USE_HSE)) {
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14691#pullrequestreview-523174297
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201104/9251471e/attachment-0001.htm>


More information about the notifications mailing list