-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
65 lines (57 loc) · 1.59 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
54
55
56
57
58
59
60
61
62
63
64
65
[platformio]
; provide setup/loop functions for test compile:
src_dir = examples/minimal
data_dir = examples/minimal/data
[env]
platform = espressif32
framework = arduino
upload_speed = 921600
monitor_speed = 115200
lib_extra_dirs = ${workspacedir} ; this library, for test compile
build_flags =
-DUSER_SETUP_LOADED=1 ; we specify our own TFT setups for TFT_eSPI library
lib_deps =
bodmer/TFT_eSPI@^2.3.69
; platformio/[email protected]+sha.5
[env:esp32-ILI9341-240x320]
board = esp32dev
build_flags =
${env.build_flags}
-include examples/minimal/boardSetups/Setup-Generic-ILI9341.h
[env:esp32-ST7735-80x160]
board = esp32dev
build_flags =
${env.build_flags}
-include examples/minimal/boardSetups/Setup-Generic-ST7735.h
[env:M5StickC]
board = m5stick-c
upload_speed = 750000
build_flags =
${env.build_flags}
-include examples/minimal/boardSetups/Setup-M5StickC.h
[env:M5StickC-Plus]
board = m5stick-c
upload_speed = 750000
build_flags =
${env.build_flags}
-include examples/minimal/boardSetups/Setup-M5StickC-Plus.h
[env:TTGO-T-Display]
board = esp32dev
build_flags =
${env.build_flags}
-include examples/minimal/boardSetups/Setup-TTGO-T-Display.h
[env:TTGO-T7-ILI9341-240x320]
board = esp-wrover-kit
build_flags =
${env.build_flags}
-DBOARD_HAS_PSRAM
-DCONFIG_SPIRAM_SUPPORT
-mfix-esp32-psram-cache-issue
-include examples/minimal/boardSetups/Setup-TTGO-T7-ILI9341.h
[env:TTGO-TS]
board = esp32dev
monitor_rts = 0
monitor_dtr = 0
build_flags =
${env.build_flags}
-include examples/minimal/boardSetups/Setup-TTGO-TS.h