Support TMCStepper with MKS Robin Pro (#17908)
This commit is contained in:
parent
a2153c15ee
commit
703e97b7af
3 changed files with 20 additions and 2 deletions
1
.github/workflows/test-builds.yml
vendored
1
.github/workflows/test-builds.yml
vendored
|
@ -59,6 +59,7 @@ jobs:
|
||||||
- FYSETC_S6
|
- FYSETC_S6
|
||||||
- malyan_M300
|
- malyan_M300
|
||||||
- mks_robin_lite
|
- mks_robin_lite
|
||||||
|
- mks_robin_pro
|
||||||
|
|
||||||
# Put lengthy tests last
|
# Put lengthy tests last
|
||||||
|
|
||||||
|
|
16
buildroot/share/tests/mks_robin_pro-tests
Normal file
16
buildroot/share/tests/mks_robin_pro-tests
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Build tests for MKS Robin Pro
|
||||||
|
#
|
||||||
|
|
||||||
|
# exit on first failure
|
||||||
|
set -e
|
||||||
|
|
||||||
|
use_example_configs Mks/Robin_Pro
|
||||||
|
opt_set SDCARD_CONNECTION LCD
|
||||||
|
opt_set X_DRIVER_TYPE TMC2209
|
||||||
|
opt_set Y_DRIVER_TYPE TMC2130
|
||||||
|
exec_test $1 $2 "MKS Robin Pro with TMC Drivers "
|
||||||
|
|
||||||
|
# cleanup
|
||||||
|
restore_configs
|
|
@ -558,11 +558,12 @@ platform = ststm32
|
||||||
board = genericSTM32F103ZE
|
board = genericSTM32F103ZE
|
||||||
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_pro.py
|
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_pro.py
|
||||||
build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
||||||
${common.build_flags} -std=gnu++14 -DSTM32_XL_DENSITY
|
${common.build_flags} -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4 -DSTM32_XL_DENSITY
|
||||||
build_unflags = -std=gnu++11
|
build_unflags = -std=gnu++11
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
lib_ignore = Adafruit NeoPixel, SPI, TMCStepper
|
SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
||||||
|
lib_ignore = Adafruit NeoPixel, SPI
|
||||||
|
|
||||||
#
|
#
|
||||||
# MKS Robin E3D (STM32F103RCT6) and
|
# MKS Robin E3D (STM32F103RCT6) and
|
||||||
|
|
Reference in a new issue