-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathplatformio.ini
More file actions
78 lines (73 loc) · 1.96 KB
/
Copy pathplatformio.ini
File metadata and controls
78 lines (73 loc) · 1.96 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
; 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
board_build.partitions = huge_app.csv
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 ILI9488_DRIVER
-D TFT_MISO=19
-D TFT_MOSI=23
-D TFT_SCLK=18
-D TFT_CS=15
-D TFT_DC=22
-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=27000000
[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
; Memory configuration for ESP32-S3 WROOM N16R8
board_build.arduino.memory_type = qio_opi
board_build.flash_mode = qio
board_build.psram_type = opi
board_upload.flash_size = 16MB
board_upload.maximum_size = 16777216
board_build.partitions = default_16MB.csv
; Serial Monitor configuration
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
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 ILI9488_DRIVER
-D TFT_MISO=40
-D TFT_MOSI=39
-D TFT_SCLK=18
-D TFT_CS=17
-D TFT_DC=41
-D TFT_RST=4
-D LOAD_GLCD=10
-D LOAD_FONT2
-D LOAD_FONT4
-D LOAD_FONT6
-D LOAD_FONT7
-D LOAD_FONT8
-D LOAD_GFXFF
-D SMOOTH_FONT
-D SPI_FREQUENCY=27000000
-D ARDUINO_USB_CDC_ON_BOOT=1
-D BOARD_HAS_PSRAM