Library for FT810 EVE chip

Fork of FT810 by Curtis Mattull

inc/FT_Platform.h

Committer:
mozillain
Date:
2017-09-16
Revision:
11:435747a1f2ae
Parent:
10:4c10e6aeb239

File content as of revision 11:435747a1f2ae:

#ifndef _FT_PLATFORM_H_
#define _FT_PLATFORM_H_

//#define ARDUINO_PLATFORM

/* Module specific configurations */
#define VM800P43_50

#ifdef VM800P43_50

#define DISPLAY_RESOLUTION_WVGA                     (1)
#define FT_811_ENABLE                           (1)
#define ENABLE_SPI_SINGLE                       (1)
#define FT_ARDUINO_ATMEGA328P_I2C               (1)
#define RTC_PRESENT                             (1)
#define FT800_CS                                (9)
#define FT_SDCARD_CS                            (8)
#define FT800_INT                               (3)
#define FT800_PD_N                              (4)
#define FT_ARDUINO_PRO_SPI_CS FT800_CS
#define ARDUINO_PLATFORM_SPI
#define ARDUINO_PLATFORM_COCMD_BURST
#define RESISTANCE_THRESHOLD                    (1200)
#endif

#if (defined(FT_810_ENABLE) || defined(FT_811_ENABLE) || defined(FT_812_ENABLE) || defined(FT_813_ENABLE))
#define FT_81X_ENABLE                               (1)
#endif


/* HAL inclusions */
#include "FT_DataTypes.h"
#include "FT_Gpu_Hal.h"
#include "FT_Gpu.h"
#include "FT_Hal_Utils.h"
#include "FT_LCD_Type.h"
#include "FT_color.h"


#endif /*_FT_PLATFORM_H_*/
/* Nothing beyond this*/