Bladeren bron

Format Nucleo F767ZI pins

Scott Lahteine 4 jaren geleden
bovenliggende
commit
00fbe50bbe
1 gewijzigde bestanden met toevoegingen van 12 en 13 verwijderingen
  1. 12
    13
      Marlin/src/pins/stm32f7/pins_NUCLEO_F767ZI.h

+ 12
- 13
Marlin/src/pins/stm32f7/pins_NUCLEO_F767ZI.h Bestand weergeven

57
  * TIM14 - TEMP_TIMER (Marlin)
57
  * TIM14 - TEMP_TIMER (Marlin)
58
  *
58
  *
59
  */
59
  */
60
-#define STEP_TIMER 4
61
-#define TEMP_TIMER 14
62
-
60
+#define STEP_TIMER                             4
61
+#define TEMP_TIMER                            14
63
 
62
 
64
 /**
63
 /**
65
  * These pin assignments are arbitrary and intending for testing purposes.
64
  * These pin assignments are arbitrary and intending for testing purposes.
78
  *            GND | · · | PD2               (SERVO0_PIN) PB4 | · · | PF12 (LCD_RS)
77
  *            GND | · · | PD2               (SERVO0_PIN) PB4 | · · | PF12 (LCD_RS)
79
  *            GND | · · | PG2                                  ̄ ̄ ̄
78
  *            GND | · · | PG2                                  ̄ ̄ ̄
80
  *            VIN | · · | PG3
79
  *            VIN | · · | PG3
81
-_*                  ̄ ̄ ̄                                      _CN10
80
+ *                  ̄ ̄ ̄                                      _CN10
82
  *                                                      AVDD | · · | PF13 (BTN_EN1)
81
  *                                                      AVDD | · · | PF13 (BTN_EN1)
83
  *                 _CN9_                                AGND | · · | PE9  (BTN_EN2)
82
  *                 _CN9_                                AGND | · · | PE9  (BTN_EN2)
84
  *   (TEMP_0) PA3 | · · | PD7                            GND | · · | PE11 (BTN_ENC)
83
  *   (TEMP_0) PA3 | · · | PD7                            GND | · · | PE11 (BTN_ENC)
152
 //
151
 //
153
 // Heaters / Fans
152
 // Heaters / Fans
154
 //
153
 //
155
-#define HEATER_0_PIN                        PA15 // PWM Capable, TIM2_CH1
156
-#define HEATER_BED_PIN                      PB3  // PWM Capable, TIM2_CH2
154
+#define HEATER_0_PIN                        PA15  // PWM Capable, TIM2_CH1
155
+#define HEATER_BED_PIN                      PB3   // PWM Capable, TIM2_CH2
157
 
156
 
158
 #ifndef FAN_PIN
157
 #ifndef FAN_PIN
159
-  #define FAN_PIN                           PB10 // PWM Capable, TIM2_CH3
158
+  #define FAN_PIN                           PB10  // PWM Capable, TIM2_CH3
160
 #endif
159
 #endif
161
-#define FAN1_PIN                            PB11 // PWM Capable, TIM2_CH4
160
+#define FAN1_PIN                            PB11  // PWM Capable, TIM2_CH4
162
 
161
 
163
 #ifndef E0_AUTO_FAN_PIN
162
 #ifndef E0_AUTO_FAN_PIN
164
   #define E0_AUTO_FAN_PIN               FAN1_PIN
163
   #define E0_AUTO_FAN_PIN               FAN1_PIN
167
 //
166
 //
168
 // Servos
167
 // Servos
169
 //
168
 //
170
-#define SERVO0_PIN                          PB4 // PWM Capable, TIM3_CH1
171
-#define SERVO1_PIN                          PB5 // PWM Capable, TIM3_CH2
169
+#define SERVO0_PIN                          PB4   // PWM Capable, TIM3_CH1
170
+#define SERVO1_PIN                          PB5   // PWM Capable, TIM3_CH2
172
 
171
 
173
 // SPI for external SD Card (Not entirely sure this will work)
172
 // SPI for external SD Card (Not entirely sure this will work)
174
 #define SCK_PIN                             PA5
173
 #define SCK_PIN                             PA5
177
 #define SS_PIN                              PA4
176
 #define SS_PIN                              PA4
178
 #define SDSS                                PA4
177
 #define SDSS                                PA4
179
 
178
 
180
-#define LED_PIN                             LED_BLUE
179
+#define LED_PIN                         LED_BLUE
181
 
180
 
182
 //
181
 //
183
 // LCD / Controller
182
 // LCD / Controller
184
 //
183
 //
185
 #if IS_RRD_FG_SC
184
 #if IS_RRD_FG_SC
186
-  #define BEEPER_PIN                        PC7  // LCD_BEEPER
185
+  #define BEEPER_PIN                        PC7   // LCD_BEEPER
187
   #define BTN_ENC                           PE11  // BTN_ENC
186
   #define BTN_ENC                           PE11  // BTN_ENC
188
   #define SD_DETECT_PIN                     PD14
187
   #define SD_DETECT_PIN                     PD14
189
   #define LCD_PINS_RS                       PF12  // LCD_RS
188
   #define LCD_PINS_RS                       PF12  // LCD_RS
193
   // #define LCD_PINS_D6
192
   // #define LCD_PINS_D6
194
   // #define LCD_PINS_D7
193
   // #define LCD_PINS_D7
195
   #define BTN_EN1                           PF13  // BTN_EN1
194
   #define BTN_EN1                           PF13  // BTN_EN1
196
-  #define BTN_EN2                           PE9  // BTN_EN2
195
+  #define BTN_EN2                           PE9   // BTN_EN2
197
 
196
 
198
   #define BOARD_ST7920_DELAY_1  DELAY_NS(125)
197
   #define BOARD_ST7920_DELAY_1  DELAY_NS(125)
199
   #define BOARD_ST7920_DELAY_2  DELAY_NS(63)
198
   #define BOARD_ST7920_DELAY_2  DELAY_NS(63)

Laden…
Annuleren
Opslaan