-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
95 lines (91 loc) · 1.87 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
; 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 = OSW
[env]
platform = espressif32
;board = pico32
framework = arduino
board_build.f_flash = 80000000L
board_build.flash_mode = dio
board_build.embed_txtfiles =
board_build.partitions = huge_app.csv
monitor_speed = 115200
monitor_filters =
default
esp32_exception_decoder
build_flags =
-DCORE_DEBUG_LEVEL=3
-DLV_CONF_INCLUDE_SIMPLE=1
src_filter = +<*>
lib_deps =
bodmer/TFT_eSPI@^2.3.59
adafruit/Adafruit Unified Sensor @ ^1.1.4
makuna/RTC@^2.3.5
lvgl/lvgl @ ^7.11.0
bblanchon/ArduinoJson @ ^6.17.3
adafruit/Adafruit BusIO@^1.8.3
adafruit/RTClib @ ^1.12.5
evert-arias/EasyButton @ ^2.0.1
;Open Smartwatch
[env:OSW]
board = pico32
build_flags =
-DOSW=1
-DENV_DEFINED=1
-DUSER_SETUP_LOADED=1
-DGC9A01_DRIVER=1
-DTFT_WIDTH=240
-DTFT_HEIGHT=240
-DTFT_MISO=-1
-DTFT_MOSI=23
-DTFT_SCLK=18
-DTFT_CS=5
-DTFT_DC=12
-DTFT_RST=33
-DLOAD_GLCD=1
-DLOAD_FONT2=1
-DSPI_FREQUENCY=40000000
-DSPI_READ_FREQUENCY=20000000
-DCORE_DEBUG_LEVEL=3
[env:t-watch2020]
board = ttgo-t-watch
build_flags =
-DTWATCH2020V1=1
-DENV_DEFINED=1
-DUSER_SETUP_LOADED=1
-ST7789_DRIVER=1
-DTFT_WIDTH=240
-DTFT_HEIGHT=240
-DTFT_MISO=0
-DTFT_MOSI=19
-DTFT_SCLK=18
-DTFT_CS=5
-DTFT_DC=27
-DTFT_RST=-1
-DLOAD_GLCD=1
-DSPI_FREQUENCY=40000000
[env:ttgo-t4]
board = esp32dev
build_flags =
-DTTGOT4=1
-DENV_DEFINED=1
-DUSER_SETUP_LOADED=1
-ILI9341_DRIVER=1
-DTFT_WIDTH=320
-DTFT_HEIGHT=240
-DTFT_MISO=12
-DTFT_MOSI=23
-DTFT_SCLK=18
-DTFT_CS=27
-DTFT_DC=32
-DTFT_RST=-5
-DLOAD_GLCD=1
-DSPI_FREQUENCY=80000000