52 lines
1.2 KiB
C
52 lines
1.2 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
|
||
|
||
/**********************************************************
|
||
行注释
|
||
内容:LCD——RGB
|
||
**********************************************************/
|
||
#define LCD_RGB 1
|
||
#define LCD_HDOT 800 //水平分辨率
|
||
#define LCD_VDOT 480 //垂直分辨率
|
||
|
||
#if (LCD_RGB)
|
||
#include "lcd.h"
|
||
#endif
|
||
/**********************************************************
|
||
行注释
|
||
内容:LVGL_V7
|
||
**********************************************************/
|
||
#define LVGL_V7 1
|
||
|
||
#if (LVGL_V7)
|
||
#include "lvgl.h"
|
||
#endif
|
||
|
||
|
||
|
||
|
||
|
||
void BoardInit(void);
|
||
|
||
#endif |