From 3ecf7a0430714d46b8a2a5cbb805b430c14d41a5 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Sun, 27 Oct 2019 00:45:09 +0200 Subject: [PATCH] boards/msba2: define XTAL frequency The board comes with a 16 MHz XTAL. Since the avsextrem is just an extended msba2, this is true here too. --- boards/avsextrem/include/periph_conf.h | 2 ++ boards/msba2/include/periph_conf.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/boards/avsextrem/include/periph_conf.h b/boards/avsextrem/include/periph_conf.h index a0851e9ddb..cacae833d5 100644 --- a/boards/avsextrem/include/periph_conf.h +++ b/boards/avsextrem/include/periph_conf.h @@ -29,6 +29,8 @@ extern "C" { * @name Clock configuration * @{ */ +#define XTAL_HZ (16000000U) /* the board provides a 16 MHz XTAL */ + #define CLOCK_CORECLOCK (72000000U) /* this board runs with 72MHz */ #define CLOCK_PCLK (CLOCK_CORECLOCK) diff --git a/boards/msba2/include/periph_conf.h b/boards/msba2/include/periph_conf.h index b0a9e66692..ed9d084488 100644 --- a/boards/msba2/include/periph_conf.h +++ b/boards/msba2/include/periph_conf.h @@ -29,6 +29,8 @@ extern "C" { * @name Clock configuration * @{ */ +#define XTAL_HZ (16000000U) /* the board provides a 16 MHz XTAL */ + #define CLOCK_CORECLOCK (72000000U) /* the msba2 runs with 72MHz */ #define CLOCK_PCLK (CLOCK_CORECLOCK)