1
0
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:
Alexandre Abadie 2021-12-06 12:03:15 +01:00
parent c9207e81a3
commit d755c3ae4a
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 11 additions and 10 deletions

View File

@ -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
* @{

View File

@ -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
*