Skip to content

Commit

Permalink
Add TMC26XStepper, not ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Aug 19, 2019
1 parent cd09e35 commit 08434b3
Showing 1 changed file with 27 additions and 21 deletions.
48 changes: 27 additions & 21 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ lib_deps =
Adafruit [email protected]
LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
SailfishRGB_LED=https://github.com/mikeshub/SailfishRGB_LED/archive/master.zip
SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip
Expand All @@ -57,6 +56,7 @@ board = megaatmega2560
build_flags = ${common.build_flags}
board_build.f_cpu = 16000000L
lib_deps = ${common.lib_deps}
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
monitor_speed = 250000

Expand All @@ -70,6 +70,7 @@ board = megaatmega1280
build_flags = ${common.build_flags}
board_build.f_cpu = 16000000L
lib_deps = ${common.lib_deps}
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
monitor_speed = 250000

Expand All @@ -86,6 +87,7 @@ framework = arduino
board = at90usb1286
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
extra_scripts = pre:buildroot/share/atom/create_custom_upload_command_CDC.py
monitor_speed = 250000
Expand All @@ -102,6 +104,7 @@ framework = arduino
board = at90usb1286
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
extra_scripts = pre:buildroot/share/atom/create_custom_upload_command_DFU.py
monitor_speed = 250000
Expand All @@ -118,7 +121,6 @@ framework = arduino
board = due
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
lib_ignore = TMC26XStepper
src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE>
monitor_speed = 250000
[env:DUE_USB]
Expand All @@ -127,7 +129,6 @@ framework = arduino
board = dueUSB
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
lib_ignore = TMC26XStepper
src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE>
monitor_speed = 250000
[env:DUE_debug]
Expand All @@ -139,7 +140,6 @@ build_flags = ${common.build_flags}
-funwind-tables
-mpoke-function-name
lib_deps = ${common.lib_deps}
lib_ignore = TMC26XStepper
src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE>
monitor_speed = 250000

Expand Down Expand Up @@ -195,7 +195,7 @@ board = sanguino_atmega1284p
build_flags = ${common.build_flags} -fmerge-all-constants
upload_speed = 57600
lib_deps = ${common.lib_deps}
lib_ignore = TMCStepper, TMC26XStepper
lib_ignore = TMCStepper
src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
monitor_speed = 250000

Expand All @@ -209,7 +209,7 @@ board = sanguino_atmega1284p
build_flags = ${common.build_flags}
upload_speed = 115200
lib_deps = ${common.lib_deps}
lib_ignore = TMCStepper, TMC26XStepper
lib_ignore = TMCStepper
src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
monitor_speed = 250000

Expand All @@ -223,6 +223,7 @@ board = reprap_rambo
build_flags = ${common.build_flags}
board_build.f_cpu = 16000000L
lib_deps = ${common.lib_deps}
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
monitor_speed = 250000

Expand All @@ -235,6 +236,7 @@ framework = arduino
board = sanguino_atmega644p
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
monitor_speed = 250000

Expand All @@ -247,6 +249,7 @@ framework = arduino
board = sanguino_atmega1284p
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
monitor_speed = 250000

Expand All @@ -262,7 +265,7 @@ build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
-DDEBUG_LEVEL=0
build_unflags = -std=gnu++11
lib_deps = ${common.lib_deps}
lib_ignore = U8glib-HAL, TMC26XStepper, Adafruit NeoPixel
lib_ignore = U8glib-HAL, Adafruit NeoPixel
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
monitor_speed = 250000

Expand All @@ -282,7 +285,7 @@ build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
build_unflags = -std=gnu++11
lib_deps = ${common.lib_deps}
SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
lib_ignore = TMC26XStepper, Adafruit NeoPixel
lib_ignore = Adafruit NeoPixel
lib_ldf_mode = chain
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
monitor_speed = 250000
Expand All @@ -303,7 +306,7 @@ build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
-DDEBUG_LEVEL=0
build_unflags = -std=gnu++11
lib_deps = ${common.lib_deps}
lib_ignore = TMC26XStepper, Adafruit NeoPixel
lib_ignore = Adafruit NeoPixel
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
monitor_speed = 115200
upload_protocol = stlink
Expand All @@ -318,7 +321,7 @@ framework = arduino
board = disco_f407vg
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F4 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel, TMCStepper, TMC26XStepper
lib_ignore = Adafruit NeoPixel, TMCStepper
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F7>
monitor_speed = 250000

