-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
84 lines (71 loc) · 1.64 KB
/
Copy pathplatformio.ini
File metadata and controls
84 lines (71 loc) · 1.64 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
; 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:pico]
platform = raspberrypi
board = pico
framework = arduino
lib_deps =
bodmer/TFT_eSPI@^2.5.43
madhephaestus/ESP32Encoder@^0.12.0
[env:esp32dev]
platform = espressif32@6.7.0
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600
lib_deps =
adafruit/Adafruit BusIO @ ^1.14.0
adafruit/Adafruit GFX Library @ ^1.12.0
https://github.com/adafruit/Adafruit_GC9A01A.git
madhephaestus/ESP32Encoder@^0.12.0
build_flags =
-D USER_SETUP_LOADED=1
-D GC9A01_DRIVER
-D TFT_WIDTH=240
-D TFT_HEIGHT=240
-D TFT_MOSI=23
-D TFT_SCLK=18
-D TFT_CS=5
-D TFT_DC=2
-D TFT_RST=4
-D ENC_CLK=32
-D ENC_DT=33
-D ENC_SW=25
-D SPI_FREQUENCY=40000000
[env:esp32s3]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
upload_port = COM15
; build_type = debug
lib_deps =
adafruit/Adafruit BusIO @ ^1.14.0
adafruit/Adafruit GFX Library @ ^1.12.0
https://github.com/adafruit/Adafruit_GC9A01A.git
madhephaestus/ESP32Encoder@^0.12.0
build_flags =
-D USER_SETUP_LOADED=1
-D GC9A01_DRIVER
-D TFT_WIDTH=240
-D TFT_HEIGHT=240
-D TFT_SDA=35
-D TFT_SCL=36
-D TFT_DC=38
-D TFT_CS=39
-D TFT_RST=40
-D ENC_SW=4
-D ENC_DT=5
-D ENC_CLK=6
-D SPI_FREQUENCY=40000000
-D B0_PIN=7
-D B1_PIN=15
-D B2_PIN=16