1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-07-20 12:28:59 +00:00
This commit is contained in:
Stephen Crane 2018-11-05 21:34:39 +00:00
parent 1a36940324
commit ac90e3e462
2 changed files with 13 additions and 7 deletions

View File

@ -18,13 +18,16 @@
#define TFT_RST 26
#elif defined(USE_ESPI)
#define USER_SETUP_LOADED
#define ILI9341_DRIVER
#define TFT_CS PIN_D6
#define TFT_DC PIN_D8
#define TFT_RST -1
#define SPI_FREQUENCY 40000000
#define LOAD_GLCD
//#define USER_SETUP_LOADED
//#define ILI9163_DRIVER
//#define TFT_CS 5
//#define TFT_DC 2
//#define TFT_MOSI 23
//#define TFT_MISO -1
//#define TFT_SCLK 18
//#define TFT_RST -1
//#define SPI_FREQUENCY 40000000
//#define LOAD_GLCD
#endif
// PS/2 keyboard
@ -38,7 +41,9 @@
// "tape" storage...
#undef SD_CS
#if defined(ESP32)
#define USE_SPIFFS
#endif
// sound
#define DAC_SOUND 25

View File

@ -10,6 +10,7 @@
static UTFT utft(TFT_MODEL, TFT_RS, TFT_WR, TFT_CS, TFT_RST);
#elif defined(USE_ESPI)
#pragma message "Configure TFT_eSPI in Makefile or User_Setup.h"
#include <TFT_eSPI.h>
static TFT_eSPI espi;