Browse Source

boards/nucleo: fixed xtimer configuration

patch-1
Hauke Petersen 6 years ago
parent
commit
57948eb7b9
  1. 15
      boards/nucleo-f030/include/board.h
  2. 11
      boards/nucleo-f070/include/board.h
  3. 11
      boards/nucleo-f072/include/board.h
  4. 7
      boards/nucleo-f091/include/board.h

15
boards/nucleo-f030/include/board.h

@ -24,30 +24,19 @@
#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
#include "board_common.h"
#include "cpu.h"
#include "periph_conf.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief xtimer configuration
* @brief Xtimer configuration
* @{
*/
#define XTIMER_WIDTH (16)
#define XTIMER_WIDTH (16)
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/
void board_init(void);
#ifdef __cplusplus
}
#endif

11
boards/nucleo-f070/include/board.h

@ -25,21 +25,18 @@
#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
#include "board_common.h"
#include "cpu.h"
#include "periph_conf.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Xtimer configuration
* @{
*/
void board_init(void);
#define XTIMER_WIDTH (16)
/** @} */
#ifdef __cplusplus
}

11
boards/nucleo-f072/include/board.h

@ -23,21 +23,18 @@
#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
#include "board_common.h"
#include "cpu.h"
#include "periph_conf.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Xtimer configuration
* @{
*/
void board_init(void);
#define XTIMER_WIDTH (16)
/** @} */
#ifdef __cplusplus
}

7
boards/nucleo-f091/include/board.h

@ -28,6 +28,13 @@
extern "C" {
#endif
/**
* @brief Xtimer configuration
* @{
*/
#define XTIMER_WIDTH (16)
/** @} */
#ifdef __cplusplus
}
#endif

Loading…
Cancel
Save