-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathplatformio.ini
54 lines (50 loc) · 1.24 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
49
50
51
52
53
; 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
[platformio]
default_envs = esp32-s3-devkitc-1
[env:esp32-s3-devkitc-1]
board = esp32-s3-devkitc-1
board_upload.flash_size = 16MB
board_build.partitions = default_16MB.csv
board_build.arduino.memory_type = qio_opi
[env]
platform = espressif32
framework = arduino
monitor_speed = 115200
lib_deps =
mikalhart/TinyGPSPlus@^1.0.3
bodmer/TFT_eSPI@^2.5.33
bblanchon/StreamUtils@^1.7.3
build_flags =
-D BOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-D USER_SETUP_LOADED
-D ST7789_DRIVER
-D TFT_SDA_READ
-D TFT_INVERSION_OFF
-D TFT_RGB_ORDER=TFT_BRG
-D TFT_WIDTH=240
-D TFT_HEIGHT=320
-D TFT_MISO=-1
-D TFT_MOSI=11
-D TFT_SCLK=12
-D TFT_CS=10
-D TFT_DC=01
-D TFT_RST=02
-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 SPI_FREQUENCY=80000000
-DCORE_DEBUG_LEVEL=4 ; 1:error, 2:warning, 3:info, 4:debug, 5:verbose