Set default baudrate for the pio serial monitor

2.0.x
Scott Lahteine 7 years ago
parent 73616d721a
commit 883524056b

@ -51,25 +51,27 @@ lib_deps =
# ATmega2560 # ATmega2560
# #
[env:megaatmega2560] [env:megaatmega2560]
platform = atmelavr platform = atmelavr
framework = arduino framework = arduino
board = megaatmega2560 board = megaatmega2560
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
board_f_cpu = 16000000L board_f_cpu = 16000000L
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_baud = 250000
# #
# ATmega1280 # ATmega1280
# #
[env:megaatmega1280] [env:megaatmega1280]
platform = atmelavr platform = atmelavr
framework = arduino framework = arduino
board = megaatmega1280 board = megaatmega1280
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
board_f_cpu = 16000000L board_f_cpu = 16000000L
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_baud = 250000
# #
# Due (Atmel SAM3X8E ARM Cortex-M3) # Due (Atmel SAM3X8E ARM Cortex-M3)
@ -78,21 +80,23 @@ src_filter = ${common.default_src_filter}
# - RADDS # - RADDS
# #
[env:DUE] [env:DUE]
platform = atmelsam platform = atmelsam
framework = arduino framework = arduino
board = due board = due
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = c1921b4 lib_ignore = c1921b4
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_baud = 250000
[env:DUE_USB] [env:DUE_USB]
platform = atmelsam platform = atmelsam
framework = arduino framework = arduino
board = dueUSB board = dueUSB
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = c1921b4 lib_ignore = c1921b4
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_baud = 250000
# #
# NXP LPC1768 ARM Cortex-M3 # NXP LPC1768 ARM Cortex-M3
@ -113,6 +117,7 @@ lib_deps = CMSIS-LPC1768
TMC2130Stepper@>=2.2.0 TMC2130Stepper@>=2.2.0
extra_scripts = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py extra_scripts = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_baud = 250000
# #
# LPC1768 (for debugging and development) # LPC1768 (for debugging and development)
@ -132,6 +137,7 @@ lib_deps = CMSIS-LPC1768
https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
extra_scripts = Marlin/src/HAL/HAL_LPC1768/debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py extra_scripts = Marlin/src/HAL/HAL_LPC1768/debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
monitor_baud = 250000
debug_tool = custom debug_tool = custom
debug_server = debug_server =
C:\Program Files (x86)\SEGGER\JLink_V618d\JLinkGDBServerCL.exe C:\Program Files (x86)\SEGGER\JLink_V618d\JLinkGDBServerCL.exe
@ -158,6 +164,7 @@ build_flags = ${common.build_flags}
upload_speed = 57600 upload_speed = 57600
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_baud = 250000
# #
# Melzi and clones (Optiboot bootloader) # Melzi and clones (Optiboot bootloader)
@ -170,49 +177,54 @@ build_flags = ${common.build_flags}
upload_speed = 115200 upload_speed = 115200
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_baud = 250000
# #
# RAMBo # RAMBo
# #
[env:rambo] [env:rambo]
platform = atmelavr platform = atmelavr
framework = arduino framework = arduino
board = reprap_rambo board = reprap_rambo
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
board_f_cpu = 16000000L board_f_cpu = 16000000L
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_baud = 250000
# #
# Sanguinololu (ATmega644p) # Sanguinololu (ATmega644p)
# #
[env:sanguino_atmega644p] [env:sanguino_atmega644p]
platform = atmelavr platform = atmelavr
framework = arduino framework = arduino
board = sanguino_atmega644p board = sanguino_atmega644p
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_baud = 250000
# #
# Sanguinololu (ATmega1284p) # Sanguinololu (ATmega1284p)
# #
[env:sanguino_atmega1284p] [env:sanguino_atmega1284p]
platform = atmelavr platform = atmelavr
framework = arduino framework = arduino
board = sanguino_atmega1284p board = sanguino_atmega1284p
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_baud = 250000
[env:STM32F1] [env:STM32F1]
platform = ststm32 platform = ststm32
framework = arduino framework = arduino
board = genericSTM32F103RE board = genericSTM32F103RE
build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
${common.build_flags} ${common.build_flags}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_baud = 250000
# #
# Teensy++ 2.0 # Teensy++ 2.0
@ -230,15 +242,17 @@ build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ldf_mode = deep+ lib_ldf_mode = deep+
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_baud = 250000
# #
# Teensy 3.5 / 3.6 (ARM Cortex-M4) # Teensy 3.5 / 3.6 (ARM Cortex-M4)
# #
[env:teensy35] [env:teensy35]
platform = teensy platform = teensy
framework = arduino framework = arduino
board = teensy35 board = teensy35
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel lib_ignore = Adafruit NeoPixel
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_baud = 250000

Loading…
Cancel
Save