✨ BTT Octopus Pro V1.0 (STM32F446ZET6) (#22971)
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							a7415a052e
						
					
				
				
					commit
					908335367e
				
			@@ -619,6 +619,8 @@
 | 
			
		||||
  #include "stm32f4/pins_BTT_OCTOPUS_V1_0.h"    // STM32F4                                env:BIGTREE_OCTOPUS_V1 env:BIGTREE_OCTOPUS_V1_USB
 | 
			
		||||
#elif MB(BTT_OCTOPUS_V1_1)
 | 
			
		||||
  #include "stm32f4/pins_BTT_OCTOPUS_V1_1.h"    // STM32F4                                env:BIGTREE_OCTOPUS_V1 env:BIGTREE_OCTOPUS_V1_USB
 | 
			
		||||
#elif MB(BTT_OCTOPUS_PRO_V1_0)
 | 
			
		||||
  #include "stm32f4/pins_BTT_OCTOPUS_PRO_V1_0.h" // STM32F4                               env:BIGTREE_OCTOPUS_V1 env:BIGTREE_OCTOPUS_V1_USB
 | 
			
		||||
#elif MB(LERDGE_K)
 | 
			
		||||
  #include "stm32f4/pins_LERDGE_K.h"            // STM32F4                                env:LERDGEK env:LERDGEK_usb_flash_drive
 | 
			
		||||
#elif MB(LERDGE_S)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										39
									
								
								Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_PRO_V1_0.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_PRO_V1_0.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,39 @@
 | 
			
		||||
/**
 | 
			
		||||
 * Marlin 3D Printer Firmware
 | 
			
		||||
 * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
 | 
			
		||||
 *
 | 
			
		||||
 * Based on Sprinter and grbl.
 | 
			
		||||
 * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
 | 
			
		||||
 *
 | 
			
		||||
 * This program is free software: you can redistribute it and/or modify
 | 
			
		||||
 * it under the terms of the GNU General Public License as published by
 | 
			
		||||
 * the Free Software Foundation, either version 3 of the License, or
 | 
			
		||||
 * (at your option) any later version.
 | 
			
		||||
 *
 | 
			
		||||
 * This program is distributed in the hope that it will be useful,
 | 
			
		||||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
 * GNU General Public License for more details.
 | 
			
		||||
 *
 | 
			
		||||
 * You should have received a copy of the GNU General Public License
 | 
			
		||||
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 | 
			
		||||
 *
 | 
			
		||||
 */
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define BOARD_INFO_NAME "BTT OCTOPUS PRO V1.0"
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Temperature Sensors
 | 
			
		||||
//
 | 
			
		||||
#if TEMP_SENSOR_0 == -5
 | 
			
		||||
  #define TEMP_0_CS_PIN                     PF8   // Max31865 CS
 | 
			
		||||
  #define TEMP_0_SCK_PIN                    PA5
 | 
			
		||||
  #define TEMP_0_MISO_PIN                   PA6
 | 
			
		||||
  #define TEMP_0_MOSI_PIN                   PA7
 | 
			
		||||
  #define SOFTWARE_SPI                            // Max31865 and LCD SD share a set of SPIs, Set SD to softwareSPI for Max31865
 | 
			
		||||
#else
 | 
			
		||||
  #define TEMP_0_PIN                        PF4   // TH0
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "pins_BTT_OCTOPUS_V1_common.h"
 | 
			
		||||
@@ -23,4 +23,13 @@
 | 
			
		||||
 | 
			
		||||
#define BOARD_INFO_NAME "BTT OCTOPUS V1.0"
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Temperature Sensors
 | 
			
		||||
//
 | 
			
		||||
#if TEMP_SENSOR_0 == 20
 | 
			
		||||
  #define TEMP_0_PIN                        PF8   // PT100 Connector
 | 
			
		||||
#else
 | 
			
		||||
  #define TEMP_0_PIN                        PF4   // TH0
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "pins_BTT_OCTOPUS_V1_common.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -23,4 +23,13 @@
 | 
			
		||||
 | 
			
		||||
#define BOARD_INFO_NAME "BTT OCTOPUS V1.1"
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Temperature Sensors
 | 
			
		||||
//
 | 
			
		||||
#if TEMP_SENSOR_0 == 20
 | 
			
		||||
  #define TEMP_0_PIN                        PF8   // PT100 Connector
 | 
			
		||||
#else
 | 
			
		||||
  #define TEMP_0_PIN                        PF4   // TH0
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "pins_BTT_OCTOPUS_V1_common.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -61,7 +61,11 @@
 | 
			
		||||
// Z Probe (when not Z_MIN_PIN)
 | 
			
		||||
//
 | 
			
		||||
#ifndef Z_MIN_PROBE_PIN
 | 
			
		||||
  #define Z_MIN_PROBE_PIN                   PB7
 | 
			
		||||
  #if ENABLED(BLTOUCH)
 | 
			
		||||
    #define Z_MIN_PROBE_PIN                 PB7
 | 
			
		||||
  #else
 | 
			
		||||
    #define Z_MIN_PROBE_PIN                 PC5   // Probe (Proximity switch) port
 | 
			
		||||
  #endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
@@ -235,11 +239,6 @@
 | 
			
		||||
// Temperature Sensors
 | 
			
		||||
//
 | 
			
		||||
#define TEMP_BED_PIN                        PF3   // TB
 | 
			
		||||
#if TEMP_SENSOR_0 == 20
 | 
			
		||||
  #define TEMP_0_PIN                        PF8   // PT100 Connector
 | 
			
		||||
#else
 | 
			
		||||
  #define TEMP_0_PIN                        PF4   // TH0
 | 
			
		||||
#endif
 | 
			
		||||
#define TEMP_1_PIN                          PF5   // TH1
 | 
			
		||||
#define TEMP_2_PIN                          PF6   // TH2
 | 
			
		||||
#define TEMP_3_PIN                          PF7   // TH3
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user