-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
70 lines (65 loc) · 1.74 KB
/
Copy pathplatformio.ini
File metadata and controls
70 lines (65 loc) · 1.74 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
; 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]
platform = espressif32@6.6.0
framework = arduino
monitor_speed = 115200
lib_deps = bodmer/TFT_eSPI@^2.5.33
[env:fri3d2024]
board = esp32-s3-devkitc-1
board_build.arduino.memory_type = qio_opi
board_build.partitions = default_16MB.csv
board_upload.flash_size = 16MB
build_flags =
-D BINF_PLATFORM=FRI3D2024
-D BOARD_HAS_PSRAM ; N16R8V has PSRAM
-D ARDUINO_USB_MODE=1 ; necessary for serial port
-D ARDUINO_USB_CDC_ON_BOOT=1 ; necessary for serial port
-D USER_SETUP_LOADED
-D ST7789_DRIVER
-D USE_HSPI_PORT
-D TFT_RGB_ORDER=TFT_BGR ; swap red and blue byte order
-D TFT_INVERSION_OFF
-D TFT_WIDTH=296 ; init the eSPI lib with correct dimensions
-D TFT_HEIGHT=240 ; init the eSPI lib with correct dimensions
-D TFT_MISO=8
-D TFT_MOSI=6
-D TFT_SCLK=7
-D TFT_CS=5
-D TFT_DC=4
-D TFT_RST=48
-D LOAD_GLCD=1
-D SPI_FREQUENCY=80000000
[env:fri3d2026]
board = 4d_systems_esp32s3_gen4_r8n16
board_upload.flash_size = 16MB
monitor_speed = 115200
lib_deps =
bodmer/TFT_eSPI
build_flags =
-D BINF_PLATFORM=FRI3D2026
-D BOARD_HAS_PSRAM
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
-D USER_SETUP_LOADED
-D USE_HSPI_PORT
-D ST7789_DRIVER
-D TFT_RGB_ORDER=TFT_BGR
-D TFT_INVERSION_ON
-D TFT_MISO=8
-D TFT_MOSI=6
-D TFT_SCLK=7
-D TFT_CS=5
-D TFT_DC=4
-D TFT_RST=11
-D TFT_WIDTH=240
-D TFT_HEIGHT=320
-D LOAD_GLCD=1
-D SPI_FREQUENCY=80000000