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.
This commit is contained in:
Benjamin Valentin 2019-10-27 00:45:09 +02:00 committed by Benjamin Valentin
parent c1ea3c2eb6
commit 3ecf7a0430
2 changed files with 4 additions and 0 deletions

View File

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

View File

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