mirror of
https://github.com/jscrane/r65emu.git
synced 2024-12-21 12:29:51 +00:00
...
This commit is contained in:
parent
1a36940324
commit
ac90e3e462
19
hardware.h
19
hardware.h
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user