Tidy up ini files

This commit is contained in:
fvanroie 2022-05-06 21:39:52 +02:00
parent 0de47adeb0
commit 0883b96908
4 changed files with 3 additions and 8 deletions

View File

@ -14,14 +14,12 @@ build_flags =
${esp32.no_ps_ram}
;region -- TFT_eSPI build options ------------------------
${esp32.vspi} ; Use VSPI hardware SPI bus
-D USER_SETUP_LOADED=1
-D ILI9488_DRIVER=1
-D TFT_ROTATION=0 ; 0=0, 1=90, 2=180 or 3=270 degree
-D TFT_WIDTH=320
-D TFT_HEIGHT=480
-D TFT_MISO=19 ;// (leave TFT SDO disconnected if other SPI devices share MISO)
-D TFT_MOSI=23
-D TFT_SCLK=18
-D TFT_CS=15 ;// Chip select control pin
-D TFT_DC=2 ;// Data Command control pin
-D TFT_RST=4 ;// Reset pin (could connect to RST pin)

View File

@ -12,10 +12,10 @@ build_flags =
${env.build_flags}
${esp32.build_flags}
${esp32.no_ps_ram}
${esp32.vspi} ; Use VSPI hardware SPI bus
-D HASP_MODEL="ESP32 Touchdown"
;region -- TFT_eSPI build options ------------------------
${esp32.vspi} ; Use VSPI hardware SPI bus
-D USER_SETUP_LOADED=1
-D ILI9488_DRIVER=1
-D TFT_ROTATION=0 ; 0=0, 1=90, 2=180 or 3=270 degree

View File

@ -15,15 +15,13 @@ build_flags =
;-mfix-esp32-psram-cache-issue ; uses 24kB
;region -- TFT_eSPI build options ------------------------
${esp32.vspi} ; Use VSPI hardware SPI bus
-D USER_SETUP_LOADED=1
;-D LGFX_USE_V1=1
-D ILI9488_DRIVER=1
-D TFT_ROTATION=0 ; 0=0, 1=90, 2=180 or 3=270 degree
-D TFT_WIDTH=320
-D TFT_HEIGHT=480
-D TFT_MISO=19 ;// (leave TFT SDO disconnected if other SPI devices share MISO)
-D TFT_MOSI=23
-D TFT_SCLK=18
-D TFT_CS=15 ;// Chip select control pin
-D TFT_DC=2 ;// Data Command control pin
-D TFT_RST=4 ;// Reset pin (could connect to RST pin)

View File

@ -38,7 +38,6 @@ build_flags =
-D TOUCH_RST=-1 ; not used, connected to 3.3V
-D I2C_TOUCH_FREQUENCY=400000
-D I2C_TOUCH_ADDRESS=0x38
-D LV_MEM_SIZE=60416U
;endregion
;region -- Library options -------------------------------