marlin bugfix + SKR + BLTOUCH
This commit is contained in:
@@ -29,7 +29,7 @@ extra_scripts = pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py
|
||||
build_flags = -fmax-errors=5 -g -D__MARLIN_FIRMWARE__ -fmerge-all-constants
|
||||
lib_deps =
|
||||
LiquidCrystal
|
||||
TMCStepper@>=0.6.2
|
||||
TMCStepper@>=0.7.0
|
||||
Adafruit MAX31865 library@>=1.1,<1.2
|
||||
Adafruit NeoPixel
|
||||
U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
|
||||
@@ -320,7 +320,7 @@ board = nxp_lpc1769
|
||||
#
|
||||
# HAL/STM32 Base Environment values
|
||||
#
|
||||
[base_stm32]
|
||||
[common_stm32]
|
||||
platform = ststm32@<6.2.0
|
||||
platform_packages = framework-arduinoststm32@>=4.10700,<4.10800
|
||||
lib_deps = ${common.lib_deps}
|
||||
@@ -328,17 +328,11 @@ lib_ignore = SoftwareSerial
|
||||
build_flags = ${common.build_flags}
|
||||
-IMarlin/src/HAL/STM32 -std=gnu++14
|
||||
-DUSBCON -DUSBD_USE_CDC
|
||||
-DUSBD_VID=0x0483
|
||||
-DTIM_IRQ_PRIO=13
|
||||
build_unflags = -std=gnu++11
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/STM32>
|
||||
|
||||
#
|
||||
# HAL/STM32 Common Environment values
|
||||
#
|
||||
[common_stm32]
|
||||
platform = ${base_stm32.platform}
|
||||
extends = base_stm32
|
||||
build_flags = ${base_stm32.build_flags} -DUSBD_VID=0x0483
|
||||
|
||||
#
|
||||
# HAL/STM32F1 Common Environment values
|
||||
#
|
||||
@@ -550,7 +544,6 @@ extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py
|
||||
build_flags = ${common_stm32f1.build_flags}
|
||||
-DMCU_STM32F103VE -DSS_TIMER=4
|
||||
|
||||
|
||||
#
|
||||
# MKS Robin (STM32F103ZET6)
|
||||
#
|
||||
@@ -626,6 +619,23 @@ build_flags = ${common_stm32f1.build_flags}
|
||||
lib_ignore = ${common_stm32f1.lib_ignore}
|
||||
LiquidCrystal, LiquidTWI2, TMCStepper, U8glib-HAL, SoftwareSerialM
|
||||
|
||||
#
|
||||
# MKS Robin Nano (STM32F103VET6)
|
||||
#
|
||||
[env:mks_robin_nano35]
|
||||
platform = ststm32
|
||||
board = genericSTM32F103VE
|
||||
platform_packages = tool-stm32duino
|
||||
build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
||||
${common.build_flags} -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
|
||||
build_unflags = -std=gnu++11
|
||||
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano35.py
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
||||
lib_deps = ${common.lib_deps}
|
||||
SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
|
||||
MKS-LittlevGL=https://github.com/makerbase-mks/MKS-LittlevGL/archive/master.zip
|
||||
lib_ignore = Adafruit NeoPixel, SPI
|
||||
|
||||
#
|
||||
# Malyan M200 v2 (STM32F070RB)
|
||||
#
|
||||
@@ -664,6 +674,31 @@ build_flags = ${common_stm32f1.build_flags}
|
||||
build_unflags = ${common_stm32f1.build_unflags}
|
||||
-DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG= -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
||||
|
||||
#
|
||||
# Some Chitu V5 boards have a problem with GPIO init.
|
||||
# Use this target if G28 or G29 are always failing.
|
||||
#
|
||||
[env:chitu_v5_gpio_init]
|
||||
platform = ${common_stm32f1.platform}
|
||||
extends = env:chitu_f103
|
||||
build_flags = ${env:chitu_f103.build_flags} -DCHITU_V5_Z_MIN_BUGFIX
|
||||
|
||||
#
|
||||
# Creality (STM32F103RET6)
|
||||
#
|
||||
[env:STM32F103RET6_creality]
|
||||
platform = ${common_stm32f1.platform}
|
||||
extends = common_stm32f1
|
||||
board = genericSTM32F103RC
|
||||
build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
||||
${common.build_flags} -std=gnu++14 -DSTM32_XL_DENSITY -DTEMP_TIMER_CHAN=4
|
||||
extra_scripts = buildroot/share/PlatformIO/scripts/creality.py
|
||||
lib_ignore = ${common_stm32f1.lib_ignore}
|
||||
LiquidCrystal, LiquidTWI2, U8glib-HAL, Adafruit_MAX31865, Arduino-L6470, SailfishLCD, SlowSoftI2CMaster
|
||||
debug_tool = jlink
|
||||
upload_protocol = jlink
|
||||
monitor_speed = 115200
|
||||
|
||||
#
|
||||
# STM32F401VE
|
||||
# 'STEVAL-3DP001V1' STM32F401VE board - https://www.st.com/en/evaluation-tools/steval-3dp001v1.html
|
||||
@@ -773,13 +808,12 @@ lib_ignore = Adafruit NeoPixel, SailfishLCD, SlowSoftI2CMaster, SoftwareS
|
||||
#
|
||||
# RUMBA32
|
||||
#
|
||||
|
||||
[common_rumba32]
|
||||
platform = ${base_stm32.platform}
|
||||
extends = base_stm32
|
||||
build_flags = ${base_stm32.build_flags} -Os
|
||||
-DSTM32F4xx -DARDUINO_RUMBA32_F446VE -DARDUINO_ARCH_STM32 "-DBOARD_NAME=\"RUMBA32_F446VE\""
|
||||
-DSTM32F446xx "-DUSB_PRODUCT=\"RUMBA32_F446VE\""
|
||||
[env:rumba32]
|
||||
platform = ${common_stm32.platform}
|
||||
extends = common_stm32
|
||||
build_flags = ${common_stm32.build_flags}
|
||||
-Os
|
||||
"-DUSB_PRODUCT=\"RUMBA32\""
|
||||
-DHAL_PCD_MODULE_ENABLED
|
||||
-DDISABLE_GENERIC_SERIALUSB
|
||||
-DHAL_UART_MODULE_ENABLED
|
||||
@@ -787,22 +821,6 @@ board = rumba32_f446ve
|
||||
upload_protocol = dfu
|
||||
monitor_speed = 500000
|
||||
|
||||
#
|
||||
# RUMBA32 F446VE
|
||||
#
|
||||
[env:rumba32_f446ve]
|
||||
platform = ${common_rumba32.platform}
|
||||
extends = common_rumba32
|
||||
build_flags = ${common_rumba32.build_flags} -DUSBD_VID=0x0483
|
||||
|
||||
#
|
||||
# MKS RUMBA32 (adds TMC2208/2209 UART interface and AUX-1)
|
||||
#
|
||||
[env:rumba32_mks]
|
||||
platform = ${common_rumba32.platform}
|
||||
extends = common_rumba32
|
||||
build_flags = ${common_rumba32.build_flags} -DUSBD_VID=0x8000
|
||||
|
||||
#################################
|
||||
# #
|
||||
# Other Architectures #
|
||||
|
||||
Reference in New Issue
Block a user