2022-05-31 11:53:56 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
|
|
|
* Copyright (c) 2022, Xiaohua Semiconductor Co., Ltd.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2022-04-28 CDT first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __DRV_CONFIG_H__
|
|
|
|
#define __DRV_CONFIG_H__
|
|
|
|
|
|
|
|
#include <board.h>
|
|
|
|
#include <rtthread.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2022-07-14 14:11:54 +08:00
|
|
|
/* Suppress warning messages */
|
|
|
|
#if defined(__CC_ARM)
|
|
|
|
// Suppress warning message: extended constant initialiser used
|
|
|
|
#pragma diag_suppress 1296
|
|
|
|
#elif defined(__ICCARM__)
|
|
|
|
#elif defined(__GNUC__)
|
|
|
|
#endif
|
|
|
|
|
2022-05-31 11:53:56 +08:00
|
|
|
#include "dma_config.h"
|
|
|
|
#include "uart_config.h"
|
|
|
|
#include "gpio_config.h"
|
2022-06-08 12:10:58 +08:00
|
|
|
#include "can_config.h"
|
2022-06-13 21:13:51 +08:00
|
|
|
#include "adc_config.h"
|
2022-06-29 00:00:58 +08:00
|
|
|
#include "pwm_tmra_config.h"
|
2022-05-31 11:53:56 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|