mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/qn9080dk: move CLOCK_CORECLOCK definition to periph_conf.h
This commit is contained in:
parent
c9207e81a3
commit
d755c3ae4a
@ -28,16 +28,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @name Clock configuration
|
||||
* @{
|
||||
*/
|
||||
#ifndef CLOCK_CORECLOCK
|
||||
/* Using 32MHz internal oscillator as default clock source */
|
||||
#define CLOCK_CORECLOCK (32000000ul)
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name LED configuration
|
||||
* @{
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "macros/units.h"
|
||||
#include "cpu.h"
|
||||
#include "periph_cpu.h"
|
||||
|
||||
@ -28,6 +29,16 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @name Clock configuration
|
||||
* @{
|
||||
*/
|
||||
#ifndef CLOCK_CORECLOCK
|
||||
/* Using 32MHz internal oscillator as default clock source */
|
||||
#define CLOCK_CORECLOCK MHZ(32) /**< System core clock frequency in Hz */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name ADC configuration
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user