-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
65 lines (63 loc) · 1.69 KB
/
platformio.ini
File metadata and controls
65 lines (63 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
; 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:rx_board]
platform = espressif32
board = esp32-evb
framework = arduino
monitor_speed = 115200
upload_port = /dev/ttyUSB1
build_flags =
; Shared CAN stack includes
-Ilib/Generated/lib
-Ilib/Generated/conf
; LVGL config for RX only
-Ilib/lvgl_conf/src
; Force project-owned TFT_eSPI setup (persistent across fresh lib installs)
-include ${PROJECT_DIR}/include/tft_setup.h
-DLV_CONF_INCLUDE_SIMPLE
-DRX_BOARD
; -D TEST_HOOKS
; -D TEST_INITFAIL_AFTER_MS=3000
lib_deps =
lvgl/lvgl@9.1.0
bodmer/TFT_eSPI@^2.5.34
; Build only common and rx sources, exclude tx and root main.cpp
build_src_filter =
+<rx/**>
+<common/**>
+<generated_lecture_dbc.c>
-<tx/**>
-<main.cpp>
[env:tx_board]
platform = espressif32
board = esp32-evb
framework = arduino
monitor_speed = 115200
; upload_port = /dev/ttyACM1
; monitor_port = /dev/ttyACM1
build_flags =
; Shared CAN stack includes
-Ilib/Generated/lib
-Ilib/Generated/conf
-DTX_BOARD
; TX does not need LVGL/UI-related local libs
lib_ignore =
Ui,
lvgl_conf,
TouchLibrary,
Display
; Build only common and tx sources, exclude rx and LVGL-specific TFT configuration unit and root main.cpp
build_src_filter =
+<tx/**>
+<common/**>
+<generated_lecture_dbc.c>
-<rx/**>
-<**/TFTConfiguration.cpp>
-<main.cpp>