-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
48 lines (43 loc) · 1.14 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:ESP32-S3-DevKitC-1]
# Force espressif32 with Arduino core 2.0.14
# https://github.com/Bodmer/TFT_eSPI/issues/3329
platform = espressif32@6.6.0
board = esp32-s3-devkitc-1
framework = arduino
build_flags =
; -DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-D USER_SETUP_LOADED
-D ST7735_DRIVER
-D SPI_FREQUENCY=50000000
-D TFT_MISO=-1
-D TFT_MOSI=3
-D TFT_SCLK=5
-D TFT_CS=4
-D TFT_DC=2
-D TFT_RST=1
-D TFT_WIDTH=80
-D TFT_HEIGHT=160
-D LOAD_GLCD
-D LOAD_FONT2
-D LOAD_FONT4
-D LOAD_FONT6
-D LOAD_FONT7
-D LOAD_FONT8
-D LOAD_GFXFF
-D SMOOTH_FONT
-D ST7735_GREENTAB160x80
-D TFT_RGB_ORDER=TFT_BGR
lib_deps =
bodmer/TFT_eSPI @ ^2.5.43
board_build.partitions = huge_app.csv