summaryrefslogtreecommitdiff
path: root/bsp/bouffalo_lab/bl808/lp/board/board.h
blob: a8014baa41907273c61cc165fca149f0a65c5f71 (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
32
33
34
35
36
37
/*
 * Copyright (c) 2006-2023, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2023/03/15     flyingcys    first version
 */

#ifndef BOARD_H__
#define BOARD_H__

#include <rtconfig.h>

#include "bflb_uart.h"
#include "bflb_gpio.h"
#include "bflb_clock.h"
#include "bflb_rtc.h"
#include "bflb_flash.h"
#include "bl808_glb.h"
#include "bl808_psram_uhs.h"
#include "bl808_tzc_sec.h"
#include "bl808_ef_cfg.h"
#include "bl808_uhs_phy.h"

#define     HW_MTIMER_CLOCK     1000000

extern uint8_t __HeapBase;
extern uint8_t __HeapLimit;

#define RT_HW_HEAP_BEGIN    (void*)&__HeapBase
#define RT_HW_HEAP_END      (void*)&__HeapLimit

void rt_hw_board_init(void);

#endif