2021-10-06 16:50:57 +08:00
|
|
|
/*
|
|
|
|
* 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"
|
|
|
|
|
2021-10-29 15:26:59 +08:00
|
|
|
#ifdef BSP_USING_ADC
|
2021-10-27 11:28:55 +08:00
|
|
|
#include "ra6m4/adc_config.h"
|
|
|
|
#endif
|
|
|
|
|
2021-10-29 15:26:59 +08:00
|
|
|
#ifdef BSP_USING_DAC
|
2021-10-27 11:28:55 +08:00
|
|
|
#include "ra6m4/dac_config.h"
|
|
|
|
#endif
|
|
|
|
|
2021-10-29 15:26:59 +08:00
|
|
|
#ifdef BSP_USING_PWM
|
|
|
|
#include "ra6m4/pwm_config.h"
|
|
|
|
#endif
|
|
|
|
|
2021-11-04 20:31:55 +08:00
|
|
|
#ifdef BSP_USING_CAN
|
|
|
|
#include "ra6m4/can_config.h"
|
|
|
|
#endif
|
|
|
|
|
2021-10-06 16:50:57 +08:00
|
|
|
#endif/* SOC_SERIES_R7FA6M4AF */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif/* __DRV_CONFIG_H__ */
|