forked from bigtreetech/BIGTREETECH-TouchScreenFirmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
115 lines (107 loc) · 3.04 KB
/
platformio.ini
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
; 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
[platformio]
src_dir = TFT
build_dir = .pioenvs
lib_dir = .piolib
libdeps_dir = .piolibdeps
boards_dir = buildroot/boards
env_default = BIGTREE_TFT35_V1_2
[common]
default_src_filter = +<src/*> -<src/Libraries/Startup>
extra_scripts = pre:buildroot/scripts/custom_filename.py
buildroot/scripts/iap.py
build_flags = -fmax-errors=5
-g
-ggdb
-DUSE_STDPERIPH_DRIVER=
-D__STATIC_INLINE=
-ITFT/src/Libraries/cmsis
-ITFT/src/Libraries/fwlib
-ITFT/src/Libraries/fwlib/inc
-ITFT/src/User/Fatfs
-ITFT/src/User/Hal
-ITFT/src/User/Menu
-ITFT/src/User
-ITFT/src/User/API
-ITFT/src/User/API/UI
-ITFT/src/User/API/Gcode
-ITFT/src/User/API/Language
-ITFT/src/User/API/Vfs
-ITFT/src/User/STM32_USB_HOST_Library/Core/inc
-ITFT/src/User/STM32_USB_HOST_Library/Class/MSC/inc
-ITFT/src/User/STM32_USB_HOST_Library/Usr/inc
-ITFT/src/User/STM32_USB_OTG_Driver/inc
-DSOFTWARE_VERSION=20
#
# BIGTREE_TFT35_V1.2
#
[env:BIGTREE_TFT35_V1_2]
platform = ststm32
framework = stm32cube
board = STM32F103VC
upload_protocol = cmsis-dap
src_filter = ${common.default_src_filter} +<src/Libraries/Startup/stm32f10x_hd>
extra_scripts = ${common.extra_scripts}
build_flags = ${common.build_flags}
-DHARDWARE="BIQU_TFT35_V1.2"
-DTFT35_V1_2=
#
# BIGTREE_TFT35_V1.1
#
[env:BIGTREE_TFT35_V1_1]
platform = ststm32
framework = stm32cube
board = STM32F103VC
upload_protocol = cmsis-dap
src_filter = ${common.default_src_filter} +<src/Libraries/Startup/stm32f10x_hd>
extra_scripts = ${common.extra_scripts}
build_flags = ${common.build_flags}
-DHARDWARE="BIQU_TFT35_V1.1"
-DTFT35_V1_1=
#
# BIGTREE_TFT35_V1.0
#
[env:BIGTREE_TFT35_V1_0]
platform = ststm32
framework = stm32cube
board = STM32F103VC
upload_protocol = cmsis-dap
src_filter = ${common.default_src_filter} +<src/Libraries/Startup/stm32f10x_hd>
extra_scripts = ${common.extra_scripts}
build_flags = ${common.build_flags}
-DHARDWARE="BIQU_TFT35_V1.0"
-DTFT35_V1_0=
#
# BIGTREE_TFT28
#
[env:BIGTREE_TFT28]
platform = ststm32
framework = stm32cube
board = STM32F103VC
upload_protocol = cmsis-dap
src_filter = ${common.default_src_filter} +<src/Libraries/Startup/stm32f10x_hd>
extra_scripts = ${common.extra_scripts}
build_flags = ${common.build_flags}
-DHARDWARE="BIQU_TFT28_V1.0"
-DTFT28=
#
# BIGTREE_TFT24_V1_1
#
[env:BIGTREE_TFT24_V1_1]
platform = ststm32
framework = stm32cube
board = STM32F105RC
upload_protocol = cmsis-dap
src_filter = ${common.default_src_filter} +<src/Libraries/Startup/stm32f10x_cl>
extra_scripts = ${common.extra_scripts}
build_flags = ${common.build_flags}
-DHARDWARE="BIGTREE_TFT24_V1.1"
-DTFT24_V1_1=