用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
1.1 KiB

/*
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2020-09-05 DongBowen first version
*/
#ifndef __BOARD_CONFIG_H__
#define __BOARD_CONFIG_H__
#include <rtconfig.h>
#include "hc32l196_ddl.h"
#include "hc32l196_gpio.h"
#include "hc32l196_uart.h"
#include "hc32l196_sysctrl.h"
/*********** Port configure *********/
#if defined(BSP_USING_UART0)
#define UART0_RX_PORT GpioPortA
#define UART0_RX_PIN GpioPin10
#define UART0_RX_AF GpioAf1
#define UART0_TX_PORT GpioPortA
#define UART0_TX_PIN GpioPin9
#define UART0_TX_AF GpioAf1
#endif
#if defined(BSP_USING_UART1)
#define UART1_RX_PORT GpioPortA
#define UART1_RX_PIN GpioPin3
#define UART1_RX_AF GpioAf1
#define UART1_TX_PORT GpioPortA
#define UART1_TX_PIN GpioPin2
#define UART1_TX_AF GpioAf1
#endif
#endif