summaryrefslogtreecommitdiff
path: root/bsp/ft32/libraries/Drivers/drv_config.h
blob: eca48e4f5c4d844e0647fb089f75d25642a67337 (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
/*
 * Copyright (c) 2006-2022, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-03-02     FMD-AE       first version
 */

#ifndef __DRV_CONFIG_H__
#define __DRV_CONFIG_H__

#include <board.h>
#include <rtthread.h>

#ifdef __cplusplus
extern "C" {
#endif

#if defined(SOC_SERIES_FT32F0)
#include "dma_config.h"
#include "uart_config.h"
#endif

#if defined(SOC_SERIES_FT32F4)
#include "dma_config.h"
#include "uart_config.h"
#endif

#ifdef __cplusplus
}
#endif

#endif