mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/sipeed-longan-nano: add periph_rtt support
This commit is contained in:
parent
a72d87e16f
commit
72b214a9dc
@ -19,11 +19,7 @@
|
|||||||
#ifndef PERIPH_CONF_H
|
#ifndef PERIPH_CONF_H
|
||||||
#define PERIPH_CONF_H
|
#define PERIPH_CONF_H
|
||||||
|
|
||||||
#include "periph_cpu.h"
|
#include "macros/units.h"
|
||||||
#include "periph_common_conf.h"
|
|
||||||
|
|
||||||
#include "cfg_timer_default.h"
|
|
||||||
#include "cfg_uart_default.h"
|
|
||||||
|
|
||||||
#ifndef CONFIG_BOARD_HAS_HXTAL
|
#ifndef CONFIG_BOARD_HAS_HXTAL
|
||||||
#define CONFIG_BOARD_HAS_HXTAL 1 /**< The board provides a high frequency oscillator. */
|
#define CONFIG_BOARD_HAS_HXTAL 1 /**< The board provides a high frequency oscillator. */
|
||||||
@ -37,6 +33,12 @@
|
|||||||
#define CONFIG_CLOCK_HXTAL MHZ(8) /**< HXTAL frequency */
|
#define CONFIG_CLOCK_HXTAL MHZ(8) /**< HXTAL frequency */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "periph_cpu.h"
|
||||||
|
#include "periph_common_conf.h"
|
||||||
|
|
||||||
|
#include "cfg_timer_default.h"
|
||||||
|
#include "cfg_uart_default.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user