|
|
@ -57,9 +57,8 @@
|
|
|
|
* TIM14 - TEMP_TIMER (Marlin)
|
|
|
|
* TIM14 - TEMP_TIMER (Marlin)
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#define STEP_TIMER 4
|
|
|
|
#define STEP_TIMER 4
|
|
|
|
#define TEMP_TIMER 14
|
|
|
|
#define TEMP_TIMER 14
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* These pin assignments are arbitrary and intending for testing purposes.
|
|
|
|
* These pin assignments are arbitrary and intending for testing purposes.
|
|
|
@ -78,7 +77,7 @@
|
|
|
|
* GND | · · | PD2 (SERVO0_PIN) PB4 | · · | PF12 (LCD_RS)
|
|
|
|
* GND | · · | PD2 (SERVO0_PIN) PB4 | · · | PF12 (LCD_RS)
|
|
|
|
* GND | · · | PG2  ̄ ̄ ̄
|
|
|
|
* GND | · · | PG2  ̄ ̄ ̄
|
|
|
|
* VIN | · · | PG3
|
|
|
|
* VIN | · · | PG3
|
|
|
|
_*  ̄ ̄ ̄ _CN10
|
|
|
|
*  ̄ ̄ ̄ _CN10
|
|
|
|
* AVDD | · · | PF13 (BTN_EN1)
|
|
|
|
* AVDD | · · | PF13 (BTN_EN1)
|
|
|
|
* _CN9_ AGND | · · | PE9 (BTN_EN2)
|
|
|
|
* _CN9_ AGND | · · | PE9 (BTN_EN2)
|
|
|
|
* (TEMP_0) PA3 | · · | PD7 GND | · · | PE11 (BTN_ENC)
|
|
|
|
* (TEMP_0) PA3 | · · | PD7 GND | · · | PE11 (BTN_ENC)
|
|
|
@ -152,13 +151,13 @@ _*  ̄ ̄ ̄ _CN10
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Heaters / Fans
|
|
|
|
// Heaters / Fans
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#define HEATER_0_PIN PA15 // PWM Capable, TIM2_CH1
|
|
|
|
#define HEATER_0_PIN PA15 // PWM Capable, TIM2_CH1
|
|
|
|
#define HEATER_BED_PIN PB3 // PWM Capable, TIM2_CH2
|
|
|
|
#define HEATER_BED_PIN PB3 // PWM Capable, TIM2_CH2
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef FAN_PIN
|
|
|
|
#ifndef FAN_PIN
|
|
|
|
#define FAN_PIN PB10 // PWM Capable, TIM2_CH3
|
|
|
|
#define FAN_PIN PB10 // PWM Capable, TIM2_CH3
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#define FAN1_PIN PB11 // PWM Capable, TIM2_CH4
|
|
|
|
#define FAN1_PIN PB11 // PWM Capable, TIM2_CH4
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef E0_AUTO_FAN_PIN
|
|
|
|
#ifndef E0_AUTO_FAN_PIN
|
|
|
|
#define E0_AUTO_FAN_PIN FAN1_PIN
|
|
|
|
#define E0_AUTO_FAN_PIN FAN1_PIN
|
|
|
@ -167,8 +166,8 @@ _*  ̄ ̄ ̄ _CN10
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Servos
|
|
|
|
// Servos
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#define SERVO0_PIN PB4 // PWM Capable, TIM3_CH1
|
|
|
|
#define SERVO0_PIN PB4 // PWM Capable, TIM3_CH1
|
|
|
|
#define SERVO1_PIN PB5 // PWM Capable, TIM3_CH2
|
|
|
|
#define SERVO1_PIN PB5 // PWM Capable, TIM3_CH2
|
|
|
|
|
|
|
|
|
|
|
|
// SPI for external SD Card (Not entirely sure this will work)
|
|
|
|
// SPI for external SD Card (Not entirely sure this will work)
|
|
|
|
#define SCK_PIN PA5
|
|
|
|
#define SCK_PIN PA5
|
|
|
@ -177,13 +176,13 @@ _*  ̄ ̄ ̄ _CN10
|
|
|
|
#define SS_PIN PA4
|
|
|
|
#define SS_PIN PA4
|
|
|
|
#define SDSS PA4
|
|
|
|
#define SDSS PA4
|
|
|
|
|
|
|
|
|
|
|
|
#define LED_PIN LED_BLUE
|
|
|
|
#define LED_PIN LED_BLUE
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// LCD / Controller
|
|
|
|
// LCD / Controller
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#if IS_RRD_FG_SC
|
|
|
|
#if IS_RRD_FG_SC
|
|
|
|
#define BEEPER_PIN PC7 // LCD_BEEPER
|
|
|
|
#define BEEPER_PIN PC7 // LCD_BEEPER
|
|
|
|
#define BTN_ENC PE11 // BTN_ENC
|
|
|
|
#define BTN_ENC PE11 // BTN_ENC
|
|
|
|
#define SD_DETECT_PIN PD14
|
|
|
|
#define SD_DETECT_PIN PD14
|
|
|
|
#define LCD_PINS_RS PF12 // LCD_RS
|
|
|
|
#define LCD_PINS_RS PF12 // LCD_RS
|
|
|
@ -193,7 +192,7 @@ _*  ̄ ̄ ̄ _CN10
|
|
|
|
// #define LCD_PINS_D6
|
|
|
|
// #define LCD_PINS_D6
|
|
|
|
// #define LCD_PINS_D7
|
|
|
|
// #define LCD_PINS_D7
|
|
|
|
#define BTN_EN1 PF13 // BTN_EN1
|
|
|
|
#define BTN_EN1 PF13 // BTN_EN1
|
|
|
|
#define BTN_EN2 PE9 // BTN_EN2
|
|
|
|
#define BTN_EN2 PE9 // BTN_EN2
|
|
|
|
|
|
|
|
|
|
|
|
#define BOARD_ST7920_DELAY_1 DELAY_NS(125)
|
|
|
|
#define BOARD_ST7920_DELAY_1 DELAY_NS(125)
|
|
|
|
#define BOARD_ST7920_DELAY_2 DELAY_NS(63)
|
|
|
|
#define BOARD_ST7920_DELAY_2 DELAY_NS(63)
|
|
|
|