60 lines
1.4 KiB
C
60 lines
1.4 KiB
C
#ifndef _BOARD_CFG_H_
|
||
#define _BOARD_CFG_H_
|
||
#include "debug.h"
|
||
#include "userTimer.h"
|
||
#include "SWM320.h"
|
||
/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||
模块注释
|
||
内容:功能配置区
|
||
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
|
||
/**********************************************************
|
||
行注释
|
||
内容:Uart控制台
|
||
**********************************************************/
|
||
#define UART_CONSOLE 1
|
||
/**********************************************************
|
||
行注释
|
||
内容:SPI_FLASH
|
||
**********************************************************/
|
||
#define SPI_FLASH 1
|
||
|
||
#if (SPI_FLASH)
|
||
#include "SPI_Flash.h"
|
||
#endif
|
||
/**********************************************************
|
||
行注释
|
||
内容:
|
||
**********************************************************/
|
||
#define XPT2046 1
|
||
#if(XPT2046)
|
||
#include"XPT2046.h"
|
||
#endif
|
||
|
||
/**********************************************************
|
||
行注释
|
||
内容:LCD——RGB
|
||
**********************************************************/
|
||
#define LCD_RGB 1
|
||
#define LCD_HDOT 800 //水平分辨率
|
||
#define LCD_VDOT 480 //垂直分辨率
|
||
|
||
#if (LCD_RGB)
|
||
#include "lcd.h"
|
||
#endif
|
||
/**********************************************************
|
||
行注释
|
||
内容:LVGL_V8
|
||
**********************************************************/
|
||
#define LVGL_V8 1
|
||
|
||
#if (LVGL_V8)
|
||
#include "lvgl.h"
|
||
#endif
|
||
|
||
|
||
|
||
|
||
|
||
void BoardInit(void);
|
||
|
||
#endif |