summaryrefslogtreecommitdiff
path: root/bsp/nuvoton_m451/drivers/board.h
blob: 93588253c089f768eece81eaa5b18e2c57899305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2016-12-05     Pluto        first implementation
 */

// <<< Use Configuration Wizard in Context Menu >>>
#ifndef __BOARD_H__
#define __BOARD_H__

#include "M451Series.h"

#define BOARD_PLL_CLOCK           72000000

/* board configuration */
// <o> Internal SRAM memory size[Kbytes]
//  <i>Default: 64
#define M451_SRAM_SIZE         32
#define M451_SRAM_END          (0x20000000 + M451_SRAM_SIZE * 1024)

void rt_hw_board_init(void);

//#define PRINT_RCC_FREQ_INFO

#endif

// <<< Use Configuration Wizard in Context Menu >>>