1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

cpu/stm32: moved includes out of header where not used

This commit is contained in:
Joshua DeWeese 2024-03-20 11:56:05 -04:00
parent fd105b7e77
commit 1e4526111f
16 changed files with 34 additions and 3 deletions

View File

@ -20,6 +20,8 @@
#define CLK_C0_CFG_CLOCK_DEFAULT_H
#include "cfg_clock_common_fx_gx_mp1_c0.h"
#include "kernel_defines.h"
#include "macros/units.h"
#ifdef __cplusplus
extern "C" {

View File

@ -23,6 +23,8 @@
#ifndef CLK_CFG_CLOCK_COMMON_FX_GX_MP1_C0_H
#define CLK_CFG_CLOCK_COMMON_FX_GX_MP1_C0_H
#include "kernel_defines.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -23,6 +23,8 @@
#ifndef CLK_CFG_CLOCK_COMMON_LX_U5_WX_H
#define CLK_CFG_CLOCK_COMMON_LX_U5_WX_H
#include "kernel_defines.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -19,9 +19,6 @@
#ifndef CLK_CLK_CONF_H
#define CLK_CLK_CONF_H
#include "kernel_defines.h"
#include "macros/units.h"
#if defined(CPU_FAM_STM32F0) || defined(CPU_FAM_STM32F1) || \
defined(CPU_FAM_STM32F3)
#include "f0f1f3/cfg_clock_default.h"

View File

@ -27,6 +27,8 @@
#define CLK_F0F1F3_CFG_CLOCK_DEFAULT_H
#include "cfg_clock_common_fx_gx_mp1_c0.h"
#include "kernel_defines.h"
#include "macros/units.h"
#ifdef __cplusplus
extern "C" {

View File

@ -20,6 +20,7 @@
#define CLK_F2F4F7_CFG_CLOCK_DEFAULT_H
#include "cfg_clock_common_fx_gx_mp1_c0.h"
#include "kernel_defines.h"
#if defined(CPU_FAM_STM32F2)
#include "f2f4f7/cfg_clock_default_120.h"

View File

@ -23,6 +23,9 @@
#ifndef CLK_F2F4F7_CFG_CLOCK_DEFAULT_100_H
#define CLK_F2F4F7_CFG_CLOCK_DEFAULT_100_H
#include "kernel_defines.h"
#include "macros/units.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -23,6 +23,9 @@
#ifndef CLK_F2F4F7_CFG_CLOCK_DEFAULT_120_H
#define CLK_F2F4F7_CFG_CLOCK_DEFAULT_120_H
#include "kernel_defines.h"
#include "macros/units.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -23,6 +23,9 @@
#ifndef CLK_F2F4F7_CFG_CLOCK_DEFAULT_180_H
#define CLK_F2F4F7_CFG_CLOCK_DEFAULT_180_H
#include "kernel_defines.h"
#include "macros/units.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -23,6 +23,9 @@
#ifndef CLK_F2F4F7_CFG_CLOCK_DEFAULT_216_H
#define CLK_F2F4F7_CFG_CLOCK_DEFAULT_216_H
#include "kernel_defines.h"
#include "macros/units.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -23,6 +23,9 @@
#ifndef CLK_F2F4F7_CFG_CLOCK_DEFAULT_84_H
#define CLK_F2F4F7_CFG_CLOCK_DEFAULT_84_H
#include "kernel_defines.h"
#include "macros/units.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -24,6 +24,8 @@
#define CLK_G0G4_CFG_CLOCK_DEFAULT_H
#include "cfg_clock_common_fx_gx_mp1_c0.h"
#include "kernel_defines.h"
#include "macros/units.h"
#ifdef __cplusplus
extern "C" {

View File

@ -20,6 +20,8 @@
#define CLK_L0L1_CFG_CLOCK_DEFAULT_H
#include "cfg_clock_common_lx_u5_wx.h"
#include "kernel_defines.h"
#include "macros/units.h"
#include "periph_cpu.h"
#ifdef __cplusplus

View File

@ -22,6 +22,8 @@
#define CLK_L4L5WX_CFG_CLOCK_DEFAULT_H
#include "cfg_clock_common_lx_u5_wx.h"
#include "kernel_defines.h"
#include "macros/units.h"
#ifdef __cplusplus
extern "C" {

View File

@ -20,6 +20,8 @@
#define CLK_MP1_CFG_CLOCK_DEFAULT_H
#include "cfg_clock_common_fx_gx_mp1_c0.h"
#include "kernel_defines.h"
#include "macros/units.h"
/**
* @name MP1 clock PLL settings (208MHz)

View File

@ -20,6 +20,8 @@
#define CLK_U5_CFG_CLOCK_DEFAULT_H
#include "cfg_clock_common_lx_u5_wx.h"
#include "kernel_defines.h"
#include "macros/units.h"
#ifdef __cplusplus
extern "C" {