42 lines
785 B
C
42 lines
785 B
C
/*
|
|
* 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
|
|
|
|
/* 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
|
|
|
|
#include "dma_config.h"
|
|
#include "uart_config.h"
|
|
#include "gpio_config.h"
|
|
#include "can_config.h"
|
|
#include "adc_config.h"
|
|
#include "pwm_tmra_config.h"
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|