0f0093aa3e
- [update] 更新 template 工程配置 - [update] 更新 PLATFORM 配置 - [add] 添加 ra icu 驱动文件 - [add] 增加传感器类型 IAQ、EtOH - [add] 添加 CAN 驱动 - [add] 添加 RW007 驱动及使用说明 - [fix] GCC 编译问题 - [fix] flash 驱动 - [fix] 修改 scons 脚本配置
47 lines
737 B
C
47 lines
737 B
C
/*
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2021-07-29 KyleChan first version
|
|
*/
|
|
|
|
#ifndef __DRV_CONFIG_H__
|
|
#define __DRV_CONFIG_H__
|
|
|
|
#include "board.h"
|
|
#include <rtthread.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef SOC_SERIES_R7FA6M4AF
|
|
#include "ra6m4/uart_config.h"
|
|
|
|
#ifdef BSP_USING_ADC
|
|
#include "ra6m4/adc_config.h"
|
|
#endif
|
|
|
|
#ifdef BSP_USING_DAC
|
|
#include "ra6m4/dac_config.h"
|
|
#endif
|
|
|
|
#ifdef BSP_USING_PWM
|
|
#include "ra6m4/pwm_config.h"
|
|
#endif
|
|
|
|
#ifdef BSP_USING_CAN
|
|
#include "ra6m4/can_config.h"
|
|
#endif
|
|
|
|
#endif/* SOC_SERIES_R7FA6M4AF */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif/* __DRV_CONFIG_H__ */
|