2019-10-13 17:18:08 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2016 Kees Bakker, SODAQ
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @ingroup boards_common_sodaq
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @brief Default RTT configuration for SODAQ boards
|
|
|
|
*
|
|
|
|
* @author Kees Bakker <kees@sodaq.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CFG_RTT_DEFAULT_H
|
|
|
|
#define CFG_RTT_DEFAULT_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "cpu.h"
|
|
|
|
#include "periph_cpu.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name RTT configuration
|
|
|
|
* @{
|
|
|
|
*/
|
2020-06-17 12:27:12 +02:00
|
|
|
#ifndef RTT_FREQUENCY
|
2019-10-13 17:18:08 +02:00
|
|
|
#define RTT_FREQUENCY (32768U) /* in Hz. For changes see `rtt.c` */
|
2020-06-17 12:27:12 +02:00
|
|
|
#endif
|
2019-10-13 17:18:08 +02:00
|
|
|
/** @} */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* CFG_RTT_DEFAULT_H */
|
|
|
|
/** @} */
|