Expand All @@ -331,7 +334,7 @@ framework = arduino
board = remram_v1
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F7 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel, TMCStepper, TMC26XStepper
lib_ignore = Adafruit NeoPixel, TMCStepper
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F4>
monitor_speed = 250000

Expand All @@ -344,7 +347,7 @@ framework = arduino
board = armed_v1
build_flags = ${common.build_flags} -DUSBCON -DUSBD_VID=0x0483 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="ARMED_V1"' -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -O2 -ffreestanding -fsigned-char -fno-move-loop-invariants -fno-strict-aliasing -std=gnu11 -std=gnu++11
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel, TMC26XStepper
lib_ignore = Adafruit NeoPixel
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
monitor_speed = 250000

Expand All @@ -363,7 +366,7 @@ build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel, TMC26XStepper
lib_ignore = Adafruit NeoPixel

#
# MKS Robin (STM32F103ZET6)
Expand All @@ -378,7 +381,7 @@ build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
build_unflags = -std=gnu++11
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel, TMC26XStepper
lib_ignore = Adafruit NeoPixel

#
# MKS ROBIN LITE/LITE2 (STM32F103RCT6)
Expand All @@ -393,7 +396,7 @@ build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
build_unflags = -std=gnu++11
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel, TMC26XStepper
lib_ignore = Adafruit NeoPixel

#
# MKS Robin Mini (STM32F103VET6)
Expand All @@ -408,7 +411,7 @@ build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
build_unflags = -std=gnu++11
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel, TMC26XStepper
lib_ignore = Adafruit NeoPixel

#
# MKS Robin Nano (STM32F103VET6)
Expand All @@ -423,7 +426,7 @@ build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
build_unflags = -std=gnu++11
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel, TMC26XStepper
lib_ignore = Adafruit NeoPixel

#
# JGAurora A5S A1 (STM32F103ZET6)
Expand All @@ -438,7 +441,7 @@ build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
build_unflags = -std=gnu++11
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel, TMC26XStepper
lib_ignore = Adafruit NeoPixel
monitor_speed = 250000

#
Expand All @@ -454,7 +457,7 @@ extra_scripts = pre:buildroot/share/PlatformIO/scripts/black_stm32f407vet6.py
build_flags = ${common.build_flags}
-DSTM32F4 -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"BLACK_F407VE\"
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel, TMCStepper, TMC26XStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
lib_ignore = Adafruit NeoPixel, TMCStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
monitor_speed = 250000

Expand All @@ -470,7 +473,7 @@ build_flags = ${common.build_flags}
-DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
-DTARGET_STM32F4 -DSTM32F407_5ZX -DVECT_TAB_OFFSET=0x8000 -DHAVE_HWSERIAL6
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel, TMC26XStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
lib_ignore = Adafruit NeoPixel, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
monitor_speed = 250000

Expand All @@ -483,6 +486,7 @@ framework = arduino
board = teensy31
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
lib_ignore = Adafruit NeoPixel
src_filter = ${common.default_src_filter} +<src/HAL/HAL_TEENSY31_32>
monitor_speed = 250000
Expand All @@ -496,6 +500,7 @@ framework = arduino
board = teensy35
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
lib_ignore = Adafruit NeoPixel
src_filter = ${common.default_src_filter} +<src/HAL/HAL_TEENSY35_36>
monitor_speed = 250000
Expand Down Expand Up @@ -539,6 +544,7 @@ board = fysetc_f6_13
build_flags = ${common.build_flags}
board_build.f_cpu = 16000000L
lib_deps = ${common.lib_deps}
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
monitor_speed = 250000

Expand Down Expand Up @@ -566,6 +572,6 @@ framework = arduino
build_flags = ${common.build_flags} -std=gnu++17
build_unflags = -std=gnu++11
lib_deps = ${common.lib_deps}
lib_ignore = U8glib-HAL, TMC26XStepper
lib_ignore = U8glib-HAL
src_filter = ${common.default_src_filter} +<src/HAL/HAL_SAMD51>
debug_tool = jlink

0 comments on commit 08434b3

Please sign in to comment.