-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #833 from vorbeiei/test
add config for huzza32 v2 with original featherwing
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
;***************************************************; | ||
; HUZZAH32 V2 ESP32 with Featherwing TFT 3.5" ; | ||
; - HUZZAH32 V2 w/ 2 MB PSRAM board ; | ||
; - HX8357D TFT Featherwing 3.5" V2 ; | ||
; - STMPE610 touch controller ; | ||
;***************************************************; | ||
|
||
[env:huzzah32-v2-featherwing-35] | ||
extends = arduino_esp32_v2, flash_8mb | ||
board = adafruit_feather_esp32_v2 | ||
|
||
build_flags = | ||
-D HASP_MODEL="Adafruit HUZZAH32 V2 ESP32 Featherwing 3.5" | ||
${arduino_esp32_v2.build_flags} | ||
${esp32.ps_ram} | ||
-D LV_INDEV_DEF_READ_PERIOD=30 | ||
;region -- TFT_eSPI build options ------------------------ | ||
${lcd.featherwing-35} | ||
-D TFT_MISO=21 ; GPIO21 / MISO | ||
-D TFT_MOSI=19 ; GPIO19 / MOSI | ||
-D TFT_SCLK=5 ; GPIO5 / SCK | ||
-D TFT_DC=33 ; GPIO33 / D33 | ||
-D TFT_CS=15 ; GPIO15 / D15 | ||
-D TFT_RST=-1 ; RST | ||
-D TOUCH_CS=32 | ||
|
||
-D TFT_BCKL=26 ; Solder the LITE pad to a PWM enabled pin of the ESP, like GPIO 26 | ||
;endregion | ||
|
||
lib_deps = | ||
${arduino_esp32_v2.lib_deps} | ||
${tft_espi.lib_deps} | ||
${stmpe610.lib_deps} |