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

Alexandre Abadie notifications at github.com
Tue Nov 3 22:10:36 CET 2020


@aabadie commented on this pull request.



> +
+#ifndef PERIPH_CONF_H
+#define PERIPH_CONF_H
+
+/* This board provides an LSE */
+#ifndef CONFIG_BOARD_HAS_LSE
+#define CONFIG_BOARD_HAS_LSE    1
+#endif
+
+/* This board provides an HSE */
+#ifndef CONFIG_BOARD_HAS_HSE
+#define CONFIG_BOARD_HAS_HSE    1
+#endif
+
+#include "periph_cpu.h"
+#include "mp1/cfg_clock_default_208.h"

You could also adapt [clk_conf.h](https://github.com/RIOT-OS/RIOT/blob/master/cpu/stm32/include/clk/clk_conf.h) and include it here:
```suggestion
#include "clk_conf.h"
```

in `clk_conf.h`, just add the following:

```c
#elif defined(CPU_FAM_STM32MP1)
#include "mp1/cfg_clock_default_208.h"
```
after the l4/l5/wb case and it will be good :)

-- 
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-522875115
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201103/2a609c00/attachment-0001.htm>


More information about the notifications mailing list