From 0737b1aecfae3ace32cedf7dfd62bcddace9445f Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Thu, 24 Oct 2019 19:30:10 +0200 Subject: [PATCH] env: SKRmini can't use STLink (#15645) --- platformio.ini | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/platformio.ini b/platformio.ini index 2597b4f7d..5b829b812 100644 --- a/platformio.ini +++ b/platformio.ini @@ -265,6 +265,8 @@ lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, SPI src_filter = ${common.default_src_filter} + monitor_speed = 250000 +debug_tool = stlink +upload_protocol = stlink # # STM32F103RC_fysetc @@ -305,8 +307,6 @@ lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, SPI src_filter = ${common.default_src_filter} + monitor_speed = 115200 -upload_protocol = stlink -debug_tool = stlink [env:STM32F103RC_bigtree_USB] platform = ststm32 @@ -315,14 +315,12 @@ board = genericSTM32F103RC platform_packages = tool-stm32duino extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py - ${common.build_flags} -DDEBUG_LEVEL=0 -DUSE_USB_COMPOSITE -std=gnu++14 + ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DUSE_USB_COMPOSITE build_unflags = -std=gnu++11 lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, SPI src_filter = ${common.default_src_filter} + monitor_speed = 115200 -upload_protocol = stlink -debug_tool = stlink # # STM32F4 with STM32GENERIC