mirror of
https://github.com/jscrane/r65emu.git
synced 2025-02-07 16:30:36 +00:00
add hw/user.h
This commit is contained in:
parent
55928d498a
commit
32b1bf11f5
@ -7,7 +7,7 @@
|
||||
#if defined(HARDWARE_H)
|
||||
#include HARDWARE_H
|
||||
#else
|
||||
#pragma error "define HARDWARE_H"
|
||||
#include "hw/user.h"
|
||||
#endif
|
||||
|
||||
bool hardware_reset();
|
||||
|
17
hw/user.h
Normal file
17
hw/user.h
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
#if defined(ESP32)
|
||||
// #include <hw/esp32-espi.h>
|
||||
// #include <hw/esp32-espi-dac.h>
|
||||
// #include <hw/esp32-espi-spiffs.h>
|
||||
|
||||
#elif defined(ESP8266)
|
||||
// #include <hw/esp8266-pwm.h>
|
||||
// #include <hw/esp8266-pwm-sd.h>
|
||||
#include <hw/esp8266-pwm-fs.h>
|
||||
// #include <hw/esp8266-pwm-fs-23k256.h>
|
||||
|
||||
#elif defined(LM4F)
|
||||
// #include <hw/lm4f-utft.h>
|
||||
// #include <hw/lm4f-utft-sd.h>
|
||||
|
||||
#endif
|
@ -15,7 +15,7 @@
|
||||
static UTFT utft(TFT_MODEL, TFT_RS, TFT_WR, TFT_CS, TFT_RST, TFT_SER);
|
||||
|
||||
#elif defined(USE_ESPI)
|
||||
#pragma message "Configure TFT_eSPI in Makefile or User_Setup.h"
|
||||
#pragma message "Configure TFT_eSPI in Makefile or <TFT_eSPI/User_Setup.h>"
|
||||
#include <TFT_eSPI.h>
|
||||
|
||||
static TFT_eSPI espi;
|
||||
|
Loading…
x
Reference in New Issue
Block a user