-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
69 lines (66 loc) · 1.69 KB
/
Copy pathplatformio.ini
File metadata and controls
69 lines (66 loc) · 1.69 KB
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
; 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:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
lib_deps = https://github.com/amrikarisma/TFT_eSPI.git
https://github.com/amrikarisma/esp32_can.git
https://github.com/amrikarisma/can_common.git
build_flags =
-D USER_SETUP_LOADED
-D GC9A01_DRIVER
-D TFT_MISO=19
-D TFT_MOSI=23
-D TFT_SCLK=18
-D TFT_CS=15
-D TFT_DC=2
-D TFT_RST=4
-D LOAD_GLCD=1
-D LOAD_FONT2
-D LOAD_FONT4
-D LOAD_FONT6
-D LOAD_FONT7
-D LOAD_FONT8
-D LOAD_GFXFF
-D SMOOTH_FONT
-D SPI_FREQUENCY=40000000
[env:mazduino_esp32]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
lib_deps =
https://github.com/amrikarisma/TFT_eSPI.git
https://github.com/amrikarisma/esp32_can.git
https://github.com/amrikarisma/can_common.git
build_flags =
-D USER_SETUP_LOADED
-D GC9A01_DRIVER
-D TFT_WIDTH=240
-D TFT_HEIGHT=240
-D TFT_MISO=19 # unused
-D TFT_MOSI=23 # SDA
-D TFT_SCLK=18
-D TFT_CS=15
-D TFT_DC=22 # Original 2 for test changed to 22
-D TFT_RST=4
-D TOUCH_CS=-1
-D TFT_BL=32 #original 21 for test change to 32
-D LOAD_GLCD=1
-D LOAD_FONT2
-D LOAD_FONT4
-D LOAD_FONT6
-D LOAD_FONT7
-D LOAD_FONT8
-D LOAD_GFXFF
-D SMOOTH_FONT
-D SPI_FREQUENCY=20000000