mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
boards/stm32l4*: adapt to new clock configuration
This commit is contained in:
parent
c1a655c069
commit
79e6d9df85
@ -19,6 +19,11 @@
|
||||
#ifndef PERIPH_CONF_H
|
||||
#define PERIPH_CONF_H
|
||||
|
||||
/* Add specific clock configuration (HSE, LSE) for this board here */
|
||||
#ifndef CONFIG_BOARD_HAS_LSE
|
||||
#define CONFIG_BOARD_HAS_LSE (1)
|
||||
#endif
|
||||
|
||||
#include "periph_cpu.h"
|
||||
#include "l4/cfg_clock_default.h"
|
||||
#include "cfg_rtt_default.h"
|
||||
|
@ -23,6 +23,11 @@
|
||||
#ifndef PERIPH_CONF_H
|
||||
#define PERIPH_CONF_H
|
||||
|
||||
/* Add specific clock configuration (HSE, LSE) for this board here */
|
||||
#ifndef CONFIG_BOARD_HAS_LSE
|
||||
#define CONFIG_BOARD_HAS_LSE (1)
|
||||
#endif
|
||||
|
||||
#include "periph_cpu.h"
|
||||
#include "l4/cfg_clock_default.h"
|
||||
#include "cfg_i2c1_pb6_pb7.h"
|
||||
|
@ -21,6 +21,11 @@
|
||||
#ifndef PERIPH_CONF_H
|
||||
#define PERIPH_CONF_H
|
||||
|
||||
/* Add specific clock configuration (HSE, LSE) for this board here */
|
||||
#ifndef CONFIG_BOARD_HAS_LSE
|
||||
#define CONFIG_BOARD_HAS_LSE (1)
|
||||
#endif
|
||||
|
||||
#include "periph_cpu.h"
|
||||
#include "l4/cfg_clock_default.h"
|
||||
#include "cfg_i2c1_pb6_pb7.h"
|
||||
|
@ -19,6 +19,11 @@
|
||||
#ifndef PERIPH_CONF_H
|
||||
#define PERIPH_CONF_H
|
||||
|
||||
/* Add specific clock configuration (HSE, LSE) for this board here */
|
||||
#ifndef CONFIG_BOARD_HAS_LSE
|
||||
#define CONFIG_BOARD_HAS_LSE (1)
|
||||
#endif
|
||||
|
||||
#include "periph_cpu.h"
|
||||
#include "l4/cfg_clock_default.h"
|
||||
#include "cfg_rtt_default.h"
|
||||
|
@ -25,6 +25,11 @@
|
||||
#ifndef PERIPH_CONF_H
|
||||
#define PERIPH_CONF_H
|
||||
|
||||
/* Add specific clock configuration (HSE, LSE) for this board here */
|
||||
#ifndef CONFIG_BOARD_HAS_LSE
|
||||
#define CONFIG_BOARD_HAS_LSE (1)
|
||||
#endif
|
||||
|
||||
#include "periph_cpu.h"
|
||||
#include "l4/cfg_clock_default.h"
|
||||
#include "cfg_i2c1_pb8_pb9.h"
|
||||
|
@ -23,6 +23,11 @@
|
||||
#ifndef PERIPH_CONF_H
|
||||
#define PERIPH_CONF_H
|
||||
|
||||
/* Add specific clock configuration (HSE, LSE) for this board here */
|
||||
#ifndef CONFIG_BOARD_HAS_LSE
|
||||
#define CONFIG_BOARD_HAS_LSE (1)
|
||||
#endif
|
||||
|
||||
#include "periph_cpu.h"
|
||||
#include "l4/cfg_clock_default.h"
|
||||
#include "cfg_i2c1_pb8_pb9.h"
|
||||
|
@ -19,6 +19,11 @@
|
||||
#ifndef PERIPH_CONF_H
|
||||
#define PERIPH_CONF_H
|
||||
|
||||
/* Add specific clock configuration (HSE, LSE) for this board here */
|
||||
#ifndef CONFIG_BOARD_HAS_LSE
|
||||
#define CONFIG_BOARD_HAS_LSE (1)
|
||||
#endif
|
||||
|
||||
#include "periph_cpu.h"
|
||||
#include "l4/cfg_clock_default.h"
|
||||
#include "cfg_i2c1_pb8_pb9.h"
|
||||
|
@ -19,6 +19,11 @@
|
||||
#ifndef PERIPH_CONF_H
|
||||
#define PERIPH_CONF_H
|
||||
|
||||
/* Add specific clock configuration (HSE, LSE) for this board here */
|
||||
#ifndef CONFIG_BOARD_HAS_LSE
|
||||
#define CONFIG_BOARD_HAS_LSE (1)
|
||||
#endif
|
||||
|
||||
#include "periph_cpu.h"
|
||||
#include "l4/cfg_clock_default.h"
|
||||
#include "cfg_rtt_default.h"
|
||||
|
@ -19,6 +19,11 @@
|
||||
#ifndef PERIPH_CONF_H
|
||||
#define PERIPH_CONF_H
|
||||
|
||||
/* Add specific clock configuration (HSE, LSE) for this board here */
|
||||
#ifndef CONFIG_BOARD_HAS_LSE
|
||||
#define CONFIG_BOARD_HAS_LSE (1)
|
||||
#endif
|
||||
|
||||
#include "periph_cpu.h"
|
||||
#include "l4/cfg_clock_default.h"
|
||||
#include "cfg_rtt_default.h"
|
||||
|
Loading…
Reference in New Issue
Block a user