Update configurations

This commit is contained in:
fvanroie 2021-07-04 23:37:03 +02:00
parent e9d98cca44
commit d8c518c90d
5 changed files with 32 additions and 26 deletions

View File

@ -44,7 +44,7 @@ jobs:
run: | run: |
cat platformio_override.ini cat platformio_override.ini
- name: Run PlatformIO - name: Run PlatformIO
run: pio run -e yeacreate-nscreen32 -e d1-mini-esp32_ili9341 -e esp32-touchdown -e freetouchdeck -e huzzah32-featherwing-24 -e huzzah32-featherwing-35 -e lanbon_l8 -e m5stack-core2 -e wt32-sc01 -e d1-mini-esp8266_ili9341 -e linux_sdl_64bits run: pio run -e makerfabs-tft35-cap -e yeacreate-nscreen32 -e d1-mini-esp32_ili9341 -e esp32-touchdown -e freetouchdeck -e huzzah32-featherwing-24 -e huzzah32-featherwing-35 -e lanbon_l8 -e m5stack-core2 -e wt32-sc01 -e d1-mini-esp8266_ili9341 -e linux_sdl_64bits
- name: Upload output file - name: Upload output file
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

View File

@ -48,7 +48,7 @@ jobs:
run: | run: |
cat platformio_override.ini cat platformio_override.ini
- name: Run PlatformIO - name: Run PlatformIO
run: pio run -e yeacreate-nscreen32 -e d1-mini-esp32_ili9341 -e esp32-touchdown -e freetouchdeck -e huzzah32-featherwing-24 -e huzzah32-featherwing-35 -e lanbon_l8 -e m5stack-core2 -e wt32-sc01 -e d1-mini-esp8266_ili9341 -e linux_sdl_64bits run: pio run -e makerfabs-tft35-cap -e yeacreate-nscreen32 -e d1-mini-esp32_ili9341 -e esp32-touchdown -e freetouchdeck -e huzzah32-featherwing-24 -e huzzah32-featherwing-35 -e lanbon_l8 -e m5stack-core2 -e wt32-sc01 -e d1-mini-esp8266_ili9341 -e linux_sdl_64bits
- name: Upload output file - name: Upload output file
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

View File

@ -86,7 +86,7 @@ build_flags =
${esp32.build_flags} ${esp32.build_flags}
;region -- TFT_eSPI build options ----------------------------------- ;region -- TFT_eSPI build options -----------------------------------
${lcd.lolin24} ${lcd.lolin24}
${esp32.vspi} ${esp32.vspi} ; Use VSPI hardware SPI bus
-D TFT_DC=5 -D TFT_DC=5
-D TFT_CS=26 -D TFT_CS=26
-D TFT_RST=-1 ; RST -D TFT_RST=-1 ; RST

View File

@ -1,44 +1,43 @@
;***************************************************; ;***************************************************;
; ESP32 TFT Touch with camera 3.5" Capacitive ; ; Makerfabs TFT Touch with camera 3.5" Capacitive ;
; - 3.5" ili9488 TFT SPI 4-WIRE ; ; - 3.5" ili9488 TFT SPI 4-WIRE ;
; - ft6336 touch controller ; ; - ft6336 touch controller ;
;***************************************************; ;***************************************************;
; untested config
[env:esp32-tft-touch-35] [env:makerfabs-tft35-cap]
extends = esp32 extends = esp32
board = esp32dev board = esp32dev
board_upload.flash_size=16MB
board_upload.maximum_size = 16777216
board_build.partitions = user_setups/esp32/partitions_16MB.csv
build_flags = build_flags =
${env.build_flags} ${env.build_flags}
${esp32.build_flags} ${esp32.build_flags}
${esp32.hspi} ; Use VSPI hardware SPI bus ${esp32.hspi} ; Use HSPI hardware SPI bus
-D HASP_MODEL="ESP32 TFT Touch 3.5" ${esp32.ps_ram}
-D HASP_MODEL="Makerfabs TFT Touch 3.5 Capacitive"
;region -- TFT_eSPI build options ------------------------ ;region -- TFT_eSPI build options ------------------------
-D USER_SETUP_LOADED=1 -D USER_SETUP_LOADED=1
-D ILI9488_DRIVER=1 -D ILI9488_DRIVER=1
-D SUPPORT_TRANSACTIONS
-D TFT_ROTATION=0 ; 0=0, 1=90, 2=180 or 3=270 degree -D TFT_ROTATION=0 ; 0=0, 1=90, 2=180 or 3=270 degree
-D TFT_WIDTH=320 -D TFT_WIDTH=320
-D TFT_HEIGHT=480 -D TFT_HEIGHT=480
-D TFT_CS=15 ;// SS Chip select control pin -D TFT_RST=26
-D TFT_DC=33 ;// RS Data Command control pin -D TFT_DC=33
-D TFT_RST=-1 ;// Reset pin (could connect to RST pin) -D TFT_CS=15
-D TFT_BCKL=32 ;None, configurable via web UI (e.g. 2 for D4) -D TFT_BCKL=-1 ; Needs soldering R31
-D SUPPORT_TRANSACTIONS -D SPI_FREQUENCY=60000000
-D TOUCH_DRIVER=6336 ; FT6336 Capacitive touch panel driver -D TOUCH_DRIVER=6336
-D TOUCH_SDA=26 -D TOUCH_SDA=26
-D TOUCH_SCL=27 -D TOUCH_SCL=27
-D TOUCH_IRQ=0 -D TOUCH_IRQ=0
-D TOUCH_RST=-1 ; not used -D TOUCH_RST=-1
-D TOUCH_FREQUENCY=400000 -D TOUCH_FREQUENCY=400000
-D SPI_FREQUENCY=40000000
-D SPI_READ_FREQUENCY=20000000
;endregion ;endregion
; -- Debugging options -----------------------------
; -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
;region -- Library options ------------------------------- ;region -- Library options -------------------------------
lib_deps = lib_deps =
${env.lib_deps} ${env.lib_deps}
@ -47,5 +46,12 @@ lib_deps =
lib_ignore = lib_ignore =
${env.lib_ignore} ${env.lib_ignore}
${esp32.lib_ignore} GxTFT
XPT2046_Touchscreen
Adafruit TouchScreen
Adafruit BusIO
Adafruit GFX Library
sstaub/Ticker
lv_drv_fsmc_ili9341
lv_drivers
;endregion ;endregion

View File

@ -15,7 +15,7 @@ board_build.partitions = user_setups/esp32/partitions_16MB.csv
build_flags = build_flags =
${env.build_flags} ${env.build_flags}
${esp32.build_flags} ${esp32.build_flags}
${esp32.hspi} ; Use VSPI hardware SPI bus ${esp32.hspi} ; Use HSPI hardware SPI bus
-D HASP_MODEL="YeaCreate Nscreen32" -D HASP_MODEL="YeaCreate Nscreen32"
;region -- TFT_eSPI build options ------------------------ ;region -- TFT_eSPI build options ------------------------