mirror of
https://github.com/jscrane/r65emu.git
synced 2025-02-15 22:30:47 +00:00
add esp8266-pwm-fs.h
This commit is contained in:
parent
d22a61368e
commit
bc3fca1a3c
@ -9,7 +9,7 @@
|
||||
#elif defined(ESP32)
|
||||
#include "hw/esp32-espi-dac.h"
|
||||
#elif defined(ESP8266)
|
||||
#include "hw/esp8266-pwm.h"
|
||||
#include "hw/esp8266-pwm-fs.h"
|
||||
#else
|
||||
#error "unknown architecture"
|
||||
#endif
|
||||
|
29
hw/esp8266-pwm-fs.h
Normal file
29
hw/esp8266-pwm-fs.h
Normal file
@ -0,0 +1,29 @@
|
||||
// TFT display...
|
||||
#define USE_ESPI
|
||||
//must define these in Makefile (or platformio)
|
||||
//#define USER_SETUP_LOADED
|
||||
//#define ILI9341_DRIVER
|
||||
//#define TFT_CS PIN_D8
|
||||
//#define TFT_DC PIN_D1
|
||||
//#define TFT_WIDTH 240
|
||||
//#define TFT_HEIGHT 320
|
||||
//#define TFT_RST -1
|
||||
//#define SPI_FREQUENCY 40000000
|
||||
//#define LOAD_GLCD
|
||||
|
||||
// PS/2 keyboard
|
||||
#define KBD_DATA D3
|
||||
#define KBD_IRQ D4
|
||||
|
||||
// SPI-RAM
|
||||
#undef USE_SPIRAM
|
||||
|
||||
// "tape" storage...
|
||||
#undef USE_SD
|
||||
#undef USE_SPIFFS
|
||||
#define USE_FS
|
||||
|
||||
// sound
|
||||
#define PWM_SOUND D2
|
||||
#define PWM_DUTY 20 // 20/1024 -> volume
|
||||
#define PWM_TOP 1024
|
@ -3,8 +3,8 @@
|
||||
//must define these in Makefile (or platformio)
|
||||
//#define USER_SETUP_LOADED
|
||||
//#define ILI9341_DRIVER
|
||||
//#define TFT_CS PIN_D6
|
||||
//#define TFT_DC PIN_D8
|
||||
//#define TFT_CS PIN_D8
|
||||
//#define TFT_DC PIN_D1
|
||||
//#define TFT_WIDTH 240
|
||||
//#define TFT_HEIGHT 320
|
||||
//#define TFT_RST -1
|
||||
|
@ -3,8 +3,8 @@
|
||||
//must define these in Makefile (or platformio)
|
||||
//#define USER_SETUP_LOADED
|
||||
//#define ILI9341_DRIVER
|
||||
//#define TFT_CS PIN_D6
|
||||
//#define TFT_DC PIN_D8
|
||||
//#define TFT_CS PIN_D8
|
||||
//#define TFT_DC PIN_D1
|
||||
//#define TFT_WIDTH 240
|
||||
//#define TFT_HEIGHT 320
|
||||
//#define TFT_RST -1
|
||||
@ -21,7 +21,7 @@
|
||||
// "tape" storage...
|
||||
#undef USE_SD
|
||||
#undef USE_SPIFFS
|
||||
#define USE_FS
|
||||
#undef USE_FS
|
||||
|
||||
// sound
|
||||
#define PWM_SOUND D2
|
||||
|
Loading…
x
Reference in New Issue
Block a user