Update HAL/STM32 platform to 8.0 (#18496)
This commit is contained in:
		@@ -21,7 +21,7 @@
 | 
			
		||||
 */
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#ifndef TARGET_STM32F4
 | 
			
		||||
#ifndef STM32F4
 | 
			
		||||
  #error "Oops! Select an STM32F4 board in 'Tools > Board.'"
 | 
			
		||||
#elif HOTENDS > 1 || E_STEPPERS > 1
 | 
			
		||||
  #error "BIGTREE BTT002 V1.0 supports up to 1 hotends / E-steppers."
 | 
			
		||||
 
 | 
			
		||||
@@ -21,7 +21,7 @@
 | 
			
		||||
 */
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#ifndef TARGET_STM32F4
 | 
			
		||||
#ifndef STM32F4
 | 
			
		||||
  #error "Oops! Select an STM32F4 board in 'Tools > Board.'"
 | 
			
		||||
#elif HOTENDS > 8 || E_STEPPERS > 8
 | 
			
		||||
  #error "BIGTREE GTR V1.0 supports up to 8 hotends / E-steppers."
 | 
			
		||||
 
 | 
			
		||||
@@ -21,7 +21,7 @@
 | 
			
		||||
 */
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#ifndef TARGET_STM32F4
 | 
			
		||||
#ifndef STM32F4
 | 
			
		||||
  #error "Oops! Select an STM32F4 board in 'Tools > Board.'"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -42,11 +42,12 @@
 | 
			
		||||
// Configure Timers
 | 
			
		||||
// TIM6 is used for TONE
 | 
			
		||||
// TIM7 is used for SERVO
 | 
			
		||||
// TIMER_SERIAL defaults to TIM7 so we'll override it here
 | 
			
		||||
//
 | 
			
		||||
#define STEP_TIMER                            10
 | 
			
		||||
#define TEMP_TIMER                            14
 | 
			
		||||
#define TIMER_SERIAL                        TIM9
 | 
			
		||||
// TIMER_SERIAL defaults to TIM7 and must be overridden in the platformio.h file if SERVO will also be used.
 | 
			
		||||
//              This will be difficult to solve from the Arduino IDE, without modifying the RUMBA32 variant
 | 
			
		||||
//              included with the STM32 framework.
 | 
			
		||||
 | 
			
		||||
#define STEP_TIMER 10
 | 
			
		||||
#define TEMP_TIMER 14
 | 
			
		||||
#define HAL_TIMER_RATE                     F_CPU
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user