Skip to content

Commit

Permalink
Adds tinys3 config
Browse files Browse the repository at this point in the history
  • Loading branch information
cgreening committed Oct 1, 2023
1 parent 1a177bf commit 4731a30
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,50 @@ build_flags =
monitor_filters = esp32_exception_decoder
monitor_speed = 115200

[env:TinyS3]
platform = espressif32
board = um_tinys3
framework = arduino
lib_deps =
SPI
SPIFFS
SD
FS
bodmer/TFT_eSPI
bodmer/JPEGDecoder
bitbank2/JPEGDEC
https://github.com/esp-arduino-libs/ESP32_JPEG
https://github.com/Bodmer/TJpg_Decoder
board_build.arduino.memory_type = dio_opi
build_flags =
; maximum speed!
-Ofast
-DUSE_DMA
-DBOARD_HAS_PSRAM
; TFT_eSPI setup
-DUSER_SETUP_LOADED
-DTFT_WIDTH=240
-DTFT_HEIGHT=280
-DST7789_DRIVER=1
-DTFT_SCLK=6
-DTFT_MISO=8
-DTFT_MOSI=4
-DTFT_RST=5
-DTFT_DC=21
-DTFT_CS=8
-DTFT_BL=7
-DTOUCH_CS=-1
-DTFT_BACKLIGHT_ON=HIGH
-DLOAD_FONT2
-DSPI_FREQUENCY=80000000
; make sure serial output works
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-L .pio/libdeps/TinyS3/ESP32_JPEG/src/esp32s3
-llibesp_codec.a
; decode exceptions
monitor_filters = esp32_exception_decoder
monitor_speed = 115200

[env:cheap-yellow-display]
platform = espressif32
Expand Down

0 comments on commit 4731a30

Please sign in to comment.