Browse Source

Enable use of latest TMCStepper on MKS Robin Nano (#16652)

Artur Petrzak 5 years ago
parent
commit
2ef6b86ccd
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      platformio.ini

+ 4
- 1
platformio.ini View File

@@ -483,11 +483,14 @@ lib_ignore    = Adafruit NeoPixel, SPI
483 483
 [env:mks_robin_nano]
484 484
 platform      = ststm32
485 485
 board         = genericSTM32F103VE
486
+platform_packages = tool-stm32duino
486 487
 build_flags   = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
487
-  ${common.build_flags} -std=gnu++14
488
+  ${common.build_flags} -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
488 489
 build_unflags = -std=gnu++11
489 490
 extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py
490 491
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
492
+lib_deps =
493
+  SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
491 494
 lib_ignore    = Adafruit NeoPixel, SPI
492 495
 
493 496
 #

Loading…
Cancel
Save