From fdc54d65f6315c7c6eeb84f72929c5cb73bfdab5 Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Fri, 19 Feb 2021 08:28:47 +0000 Subject: [PATCH] add esp32 config --- hw/esp32-espi.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 hw/esp32-espi.h diff --git a/hw/esp32-espi.h b/hw/esp32-espi.h new file mode 100644 index 0000000..4971d54 --- /dev/null +++ b/hw/esp32-espi.h @@ -0,0 +1,32 @@ +// TFT display... +#define USE_ESPI +//#define USER_SETUP_LOADED +//#define ILI9341_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 + +// PS/2 keyboard +#define KBD_DATA 34 +#define KBD_IRQ 35 + +#define RAM_SIZE 0x10000u + +// SPI-RAM +#undef USE_SPIRAM +#define SPIRAM_SIZE 0u + +// "tape" storage... +#undef USE_SD +#undef USE_FS +#undef USE_SPIFFS + +// sound: dac and pwm +#undef DAC_SOUND +#undef PWM_SOUND +#undef PWM_DUTY