Skip to content

Commit

Permalink
boards/sipeed-longan-nano: add periph_rtt support
Browse files Browse the repository at this point in the history
  • Loading branch information
gschorcht committed Jan 26, 2023
1 parent f1e4cb5 commit c86efe3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions boards/sipeed-longan-nano/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H

#include "periph_cpu.h"
#include "periph_common_conf.h"

#include "cfg_timer_default.h"
#include "cfg_uart_default.h"
#include "macros/units.h"

#ifndef CONFIG_BOARD_HAS_HXTAL
#define CONFIG_BOARD_HAS_HXTAL 1 /**< The board provides a high frequency oscillator. */
Expand All @@ -37,6 +33,12 @@
#define CONFIG_CLOCK_HXTAL MHZ(8) /**< HXTAL frequency */
#endif

#include "periph_cpu.h"
#include "periph_common_conf.h"

#include "cfg_timer_default.h"
#include "cfg_uart_default.h"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit c86efe3

Please sign in to comment.