From d825ff8447b082f0fcae2b025ee8b506a18b43fa Mon Sep 17 00:00:00 2001 From: Jack Anderson Date: Sat, 15 Jul 2023 08:23:58 -0500 Subject: [PATCH 1/2] add filament warning sensor pins to octopus max --- .../mcu_defaults/main/BTT_Octopus_Max.cfg | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 user_templates/mcu_defaults/main/BTT_Octopus_Max.cfg diff --git a/user_templates/mcu_defaults/main/BTT_Octopus_Max.cfg b/user_templates/mcu_defaults/main/BTT_Octopus_Max.cfg new file mode 100644 index 000000000..9205dad94 --- /dev/null +++ b/user_templates/mcu_defaults/main/BTT_Octopus_Max.cfg @@ -0,0 +1,46 @@ + +#------------------------------------------# +#### BTT Octopus Max MCU definition ######## +#------------------------------------------# + +[mcu] +##-------------------------------------------------------------------- +# This board work 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_Octopus_Max.cfg] # Do not remove this line +[board_pins octopus_max_mcu] +mcu: mcu +aliases: + X_STEP=MCU_MOTOR0_STEP , X_DIR=MCU_MOTOR0_DIR , X_ENABLE=MCU_MOTOR0_ENABLE , X_TMCUART=MCU_MOTOR0_UART , + Y_STEP=MCU_MOTOR1_STEP , Y_DIR=MCU_MOTOR1_DIR , Y_ENABLE=MCU_MOTOR1_ENABLE , Y_TMCUART=MCU_MOTOR1_UART , + + Z_STEP=MCU_MOTOR2_1_STEP , Z_DIR=MCU_MOTOR2_1_DIR , Z_ENABLE=MCU_MOTOR2_1_ENABLE , Z_TMCUART=MCU_MOTOR2_1_UART , + Z1_STEP=MCU_MOTOR3_STEP , Z1_DIR=MCU_MOTOR3_DIR , Z1_ENABLE=MCU_MOTOR3_ENABLE , Z1_TMCUART=MCU_MOTOR3_UART , + Z2_STEP=MCU_MOTOR4_STEP , Z2_DIR=MCU_MOTOR4_DIR , Z2_ENABLE=MCU_MOTOR4_ENABLE , Z2_TMCUART=MCU_MOTOR4_UART , + Z3_STEP=MCU_MOTOR5_STEP , Z3_DIR=MCU_MOTOR5_DIR , Z3_ENABLE=MCU_MOTOR5_ENABLE , Z3_TMCUART=MCU_MOTOR5_UART , + + E_STEP=MCU_MOTOR6_STEP , E_DIR=MCU_MOTOR6_DIR , E_ENABLE=MCU_MOTOR6_ENABLE , E_TMCUART=MCU_MOTOR6_UART , + + X_STOP=MCU_STOP0 , Y_STOP=MCU_STOP1 , Z_STOP=MCU_STOP2 , + PROBE_INPUT=MCU_STOP7 , + RUNOUT_SENSOR=MCU_FWS0 , + + E_HEATER=MCU_HE0 , E_TEMPERATURE=MCU_T0 , + BED_HEATER=MCU_HE1 , BED_TEMPERATURE=MCU_TB , + + PART_FAN=MCU_FAN0 , E_FAN=MCU_FAN1 , + CONTROLLER_FAN=MCU_FAN2 , + EXHAUST_FAN=MCU_FAN3 , + FILTER_FAN=MCU_FAN4 , HOST_CONTROLLER_FAN=MCU_FAN5 , + + CHAMBER_TEMPERATURE=MCU_T1 , ELECTRICAL_CABINET_TEMPERATURE=MCU_T2 , + + LIGHT_OUTPUT=MCU_HE2 , + LIGHT_NEOPIXEL=MCU_STOP5 , + STATUS_NEOPIXEL=MCU_NEOPIXEL , + From 9bb1adc777254629b97d51976c32f1d6c145d5c5 Mon Sep 17 00:00:00 2001 From: Jack Anderson Date: Sat, 15 Jul 2023 08:24:17 -0500 Subject: [PATCH 2/2] add btt octopus max template --- config/mcu_definitions/main/BTT_Octopus_Max.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/config/mcu_definitions/main/BTT_Octopus_Max.cfg b/config/mcu_definitions/main/BTT_Octopus_Max.cfg index c82a8201c..71a7b2d1e 100644 --- a/config/mcu_definitions/main/BTT_Octopus_Max.cfg +++ b/config/mcu_definitions/main/BTT_Octopus_Max.cfg @@ -32,6 +32,7 @@ aliases: MCU_NEOPIXEL2=PE9 , MCU_PS_ON=PF13 , MCU_POWER_DET=PF12 , + MCU_FWS0=PC0 , MCU_FWS1=PF10 # EXP1 header EXP1_1=PG2 , EXP1_2=PD15 ,