Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add support for Big Tree Tech's Manta E3EZ board #626

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions config/mcu_definitions/main/BTT_Manta_E3EZ_v1.0.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[board_pins mcu_manufacturer]
aliases:
MCU_M1_STEP=PA14, MCU_M1_DIR=PA10, MCU_M1_EN=PA13, MCU_M1_CS=PB8,
MCU_M2_STEP=PC8, MCU_M2_DIR=PA15, MCU_M2_EN=PC14, MCU_M2_CS=PC9,
MCU_M3_STEP=PD2, MCU_M3_DIR=PD4, MCU_M3_EN=PD3, MCU_M3_CS=PD0,
MCU_M4_STEP=PD5, MCU_M4_DIR=PD6, MCU_M4_EN=PB3, MCU_M4_CS=PD1,
MCU_M5_STEP=PB7, MCU_M5_DIR=PB6, MCU_M5_EN=PB4, MCU_M5_CS=PB5,

MCU_M1_STOP=PC4, MCU_M2_STOP=PB0, MCU_M3_STOP=PC6, MCU_M4_STOP=PC5, MCU_M5_STOP=PB1,

MCU_HE0=PB11 , MCU_HE1=PB10 ,

MCU_BED_OUT=PB2 ,

MCU_THB=PA3 , MCU_TH0=PA4 , MCU_TH1=PA5 ,

MCU_FAN0=PA8 , MCU_FAN1=PB15 , MCU_FAN2=PB14 ,

MCU_RGB1=PC7 ,

MCU_PROBE1=PA6 , MCU_PROBE2=PA7 ,

MCU_PS_ON=PA9 ,
MCU_POWER_DET=PB9 ,


MCU_SPI3_MOSI=PC12 , MCU_SPI3_MISO=PC11 , MCU_SPI3_SCK=PC10 , MCU_SPI3_CS=PC15 ,


# EXP1 header
EXP1_1=PC1 , EXP1_2=PC2 ,
EXP1_3=PC3 , EXP1_4=RST ,
EXP1_5=PC0 , EXP1_6=PA0 , # Slot in the socket on this side
EXP1_7=PA2 , EXP1_8=PA1 ,
EXP1_9=<GND> , EXP1_10=<5V> ,


45 changes: 45 additions & 0 deletions user_templates/mcu_defaults/main/BTT_Manta_E3EZ_v1.0.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#--------------------------------------------#
#### BTT MANTA E3EZ v1.0 MCU definition #####
#--------------------------------------------#
[mcu]
##--------------------------------------------------------------------
# This board works by using a serial connection by default. If you
# want to use CAN, invert the commented lines and use canbus_uuid.

#serial: /dev/serial/by-id/change-me-to-the-correct-mcu-path
# canbus_uuid: change-me-to-the-correct-canbus-id
##--------------------------------------------------------------------

[include config/mcu_definitions/main/BTT_Manta_E3EZ_v1.0.cfg] # Do not remove this line
[board_pins mantam5p10_mcu]
mcu: mcu
aliases:
X_STEP=MCU_M1_STEP , X_DIR=MCU_M1_DIR , X_ENABLE=MCU_M1_EN , X_TMCUART=MCU_M1_CS ,
Y_STEP=MCU_M2_STEP , Y_DIR=MCU_M2_DIR , Y_ENABLE=MCU_M2_EN , Y_TMCUART=MCU_M2_CS ,

Z_STEP=MCU_M3_STEP , Z_DIR=MCU_M3_DIR , Z_ENABLE=MCU_M3_EN , Z_TMCUART=MCU_M3_CS ,
Z1_STEP=MCU_M4_STEP , Z1_DIR=MCU_M4_DIR , Z1_ENABLE=MCU_M4_EN , Z1_TMCUART=MCU_M4_CS ,
Z2_STEP=MCU_M5_STEP , Z2_DIR=MCU_M5_DIR , Z2_ENABLE=MCU_M5_EN , Z2_TMCUART=MCU_M5_CS ,

E_STEP=MCU_M5_STEP , E_DIR=MCU_M5_DIR , E_ENABLE=MCU_M5_EN , E_TMCUART=MCU_M5_CS ,

DRIVER_SPI_MOSI=MCU_SPI3_MOSI , # Used in case of SPI drivers such as TMC2240 or TMC5160
DRIVER_SPI_MISO=MCU_SPI3_MISO , # Used in case of SPI drivers such as TMC2240 or TMC5160
DRIVER_SPI_SCK=MCU_SPI3_SCK , # Used in case of SPI drivers such as TMC2240 or TMC5160

X_STOP=MCU_M1_STOP , Y_STOP=MCU_M2_STOP , Z_STOP=MCU_M3_STOP ,
PROBE_INPUT=MCU_PROBE2 ,
RUNOUT_SENSOR=MCU_M4_STOP ,

E_HEATER=MCU_HE0 , E_TEMPERATURE=MCU_TH0 ,
BED_HEATER=MCU_BED_OUT , BED_TEMPERATURE=MCU_THB ,

FILTER_FAN=MCU_FAN0 ,
CONTROLLER_FAN=MCU_FAN1 ,

CHAMBER_TEMPERATURE=MCU_TH1 ,

LIGHT_OUTPUT=MCU_HE1 ,
STATUS_NEOPIXEL=MCU_RGB1 ,

SERVO_PIN=MCU_PROBE1 ,