This repository has been archived by the owner on Oct 18, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathplatformio.ini
193 lines (182 loc) · 4.09 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
; 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]
default_envs =
rumba-polargraph
;ramps-polargraph
;rumba-sixi3
;BIGTREE_SKR_PRO-Sixi3
boards_dir = platformio/boards
[common]
build_flags =
-g3
-fmax-errors=5
lib_deps =
[env]
framework = arduino
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
monitor_speed = 57600
; Serial Monitor options
monitor_flags =
--quiet
--echo
--eol LF
--filter colorize
--filter time
[common_avr8]
board_build.f_cpu = 16000000L
build_flags = ${common.build_flags} -Wl,--relax
[env:rumba-polargraph]
platform = atmelavr
board = megaatmega2560
extends = common_avr8
build_flags =
${common.build_flags}
-DHEADER_RUMBA
-DMACHINE_STYLE=POLARGRAPH
-DMOTHERBOARD=BOARD_RUMBA
-DLCD_TYPE=LCD_IS_SMART
-DTARGET_DEFAULT
-DUSE_ALT_SERVO
-DHAS_SD
lib_deps =
SdFat
;teemuatlut/TMC2130Stepper @ ^2.5.1
;teemuatlut/TMCStepper @ ^0.7.1
U8g2
U8Glib
fmalpartida/LiquidCrystal @ ^1.5.0
[env:rumba-sixi3]
platform = atmelavr
board = megaatmega2560
extends = common_avr8
build_flags =
${common.build_flags}
-DHEADER_RUMBA
-DMACHINE_STYLE=SIXI3
-DMOTHERBOARD=BOARD_RUMBA
-DTARGET_DEFAULT
-DUSE_ALT_SERVO
lib_deps =
SdFat
;teemuatlut/TMC2130Stepper @ ^2.5.1
;teemuatlut/TMCStepper @ ^0.7.1
;U8g2
;U8Glib
;fmalpartida/LiquidCrystal @ ^1.5.0
[env:ramps-polargraph]
platform = atmelavr
board = megaatmega2560
extends = common_avr8
build_flags =
${common.build_flags}
-DMACHINE_STYLE=POLARGRAPH
-DMOTHERBOARD=BOARD_RAMPS
-DLCD_TYPE=LCD_IS_SMART
-DTARGET_DEFAULT
-DUSE_ALT_SERVO
-DHAS_SD
lib_deps =
SdFat
;teemuatlut/TMC2130Stepper @ ^2.5.1
;teemuatlut/TMCStepper @ ^0.7.1
U8g2
U8Glib
fmalpartida/LiquidCrystal @ ^1.5.0
[env:cnc3-polargraph]
platform = atmelavr
board = megaatmega2560
extends = common_avr8
build_flags =
${common.build_flags}
-DMACHINE_STYLE=POLARGRAPH
-DMOTHERBOARD=BOARD_CNCV3
-DLCD_TYPE=LCD_IS_SMART
-DTARGET_DEFAULT
-DUSE_ALT_SERVO
lib_deps =
SdFat
;teemuatlut/TMC2130Stepper @ ^2.5.1
;teemuatlut/TMCStepper @ ^0.7.1
[env:sixi2]
platform = atmelavr
board = megaatmega2560
extends = common_avr8
build_flags =
${common.build_flags}
-DMACHINE_STYLE=SIXI
-DMOTHERBOARD=BOARD_SIXI_MEGA
-DTARGET_DEFAULT
-DUSE_ALT_SERVO
lib_deps =
SdFat
;teemuatlut/TMC2130Stepper @ ^2.5.1
;teemuatlut/TMCStepper @ ^0.7.1
U8g2
U8Glib
fmalpartida/LiquidCrystal @ ^1.5.0
[env:BIGTREE_SKR_PRO-Sixi3]
platform = ststm32@~12.1
board = BigTree_SKR_Pro
board_build.variants_dir = platformio/variants
board_build.variant = BIGTREE_SKR_PRO_1v1
extra_scripts = pre:platformio/scripts/generic_create_variant.py
build_unflags = -std=gnu11
build_flags =
${common.build_flags}
-DMACHINE_STYLE=SIXI3
-DHEADER_SKRPRO
-DMOTHERBOARD=BOARD_SKRPRO1_2
-DUSB_PRODUCT=\"STM32F407ZG\"
-DTARGET_STM32F4
-DHAS_TMC2130
-DSTM32F407_5ZX
-DVECT_TAB_OFFSET=0x8000
-DUSBD_USE_CDC_COMPOSITE
-DUSE_USB_FS
-DUSBCON
-DUSBD_USE_CDC
;-DUSBD_VID=0x0483
-DTIM_IRQ_PRIO=13
;-DUSE_ALT_SERVO
-fmerge-all-constants
upload_protocol = stlink
lib_deps =
;teemuatlut/TMC2130Stepper @ ^2.5.1
;teemuatlut/TMCStepper @ ^0.7.1
[env:BIGTREE_SKR_PRO-Stewart]
platform = ststm32@~12.1
board = BigTree_SKR_Pro
board_build.variants_dir = platformio/variants
board_build.variant = BIGTREE_SKR_PRO_1v1
extra_scripts = pre:platformio/scripts/generic_create_variant.py
build_unflags = -std=gnu11
build_flags =
${common.build_flags}
-DMACHINE_STYLE=STEWART_LINEAR
-DHEADER_SKRPRO
-DMOTHERBOARD=BOARD_SKRPRO1_2
-DUSB_PRODUCT=\"STM32F407ZG\"
-DTARGET_STM32F4
#-DHAS_TMC2130
-DSTM32F407_5ZX
-DVECT_TAB_OFFSET=0x8000
-DUSBD_USE_CDC_COMPOSITE
-DUSE_USB_FS
-DUSBCON
-DUSBD_USE_CDC
;-DUSBD_VID=0x0483
-DTIM_IRQ_PRIO=13
-fmerge-all-constants
upload_protocol = stlink
lib_deps =
;teemuatlut/TMC2130Stepper @ ^2.5.1
;teemuatlut/TMCStepper @ ^0.7.1