[riot-notifications] [RIOT-OS/RIOT] cpu/stm32: model MCO clock configuration in kconfig (#15706)

Leandro Lanzieri notifications at github.com
Thu Jan 7 11:34:20 CET 2021


@leandrolanzieri commented on this pull request.



> +    bool "Use LSE as MCO source" if CPU_FAM_G0 || CPU_FAM_G4 || CPU_FAM_L0 || CPU_FAM_L1 || CPU_FAM_L4 || CPU_FAM_WB
+
+config CLOCK_MCO_USE_LSI
+    bool "Use LSI as MCO source" if CPU_FAM_G0 || CPU_FAM_G4 || CPU_FAM_L0 || CPU_FAM_L1 || CPU_FAM_L4 || CPU_FAM_WB
+
+config CLOCK_MCO_USE_MSI
+    bool "Use MSI as MCO source" if CPU_FAM_L0 || CPU_FAM_L1 || CPU_FAM_L4 || CPU_FAM_WB

I think in this case a `depends on` fits better

> +    bool "Divide MCO by 32" if !CPU_FAM_G4 && !CPU_FAM_L0 && !CPU_FAM_L1 && !CPU_FAM_L4 && !CPU_FAM_WB
+
+config CLOCK_MCO_PRE_64
+    bool "Divide MCO by 64" if !CPU_FAM_G4 && !CPU_FAM_L0 && !CPU_FAM_L1 && !CPU_FAM_L4 && !CPU_FAM_WB
+
+config CLOCK_MCO_PRE_128
+    bool "Divide MCO by 128" if !CPU_FAM_G4 && !CPU_FAM_L0 && !CPU_FAM_L1 && !CPU_FAM_L4 && !CPU_FAM_WB

Same for these

-- 
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/15706#pullrequestreview-563377151
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210107/17cd1a00/attachment.htm>


More information about the notifications mailing list