Quellcode durchsuchen

env: SKRmini can't use STLink (#15645)

Tanguy Pruvot vor 5 Jahren
Ursprung
Commit
0737b1aecf
1 geänderte Dateien mit 3 neuen und 5 gelöschten Zeilen
  1. 3
    5
      platformio.ini

+ 3
- 5
platformio.ini Datei anzeigen

@@ -265,6 +265,8 @@ lib_deps      = ${common.lib_deps}
265 265
 lib_ignore    = Adafruit NeoPixel, SPI
266 266
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
267 267
 monitor_speed = 250000
268
+debug_tool    = stlink
269
+upload_protocol = stlink
268 270
 
269 271
 #
270 272
 # STM32F103RC_fysetc
@@ -305,8 +307,6 @@ lib_deps          = ${common.lib_deps}
305 307
 lib_ignore        = Adafruit NeoPixel, SPI
306 308
 src_filter        = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
307 309
 monitor_speed     = 115200
308
-upload_protocol   = stlink
309
-debug_tool        = stlink
310 310
 
311 311
 [env:STM32F103RC_bigtree_USB]
312 312
 platform          = ststm32
@@ -315,14 +315,12 @@ board             = genericSTM32F103RC
315 315
 platform_packages = tool-stm32duino
316 316
 extra_scripts     = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py
317 317
 build_flags       = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
318
-  ${common.build_flags} -DDEBUG_LEVEL=0 -DUSE_USB_COMPOSITE -std=gnu++14
318
+  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DUSE_USB_COMPOSITE
319 319
 build_unflags     = -std=gnu++11
320 320
 lib_deps          = ${common.lib_deps}
321 321
 lib_ignore        = Adafruit NeoPixel, SPI
322 322
 src_filter        = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
323 323
 monitor_speed     = 115200
324
-upload_protocol   = stlink
325
-debug_tool        = stlink
326 324
 
327 325
 #
328 326
 # STM32F4 with STM32GENERIC

Laden…
Abbrechen
Speichern