Browse Source

Set default baudrate for the pio serial monitor

Scott Lahteine 6 years ago
parent
commit
883524056b
1 changed files with 74 additions and 60 deletions
  1. 74
    60
      platformio.ini

+ 74
- 60
platformio.ini View File

@@ -51,25 +51,27 @@ lib_deps =
51 51
 # ATmega2560
52 52
 #
53 53
 [env:megaatmega2560]
54
-platform    = atmelavr
55
-framework   = arduino
56
-board       = megaatmega2560
57
-build_flags = ${common.build_flags}
58
-board_f_cpu = 16000000L
59
-lib_deps    = ${common.lib_deps}
60
-src_filter  = ${common.default_src_filter}
54
+platform     = atmelavr
55
+framework    = arduino
56
+board        = megaatmega2560
57
+build_flags  = ${common.build_flags}
58
+board_f_cpu  = 16000000L
59
+lib_deps     = ${common.lib_deps}
60
+src_filter   = ${common.default_src_filter}
61
+monitor_baud = 250000
61 62
 
62 63
 #
63 64
 # ATmega1280
64 65
 #
65 66
 [env:megaatmega1280]
66
-platform    = atmelavr
67
-framework   = arduino
68
-board       = megaatmega1280
69
-build_flags = ${common.build_flags}
70
-board_f_cpu = 16000000L
71
-lib_deps    = ${common.lib_deps}
72
-src_filter  = ${common.default_src_filter}
67
+platform     = atmelavr
68
+framework    = arduino
69
+board        = megaatmega1280
70
+build_flags  = ${common.build_flags}
71
+board_f_cpu  = 16000000L
72
+lib_deps     = ${common.lib_deps}
73
+src_filter   = ${common.default_src_filter}
74
+monitor_baud = 250000
73 75
 
74 76
 #
75 77
 # Due (Atmel SAM3X8E ARM Cortex-M3)
@@ -78,21 +80,23 @@ src_filter  = ${common.default_src_filter}
78 80
 #  - RADDS
79 81
 #
80 82
 [env:DUE]
81
-platform    = atmelsam
82
-framework   = arduino
83
-board       = due
84
-build_flags = ${common.build_flags}
85
-lib_deps    = ${common.lib_deps}
86
-lib_ignore  = c1921b4
87
-src_filter  = ${common.default_src_filter}
83
+platform     = atmelsam
84
+framework    = arduino
85
+board        = due
86
+build_flags  = ${common.build_flags}
87
+lib_deps     = ${common.lib_deps}
88
+lib_ignore   = c1921b4
89
+src_filter   = ${common.default_src_filter}
90
+monitor_baud = 250000
88 91
 [env:DUE_USB]
89
-platform    = atmelsam
90
-framework   = arduino
91
-board       = dueUSB
92
-build_flags = ${common.build_flags}
93
-lib_deps    = ${common.lib_deps}
94
-lib_ignore  = c1921b4
95
-src_filter  = ${common.default_src_filter}
92
+platform     = atmelsam
93
+framework    = arduino
94
+board        = dueUSB
95
+build_flags  = ${common.build_flags}
96
+lib_deps     = ${common.lib_deps}
97
+lib_ignore   = c1921b4
98
+src_filter   = ${common.default_src_filter}
99
+monitor_baud = 250000
96 100
 
97 101
 #
98 102
 # NXP LPC1768 ARM Cortex-M3
@@ -113,6 +117,7 @@ lib_deps        = CMSIS-LPC1768
113 117
   TMC2130Stepper@>=2.2.0
114 118
 extra_scripts   = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
115 119
 src_filter      = ${common.default_src_filter}
120
+monitor_baud    = 250000
116 121
 
117 122
 #
118 123
 # LPC1768 (for debugging and development)
@@ -132,6 +137,7 @@ lib_deps       = CMSIS-LPC1768
132 137
   https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
133 138
 src_filter     = ${common.default_src_filter}
134 139
 extra_scripts  =  Marlin/src/HAL/HAL_LPC1768/debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
140
+monitor_baud   = 250000
135 141
 debug_tool     = custom
136 142
 debug_server   =
137 143
   C:\Program Files (x86)\SEGGER\JLink_V618d\JLinkGDBServerCL.exe
@@ -158,6 +164,7 @@ build_flags  = ${common.build_flags}
158 164
 upload_speed = 57600
159 165
 lib_deps     = ${common.lib_deps}
160 166
 src_filter   = ${common.default_src_filter}
167
+monitor_baud = 250000
161 168
 
162 169
 #
163 170
 # Melzi and clones (Optiboot bootloader)
@@ -170,49 +177,54 @@ build_flags  = ${common.build_flags}
170 177
 upload_speed = 115200
171 178
 lib_deps     = ${common.lib_deps}
172 179
 src_filter   = ${common.default_src_filter}
180
+monitor_baud = 250000
173 181
 
174 182
 #
175 183
 # RAMBo
176 184
 #
177 185
 [env:rambo]
178
-platform    = atmelavr
179
-framework   = arduino
180
-board       = reprap_rambo
181
-build_flags = ${common.build_flags}
182
-board_f_cpu = 16000000L
183
-lib_deps    = ${common.lib_deps}
184
-src_filter  = ${common.default_src_filter}
186
+platform     = atmelavr
187
+framework    = arduino
188
+board        = reprap_rambo
189
+build_flags  = ${common.build_flags}
190
+board_f_cpu  = 16000000L
191
+lib_deps     = ${common.lib_deps}
192
+src_filter   = ${common.default_src_filter}
193
+monitor_baud = 250000
185 194
 
186 195
 #
187 196
 # Sanguinololu (ATmega644p)
188 197
 #
189 198
 [env:sanguino_atmega644p]
190
-platform    = atmelavr
191
-framework   = arduino
192
-board       = sanguino_atmega644p
193
-build_flags = ${common.build_flags}
194
-lib_deps    = ${common.lib_deps}
195
-src_filter  = ${common.default_src_filter}
199
+platform     = atmelavr
200
+framework    = arduino
201
+board        = sanguino_atmega644p
202
+build_flags  = ${common.build_flags}
203
+lib_deps     = ${common.lib_deps}
204
+src_filter   = ${common.default_src_filter}
205
+monitor_baud = 250000
196 206
 
197 207
 #
198 208
 # Sanguinololu (ATmega1284p)
199 209
 #
200 210
 [env:sanguino_atmega1284p]
201
-platform    = atmelavr
202
-framework   = arduino
203
-board       = sanguino_atmega1284p
204
-build_flags = ${common.build_flags}
205
-lib_deps    = ${common.lib_deps}
206
-src_filter  = ${common.default_src_filter}
211
+platform     = atmelavr
212
+framework    = arduino
213
+board        = sanguino_atmega1284p
214
+build_flags  = ${common.build_flags}
215
+lib_deps     = ${common.lib_deps}
216
+src_filter   = ${common.default_src_filter}
217
+monitor_baud = 250000
207 218
 
208 219
 [env:STM32F1]
209
-platform    = ststm32
210
-framework   = arduino
211
-board       = genericSTM32F103RE
212
-build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
220
+platform     = ststm32
221
+framework    = arduino
222
+board        = genericSTM32F103RE
223
+build_flags  = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
213 224
   ${common.build_flags}
214
-lib_deps    = ${common.lib_deps}
215
-src_filter  = ${common.default_src_filter}
225
+lib_deps     = ${common.lib_deps}
226
+src_filter   = ${common.default_src_filter}
227
+monitor_baud = 250000
216 228
 
217 229
 #
218 230
 # Teensy++ 2.0
@@ -230,15 +242,17 @@ build_flags   = ${common.build_flags}
230 242
 lib_deps      = ${common.lib_deps}
231 243
 lib_ldf_mode  = deep+
232 244
 src_filter    = ${common.default_src_filter}
245
+monitor_baud  = 250000
233 246
 
234 247
 #
235 248
 # Teensy 3.5 / 3.6 (ARM Cortex-M4)
236 249
 #
237 250
 [env:teensy35]
238
-platform    = teensy
239
-framework   = arduino
240
-board       = teensy35
241
-build_flags = ${common.build_flags}
242
-lib_deps    = ${common.lib_deps}
243
-lib_ignore  = Adafruit NeoPixel
244
-src_filter  = ${common.default_src_filter}
251
+platform     = teensy
252
+framework    = arduino
253
+board        = teensy35
254
+build_flags  = ${common.build_flags}
255
+lib_deps     = ${common.lib_deps}
256
+lib_ignore   = Adafruit NeoPixel
257
+src_filter   = ${common.default_src_filter}
258
+monitor_baud = 250000

Loading…
Cancel
Save